|
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.LyDashboardBehavior
public class LyDashboardBehavior
This class implements the default behavior for a LyDashboardController.
LyDashboardController
,
LyDashboardBehaviorInterface
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyDashboardBehavior()
Default constructor. |
Method Summary | |
---|---|
LyTab |
buildTab(LyDashboardController dashboard,
LyAreaController areaController)
Builds a tab for given area controller when the useTabs mode is active. |
void |
closeController(LyDashboardController dashboard,
LyAreaController controller)
Method called when a controller is closed in the dasboard panel. |
LyInfoList<LyAction> |
getActions(LyDashboardController dashboard,
LyInfoList<LyAction> actions)
Get the list of actions displayed in the dashboard. |
LyInfoList<LyClassInfo> |
getSearchClasses(LyDashboardController dashboard)
Get the classes list to be dispalyed in search tool. |
boolean |
isFreedOnClose(LyDashboardController dashboard,
LyAction action,
LyViewController viewController)
Indicates if the given sub view controller has to be freed when closed. |
boolean |
isFreedOnClose(LyDashboardController dashboard,
LyViewController viewController)
Deprecated. Use LyDashboardBehaviorInterface.isFreedOnClose(LyDashboardController, LyAction,
LyViewController) instead. |
void |
openController(LyDashboardController dashboard,
LyAreaController controller)
Method called when a new controller is (re)opened in the dasboard panel. |
boolean |
openNewView(LyDashboardController dashboard,
LyAction action)
Indicates if the given action has to be opened in a new view. |
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, 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, getTitle, 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 LyDashboardBehavior()
Method Detail |
---|
public boolean isFreedOnClose(LyDashboardController dashboard, LyViewController viewController)
LyDashboardBehaviorInterface.isFreedOnClose(LyDashboardController, LyAction,
LyViewController)
instead.
isFreedOnClose
in interface LyDashboardBehaviorInterface
dashboard
- Dashboard controller.viewController
- View controller.
LyDashboardBehaviorInterface.isFreedOnClose(LyDashboardController,LyAction,LyViewController)
public boolean isFreedOnClose(LyDashboardController dashboard, LyAction action, LyViewController viewController)
isFreedOnClose
in interface LyDashboardBehaviorInterface
dashboard
- Dashboard controller.action
- The action of the sub view controller.viewController
- View controller.
public boolean openNewView(LyDashboardController dashboard, LyAction action)
openNewView
in interface LyDashboardBehaviorInterface
dashboard
- Dashboard controller.action
- The action to be opened.
public void openController(LyDashboardController dashboard, LyAreaController controller)
openController
in interface LyDashboardBehaviorInterface
dashboard
- Dashboard controller.controller
- Area controller opened in the dashboard.public void closeController(LyDashboardController dashboard, LyAreaController controller)
closeController
in interface LyDashboardBehaviorInterface
dashboard
- Dashboard controller.controller
- Area controller closed in the dashboard.public LyTab buildTab(LyDashboardController dashboard, LyAreaController areaController)
buildTab
in interface LyDashboardBehaviorInterface
dashboard
- Dashboard controller.areaController
- Area controller opened in the dashboard.
public LyInfoList<LyAction> getActions(LyDashboardController dashboard, LyInfoList<LyAction> actions)
getActions
in interface LyDashboardBehaviorInterface
dashboard
- Dashboard controller.actions
- List of actions declared in the model. Can be null.
public LyInfoList<LyClassInfo> getSearchClasses(LyDashboardController dashboard)
getSearchClasses
in interface LyDashboardBehaviorInterface
dashboard
- Dashboard controller.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |