|
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
leon.app.behavior.LyPanelBehavior
public abstract class LyPanelBehavior
This class implements the default behavior for actions that are controlled by a panel controller.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyPanelBehavior()
Construct a panel behavior. |
Method Summary | |
---|---|
void |
completePopupMenu(LyPanelController panelController,
LyPopupMenu menu)
Completes a popup menu before displaying it. |
LyInfoDataList<LyAction,LyClassInfo> |
getPopupMenuActions(LyPanelController panelController,
LyInfoDataList<LyAction,LyClassInfo> actions,
boolean selection)
Gets the ordered list of pairs of (action, classInfo) to display in a popup menu. |
java.lang.String |
getTitle(LyAreaController areaController,
LyAction action)
Gets title corresponding to the given action. |
boolean |
needRefresh(LyPanelController panelController,
LyObject object,
LyValueSet oldValues)
Checks if the panel needs a refresh when an object changed is received. |
LyFilter |
validateFilter(LyPanelController panelController,
LyFilter filter)
Method used to enable a filter. |
Methods inherited from class leon.app.behavior.LyActionBehavior |
---|
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, reset, startAction |
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.LyActionBehaviorInterface |
---|
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, reset, startAction |
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface |
---|
free, handleDemand, init |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyPanelBehavior()
Method Detail |
---|
public LyInfoDataList<LyAction,LyClassInfo> getPopupMenuActions(LyPanelController panelController, LyInfoDataList<LyAction,LyClassInfo> actions, boolean selection)
panelController
- Panel controller that displays the menu.actions
- List of pairs (action, classInfo) that the controller is about to
present in popup menu on current selection.selection
- Boolean indicating if popup menu is asked or not on selection.
public void completePopupMenu(LyPanelController panelController, LyPopupMenu menu)
panelController
- Panel controller that displays the menu.menu
- Popup menu built by the panel controller.public boolean needRefresh(LyPanelController panelController, LyObject object, LyValueSet oldValues)
panelController
- Panel controller that received the object change.object
- The object that changed.oldValues
- The previous values.
public java.lang.String getTitle(LyAreaController areaController, LyAction action)
getTitle
in interface LyActionBehaviorInterface
getTitle
in class LyActionBehavior
areaController
- the current LyAreaController instanceaction
- the action that was executed
public LyFilter validateFilter(LyPanelController panelController, LyFilter filter)
panelController
- Panel controller that asks for the filtering.filter
- The filter that is asked.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |