leon.data
Class LyAdvancedDataSourceEvent
java.lang.Object
leon.data.LyDataSourceEvent
leon.data.LyAdvancedDataSourceEvent
public final class LyAdvancedDataSourceEvent
- extends LyDataSourceEvent
This class implements an event of selection changed, visibility changed or state changed for an
object within a data source. The event is sent to 'registered listeners' : classes which
implements the LyAdvancedDataSourceListener interface and which were added as listener of the
dataSource.
- See Also:
LyDataSource
,
LyAdvancedDataSourceListener
Field Summary |
static java.lang.String |
__VERSION
File version |
Constructor Summary |
LyAdvancedDataSourceEvent(LyDataSource source,
short type,
java.lang.Object object,
short oldState)
Constructs a data source event of the given type with no associated values. |
Method Summary |
short |
getOldState()
Gets the old state value of this event. |
Methods inherited from class leon.data.LyDataSourceEvent |
getError, getEventInfo, getGroupId, getObject, getSource, getType, getValues, isLoading, isLocal, isNotified, setEventInfo |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- File version
- See Also:
- Constant Field Values
LyAdvancedDataSourceEvent
public LyAdvancedDataSourceEvent(LyDataSource source,
short type,
java.lang.Object object,
short oldState)
- Constructs a data source event of the given type with no associated values.
- Parameters:
source
- Transmitter which created the event.type
- Type of event which occured. One of the TYPE_XXX constants.object
- Object concerned by this notification.oldState
- The old state value of the object.
getOldState
public short getOldState()
- Gets the old state value of this event.
- Returns:
- the old state
Website: W4 S.A., contact us: support@w4global.com