LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.app.behaviorinterface
Interface LyBehaviorInterface

All Known Subinterfaces:
LyActionBehaviorInterface, LyCanvasBehaviorInterface, LyChartBehaviorInterface, LyClassBehaviorInterface, LyConsultBehaviorInterface, LyCreateBehaviorInterface, LyDashboardBehaviorInterface, LyDeleteBehaviorInterface, LyEditTableBehaviorInterface, LyExportBehaviorInterface, LyFilterBehaviorInterface, LyFormBehaviorInterface, LyHiddenObjectsBehaviorInterface, LyImportBehaviorInterface, LyImportTableBehaviorInterface, LyLoginBehaviorInterface, LyMailBehaviorInterface, LyOutlineBehaviorInterface, LyPanelBehaviorInterface, LyPasswordBehaviorInterface, LyPrintBehaviorInterface, LySetBehaviorInterface, LyShowUrlBehaviorInterface, LyTabActionBehaviorInterface, LyTableBehaviorInterface, LyTextBehaviorInterface, LyTreeBaseBehaviorInterface, LyTreeBehaviorInterface, LyUserInputBehaviorInterface, LyWaitBehaviorInterface, LyWebServicesBehaviorInterface
All Known Implementing Classes:
LyActionBehavior, LyBehavior, LyCanvasBehavior, LyChangePhotoBehavior, LyChartBehavior, LyChatBehavior, LyClassBehavior, LyCommonServiceBehavior, LyDashboardBehavior, LyEditTableBehavior, LyExportBehavior, LyFindBehavior, LyHiddenObjectsBehavior, LyImportBehavior, LyImportContentBehavior, LyImportTableBehavior, LyLoginBehavior, LyMailBehavior, LyMessageBehavior, LyMetricsChartBehavior, LyMetricsPanelBehavior, LyPanelBehavior, LyPasswordBehavior, LyPrintBehavior, LyPrintModelBehavior, LySendFileBehavior, LySendObjectBehavior, LyShareSessionBehavior, LyShowUrlBehavior, LySocialBehavior, LySortWizardBehavior, LyTabActionBehavior, LyTableBehavior, LyTextBehavior, LyTreeBehavior, LyUserInputBehavior, LyWaitBehavior, LyWebServiceBehavior

public interface LyBehaviorInterface

Generic interface for all behaviors and behavior interfaces. Behaviors are used to implement a specific behavior when the default one does not fullfill all the needs. Most of time, user behavior inherits the default one, and just implement the specific parts.
There are default behaviors for most of predefined actions.


Field Summary
static java.lang.String __VERSION
          File version
 
Method Summary
 void free()
          Free this behavior.
 boolean handleDemand(LyController controller, LyDemand demand)
          Invoked when a demand is sent to this listener.
 void init(LyController controller)
          Information used within this behavior are initialized here.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

init

void init(LyController controller)
Information used within this behavior are initialized here. This method is called immediately after the behavior construction.

Parameters:
controller - The controller that requested the creation of this behavior.

free

void free()
Free this behavior. This method is provided to allow behavior to unregister itself from object sources or workspaces if needed. It should be called only by the controller that built this behavior.


handleDemand

boolean handleDemand(LyController controller,
                     LyDemand demand)
Invoked when a demand is sent to this listener.

Parameters:
controller - controller that routed the demand.
demand - demand parameters sent by the view component.
Returns:
Return true if the demand was handled, false otherwise. If false, the demand is transmitted to the controller to try to handle it.

(c) January 2013 - W4 S.A.

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