LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data
Interface LyWorkSpaceListener

All Known Subinterfaces:
LyAdvancedWorkSpaceListener
All Known Implementing Classes:
LyArrayFieldSetController, LyArrayStructFieldSetController, LyChartController, LyCompositionFieldUnitSetController, LyConsultController, LyContextListController, LyCreateController, LyCreateOrSetController, LyEditTableController, LyEditTableSetController, LyFilterController, LyFilterCriterionController, LyFilterRelationController, LyFormController, LyImportTableController, LyLabelDaemon, LyMultiClassImportController, LyMultiFilterController, LyMultiPageTableController, LyOutlineController, LyPathDaemon, LyRelationFieldFilterController._LyRelationFilterDomainController, LyRelationTableController, LyRoutedRelationDaemon, LySetController, LySimpleFilterController, LySimpleTableController, LyTableController, LyTreeController

public interface LyWorkSpaceListener

This interface is the listener interface for receiving object events on workspaces (dynamic objects list, LyWorkSpace).

Events are notified when :

See Also:
LyWorkSpace, LyWorkSpaceEvent

Field Summary
static java.lang.String __VERSION
          File version
 
Method Summary
 boolean objectAdded(LyWorkSpaceEvent event)
          Called when an object is added in the workspace.
 boolean objectChanged(LyWorkSpaceEvent event)
          Called when an object has changed in the workspace.
 boolean objectRemoved(LyWorkSpaceEvent event)
          Called when an object is removed from the workspace.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

objectAdded

boolean objectAdded(LyWorkSpaceEvent event)
Called when an object is added in the workspace.

Parameters:
event - Event notifying object add.
Returns:
True if the event is used by the listener, false otherwise.

objectRemoved

boolean objectRemoved(LyWorkSpaceEvent event)
Called when an object is removed from the workspace.

Parameters:
event - Event notifying object remove.
Returns:
True if the event is used by the listener, false otherwise.

objectChanged

boolean objectChanged(LyWorkSpaceEvent event)
Called when an object has changed in the workspace. This call notifies a change on the object concerned by the event either because its values have changed or because the sort on the workspace has changed and consequently the object position within the list has changed. These two cases can easily be distinguished by accessing the values set contained in the event (if it's not null, this is an change on the object, not a modification of the sort).

Note that object position may also change if one of the modified fields is one of the fields specified in the list sort.

Parameters:
event - Event notifying object change.
Returns:
True if the event is used by the listener, false otherwise.

(c) January 2013 - W4 S.A.

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