|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.app.behavior.LyBehavior
leon.app.behavior.LyActionBehavior
public abstract class LyActionBehavior
This class implements the default behavior for actions that are controlled by an area controller.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyActionBehavior()
Construct a class behavior. |
Method Summary | |
---|---|
boolean |
endAction(LyAreaController areaController,
LyAction action)
Ends an action for the given controller. |
LyObjectList |
getClientContext(LyAreaController areaController,
LyObjectList context)
Gets context to set on the controllers that have the given area controller as context. |
java.lang.String |
getContextTitle(LyAreaController areaController,
LyAction action,
LyObjectList context)
Gets title corresponding to the given action and context. |
java.lang.String |
getHelpFile(LyAreaController areaController,
LyAction action)
Gets help file for the given action. |
java.lang.String |
getImage(LyAreaController areaController,
LyAction action)
Gets the image corresponding to the given object for the given controller. |
java.lang.String |
getImageTooltip(LyAreaController areaController,
LyAction action)
Gets image tooltip corresponding to the given action. |
java.lang.Object |
getKeyValue(java.lang.String key)
Retrieves a value from a registered key. |
java.lang.String |
getMenuItemImage(LyAreaController areaController,
LyAction action)
Gets the menu image corresponding to the given action for the given controller. |
java.lang.String |
getTitle(LyAreaController areaController,
LyAction action)
Gets title corresponding to the given action. |
boolean |
reset(LyAreaController areaController,
boolean full)
The controller resets its content. |
boolean |
startAction(LyAreaController areaController,
LyAction action)
Starts an action for the given controller. |
Methods inherited from class leon.app.behavior.LyBehavior |
---|
free, getSession, handleDemand, init |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface |
---|
free, handleDemand, init |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyActionBehavior()
Method Detail |
---|
public boolean startAction(LyAreaController areaController, LyAction action)
startAction
in interface LyActionBehaviorInterface
areaController
- the current LyAreaController instanceaction
- the action that will be executed
public boolean reset(LyAreaController areaController, boolean full)
reset
in interface LyActionBehaviorInterface
areaController
- the current LyAreaController instancefull
- indicates if the controller performed a full reset of its content or a
partial reset. The meaning of a full reset depends on controller
implementation.
public boolean endAction(LyAreaController areaController, LyAction action)
endAction
in interface LyActionBehaviorInterface
areaController
- the current LyAreaController instanceaction
- the action that was executed
public java.lang.String getImage(LyAreaController areaController, LyAction action)
getImage
in interface LyActionBehaviorInterface
areaController
- controller for which the image is required.action
- the action that was executed
public java.lang.String getImageTooltip(LyAreaController areaController, LyAction action)
getTitle(areaController, action)
.
getImageTooltip
in interface LyActionBehaviorInterface
areaController
- the current LyAreaController instanceaction
- the action that was executed
public java.lang.String getMenuItemImage(LyAreaController areaController, LyAction action)
getImage(areaController, action)
.
getMenuItemImage
in interface LyActionBehaviorInterface
areaController
- The controller for which the image is required.action
- The action for which the image is required
public java.lang.String getTitle(LyAreaController areaController, LyAction action)
getTitle
in interface LyActionBehaviorInterface
areaController
- the current LyAreaController instanceaction
- the action that was executed
public java.lang.String getContextTitle(LyAreaController areaController, LyAction action, LyObjectList context)
getContextTitle
in interface LyActionBehaviorInterface
areaController
- the current controller instanceaction
- the action that was executedcontext
- the action context
public java.lang.String getHelpFile(LyAreaController areaController, LyAction action)
getHelpFile
in interface LyActionBehaviorInterface
areaController
- the current controller instanceaction
- the action that was executed
public LyObjectList getClientContext(LyAreaController areaController, LyObjectList context)
getClientContext
in interface LyActionBehaviorInterface
areaController
- the current controller instance.context
- the context that is about to be set.
public java.lang.Object getKeyValue(java.lang.String key)
getKeyValue
in interface LyActionBehaviorInterface
key
- The key that must be used.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |