|
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.control.LyController
leon.control.LyAreaController
leon.control.LyPanelController
leon.control.LyTreeBaseController
public abstract class LyTreeBaseController
This class implements the basics of a tree controller. It is used to factorize code between all tree controllers. It is associated with a builder (LyTreeBuilder) and a behavior that implements LyTreeBaseBehaviorInterface. There is no default implementation of this behavior.
LyTreeBuilder
,
LyTreeBaseBehaviorInterface
,
LyTreeController
,
LyFilterEditorController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
Fields inherited from class leon.control.LyAreaController |
---|
DEFAULT_MENU_ITEM_IMAGE_SIZE, DEMAND_APPLY, DEMAND_CANCEL, DEMAND_CLOSE, DEMAND_CREATE_CHART, DEMAND_DELETE_CHART, DEMAND_DELETE_OBJECTINFOS, DEMAND_DELETE_PREFERENCE, DEMAND_UPDATE_VIEW, DEMAND_VALIDATE |
Fields inherited from class leon.control.LyController |
---|
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP |
Constructor Summary | |
---|---|
LyTreeBaseController(LySession session,
LyController parent,
LyAction action,
LyObjectList context)
Constructor. |
Method Summary | |
---|---|
void |
clearTreeContent()
Empty the tree (remove all nodes). |
LyPanel |
getPanelComponent()
Accessor to panel component. |
LyTree |
getTreeComponent()
Accessor to the Tree component (view). |
void |
updateContent()
Reset the content of the view (Nodes) The current implementation does nothing. |
void |
updateMessages()
Reset the message bar status if any The current implementation does nothing. |
void |
updateTools()
Updates the status of tools contained in the toolbar. |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getClassInfo, getComponent, getId, getImage, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, selectionDemand, setBuilder, setBuilderClass, setLastModified, setName, setUserData, showError, showError, showWarning, updateViewFromValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyTreeBaseController(LySession session, LyController parent, LyAction action, LyObjectList context)
session
- current session associated to the controller. The controller automatically
registers on the specified session.parent
- parent controller (or null for 'root' controller). Controller hierarchy
indicates a child controller (for example a dialog created from a main view)action
- related action. If an action is specified, the controller uses action
parameters (action name, action specific XML view description ...)context
- current context (may be null if the view is not contextual to a list of
objects).Method Detail |
---|
public void updateContent()
public void updateMessages()
public void updateTools()
LyPanelController
LyPanelController.updateTools()
public void clearTreeContent()
public LyTree getTreeComponent()
public LyPanel getPanelComponent()
getPanelComponent
in class LyPanelController
getTreeComponent()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |