|
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.LyMultiAreaController
leon.control.LyFormController
leon.control.LyOutlineController
public class LyOutlineController
Controller for the ouline view.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static java.lang.String |
DEMAND_ROW_TOOL
Demand id : Row tool. |
Fields inherited from class leon.control.LyFormController |
---|
DEMAND_APPLY, DEMAND_NEXT_OBJECT, DEMAND_NEXT_STEP, DEMAND_PREVIOUS_OBJECT, DEMAND_PREVIOUS_STEP, DEMAND_SAVE, DEMAND_SELECTION, DEMAND_VALIDATE, FORM_FIELD_SEP |
Fields inherited from class leon.control.LyAreaController |
---|
DEFAULT_MENU_ITEM_IMAGE_SIZE, DEMAND_CANCEL, DEMAND_CLOSE, DEMAND_CREATE_CHART, DEMAND_DELETE_CHART, DEMAND_DELETE_OBJECTINFOS, DEMAND_DELETE_PREFERENCE, DEMAND_UPDATE_VIEW |
Fields inherited from class leon.control.LyController |
---|
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP |
Constructor Summary | |
---|---|
LyOutlineController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList context)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
void |
empty()
Clear the content of this controller |
void |
free()
Free this controller. |
java.lang.String |
getContextTitle()
Gets context title associated with this controller. |
LyInfoList<LyClassInfo> |
getDisplayedClassInfos()
Gets list of classes concerned by the action if specified. |
LyAreaController |
getLastOutlinedController()
Return the last outlined controller. |
LyAction |
getSetAction(LyObject object,
LyFieldInfo fieldInfo)
Finds the best suited action for fast edition of given field. |
LyTable |
getTableComponent()
Accessor to the Table component. |
boolean |
isOutlined()
Indicates if the view for this area acts on the outline view. |
void |
menuDemand(LyMenuDemand demand)
Invoked when an menu item notification is sent to this listener. |
void |
reset(boolean full)
Reset the entire view : everything is rebuilt. |
void |
selectionChanged(LyAreaController controller)
Method used to update the outline view when the selection changed. |
void |
selectionDemand(LySelectionDemand demand)
Invoked when a selection occurs. |
boolean |
setContext(LyWorkSpace context)
Set current controller context. |
void |
updateContent()
Update the table content. |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getClassInfo, getComponent, getId, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, setBuilder, setBuilderClass, setLastModified, setName, setUserData, 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
public static final java.lang.String DEMAND_ROW_TOOL
Constructor Detail |
---|
public LyOutlineController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, 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 ...)classInfo
- the associated classInfocontext
- current context (may be null if the view is not contextual to a list of
objects).Method Detail |
---|
public void reset(boolean full)
reset
in class LyFormController
full
- Boolean indicating if a full reset (including reset of datas) is requiered or not
(only reset graphical area).public java.lang.String getContextTitle()
LyAreaController
getContextTitle
in class LyAreaController
LyAreaController.getContextTitle()
public LyInfoList<LyClassInfo> getDisplayedClassInfos()
public void selectionChanged(LyAreaController controller)
controller
- The controller where the selection has changed.public LyAreaController getLastOutlinedController()
public boolean setContext(LyWorkSpace context)
setContext
in interface LyContextInterface
setContext
in class LyFormController
context
- current context or null if none is specified
LyContextInterface.getContext()
public void updateContent()
public LyTable getTableComponent()
public void actionDemand(LyActionDemand demand)
actionDemand
in class LyFormController
demand
- demand parameters sent by the view component.LyController.demandPerformed(leon.view.event.LyDemand)
public LyAction getSetAction(LyObject object, LyFieldInfo fieldInfo)
object
- an objectfieldInfo
- field info to be edited
public void menuDemand(LyMenuDemand demand)
This method overriden to create a popup menu : buildPopupMenu.
menuDemand
in class LyFormController
demand
- demand parameters sent by the view component.LyController.demandPerformed(leon.view.event.LyDemand)
public void selectionDemand(LySelectionDemand demand)
selectionDemand
in class LyController
demand
- selection event created from the view. User interaction.LyController.demandPerformed(leon.view.event.LyDemand)
public boolean isOutlined()
isOutlined
in class LyAreaController
public void free()
free
in class LyAreaController
LyAreaController.free(LyController)
public void empty()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |