LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data
Class LyAdvancedDataSourceEvent

java.lang.Object
  extended by leon.data.LyDataSourceEvent
      extended by 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
 
Fields inherited from class leon.data.LyDataSourceEvent
LAST_TYPE, TYPE_ALL, TYPE_CREATE, TYPE_DELETE, TYPE_ERROR, TYPE_ERROR_ADDED, TYPE_ERROR_REMOVED, TYPE_SELECTION, TYPE_SET, TYPE_VISIBILITY
 
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
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

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.
Method Detail

getOldState

public short getOldState()
Gets the old state value of this event.

Returns:
the old state

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com