|
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.LySimpleTableController
leon.control.LyTableController
public class LyTableController
This class implements a table controller. It's the standard implementation for a table It is associated with a builder (LyTableBuilder) and a behavior that implements LyTableBehaviorInterface. Usually, this behavior is implemented by an instance of LyTableBehavior
LySimpleTableBuilder
,
LyTableBehaviorInterface
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static int |
MAX_OBJECTS_COUNT_FOR_CONTEXT_FILTER
Define the max objects in the context to build a context filter |
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 | |
---|---|
LyTableController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList context)
Constructor. |
Method Summary | |
---|---|
void |
completeMessages(LyMessages messages,
int level)
This method is invoked to enable the the area(s) to complete the message bar of the view and add its own message items. |
boolean |
isDisplayNextPreviousTools()
Indicates whether previous / next tools must be added to the top toolbar. |
void |
print(int page)
Implementation of LyPrintListenerInterface. |
void |
reset(boolean full)
Reset component. |
void |
selectionDemand(LySelectionDemand demand)
Invoked when a selection occurs. |
void |
selectObject(LyObject object,
boolean select,
boolean updateView,
boolean showSelected)
Select an object in the table. |
void |
selectObjects(LyObjectList objects,
boolean select)
Select all given objects in the table. |
Methods inherited from class leon.control.LyPanelController |
---|
buildFilter, closeBorderPanel, endFilter, getFilter, getFilterController, getFilterEditorController, getPreference, getRefreshTime, isFilterActive, isHorizontal, objectUserEvent, setFilter, setIdle, setRefreshTime, updatePreferencesMenu, workSpaceEventsGrouped |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, demandPerformed, getApplication, getClassInfo, getComponent, getId, getImage, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, setBuilder, setBuilderClass, setLastModified, setName, setUserData, showError, showError, showWarning, updateViewFromValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface leon.control.LyContextInterface |
---|
getContext, setContext |
Methods inherited from interface leon.data.LyAdvancedWorkSpaceListener |
---|
objectUserEvent, workSpaceEventsGrouped |
Methods inherited from interface leon.control.LyFilterEndInterface |
---|
endFilter, getFilter |
Methods inherited from interface leon.control.LyFastFilterEndInterface |
---|
getFilter |
Field Detail |
---|
public static final java.lang.String __VERSION
public static int MAX_OBJECTS_COUNT_FOR_CONTEXT_FILTER
Constructor Detail |
---|
public LyTableController(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
- class info for objects displayed in the list.context
- 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 LySimpleTableController
full
- Boolean indicating if a full reset (including reset of datas) is requiered or
not (only reset graphical area).public void selectionDemand(LySelectionDemand demand)
selectionDemand
in class LySimpleTableController
demand
- selection event created from the view. User interaction.LyController.demandPerformed(leon.view.event.LyDemand)
public void selectObject(LyObject object, boolean select, boolean updateView, boolean showSelected)
selectObject
in class LySimpleTableController
object
- selected or unselected objectselect
- new selection statusupdateView
- indicates if the view (tools, messages...) must be updated.showSelected
- indicates wether the view should scroll to the new selection statuspublic void selectObjects(LyObjectList objects, boolean select)
selectObjects
in class LySimpleTableController
objects
- Objects to select/deselectselect
- new selection statuspublic boolean isDisplayNextPreviousTools()
public void completeMessages(LyMessages messages, int level)
completeMessages
in class LySimpleTableController
messages
- messages barlevel
- index of messageLyAreaBuilder.completeMessages(leon.view.LyMessages, int)
public void print(int page)
print
in interface LyPrintListenerInterface
print
in class LySimpleTableController
page
- page to print
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |