LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data
Interface LyAdvancedDataSourceListener

All Superinterfaces:
LyDataSourceListener
All Known Implementing Classes:
LyClassWorkSpace, LyIntersectionWorkSpace, LyMultiClassWorkSpace, LyMultiWorkSpace, LyPageWorkSpace, LySimpleWorkSpace, LyStepWorkSpace, LySubWorkSpace, LyWorkSpace

public interface LyAdvancedDataSourceListener
extends LyDataSourceListener

This class extends LyDataSourceListener interface for receiving state changed and user events on objects managed in a data source.

Three types of state changed events are throw : selection changed , visibility changed and error changed.

See Also:
LyDataSourceListener, LyDataSourceEvent

Field Summary
static java.lang.String __VERSION
          File version
 
Method Summary
 boolean dataSourceEventsGrouped(java.util.ArrayList<LyDataSourceEvent> events)
          Called when grouped events are sent.
 boolean objectStateChanged(LyAdvancedDataSourceEvent event)
          Method for receiving state changes on an object.
 boolean objectUserEvent(LyAdvancedDataSourceEvent event)
          Method for receiving user event on an object.
 
Methods inherited from interface leon.data.LyDataSourceListener
objectCreated, objectDeleted, objectModified
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

objectStateChanged

boolean objectStateChanged(LyAdvancedDataSourceEvent event)
Method for receiving state changes on an object.

Parameters:
event - Event notifying the state change of an object.
Returns:
True indicating if the event was used, false otherwise.

objectUserEvent

boolean objectUserEvent(LyAdvancedDataSourceEvent event)
Method for receiving user event on an object.

Parameters:
event - Event notifying the user event of an object.
Returns:
True indicating if the event was used, false otherwise.

dataSourceEventsGrouped

boolean dataSourceEventsGrouped(java.util.ArrayList<LyDataSourceEvent> events)
Called when grouped events are sent.

Parameters:
events - Sorted list of events.
Returns:
True if the events are used by the listener, false otherwise.

(c) January 2013 - W4 S.A.

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