LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.app.behavior
Class LyCanvasBehavior

java.lang.Object
  extended by leon.app.behavior.LyBehavior
      extended by leon.app.behavior.LyActionBehavior
          extended by leon.app.behavior.LyCanvasBehavior
All Implemented Interfaces:
LyActionBehaviorInterface, LyBehaviorInterface, LyCanvasBehaviorInterface, LyGetSessionInterface

public class LyCanvasBehavior
extends LyActionBehavior
implements LyCanvasBehaviorInterface

This class implements the default behavior for actions that are controlled by a canvas controller.


Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyCanvasBehavior()
          Constructor.
 
Method Summary
 boolean handleDemand(LyController controller, LyDemand demand)
          Invoked when a demand is sent to this listener.
 
Methods inherited from class leon.app.behavior.LyActionBehavior
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from class leon.app.behavior.LyBehavior
free, getSession, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface
free, init
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyCanvasBehavior

public LyCanvasBehavior()
Constructor.

Method Detail

handleDemand

public boolean handleDemand(LyController controller,
                            LyDemand demand)
Invoked when a demand is sent to this listener. This method only traces demands on environment output when DEBUG_TRACE mode is on.

Specified by:
handleDemand in interface LyBehaviorInterface
Overrides:
handleDemand in class LyBehavior
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