|
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.LyChartController
public class LyChartController
This class implements the parameter chart edition forms. It implements a 'wizard' style controller for navigation between form page. At end, it invokes a graphical chart controller.
LyFormController
,
LyGraphicalChartController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
static int |
AXIS_TITLES_WIDTH
Input in the third window. |
static java.lang.String |
BORDER_INT_X
Input in the second window. |
static java.lang.String |
BORDER_INT_Y
Input in the second window. |
static java.lang.String |
CHART_DISPLAY_OPTIONS
Input in the third window. |
static int |
DEFAULT_HEIGHT
Height of the window. |
static int |
DEFAULT_WIDTH
Width of the window. |
static java.lang.String |
DEMAND_MODIFY_STEP
Show previous window. |
static java.lang.String |
LG_INT_X_AREA
Input in the second window. |
static java.lang.String |
LG_INT_Y_AREA
Input in the second window. |
static java.lang.String |
PIES_BY
Input in the second window. |
static java.lang.String |
PIES_BY_X
Input in the second window. |
static java.lang.String |
PIES_BY_Y
Input in the second window. |
static java.lang.String |
SELECT_GRAPH_TYPE
Input in the first window. |
static java.lang.String |
SELECT_GROUP_FIELD
Input in the second window. |
static java.lang.String |
SELECT_X_FIELD
Input in the first window. |
static java.lang.String |
SELECT_Y_FIELDS
Input in the first window. |
static java.lang.String |
TITLE_AREA
Input in the third window. |
static int |
TITLE_HEIGHT
Input in the third window. |
static int |
TITLE_WIDTH
Input in the third window. |
static java.lang.String |
X_GRAD_AXIS
Input in the third window. |
static java.lang.String |
X_MAX_AXIS
Input in the third window. |
static java.lang.String |
X_MIN_AXIS
Input in the third window. |
static java.lang.String |
X_TITLE
Input in the third window. |
static java.lang.String |
X_TYPE_INTS
Input in the second window. |
static java.lang.String |
X_TYPE_VALUES
Input in the second window. |
static java.lang.String |
Y_GRAD_AXIS
Input in the third window. |
static java.lang.String |
Y_MAX_AXIS
Input in the third window. |
static java.lang.String |
Y_MIN_AXIS
Input in the third window. |
static java.lang.String |
Y_TITLE
Input in the third window. |
static java.lang.String |
Y_TYPE_INTS
Input in the second window. |
static java.lang.String |
Y_TYPE_VALUES
Input in the second window. |
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 | |
---|---|
LyChartController(LySession session,
LyController parent,
LyAction action)
Constructor. |
|
LyChartController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo)
Constructor. |
|
LyChartController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList objects)
Default constructor. |
|
LyChartController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList objects,
LyChartInfo chartInfo)
Constructor. |
|
LyChartController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList objects,
LyChartInfo chartInfo,
LyGraphicalChartController graphicalChartController)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
void |
free(LyController controller)
Free this controller on request of the specified controller. |
java.lang.Class<?> |
getBehaviorInterface()
Method that gives the interface that must be implemented by the behavior associated to this controller. |
LyChartInfo |
getChartInfo()
Gets the current LyChartInfo. |
boolean |
isViewResizable()
Indicates if the view for this chart controller is resizable. |
LyArea |
resetArea1()
Reset the first window. |
void |
resetArea2()
show the second window. |
void |
resetArea3()
show the third window. |
void |
saveWin3()
Sets the params given by the third window in LyChartInfo : Titles (graphic and axis), Axis parameters. |
void |
setGraphicalChartAction(LyAction action)
Set the action that must be used when showing graphical chart. |
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, selectionDemand, 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 int DEFAULT_WIDTH
public static int DEFAULT_HEIGHT
public static final java.lang.String DEMAND_MODIFY_STEP
public static final java.lang.String SELECT_Y_FIELDS
public static final java.lang.String SELECT_X_FIELD
public static final java.lang.String SELECT_GRAPH_TYPE
public static final java.lang.String X_TYPE_VALUES
public static final java.lang.String Y_TYPE_VALUES
public static final java.lang.String SELECT_GROUP_FIELD
public static final java.lang.String LG_INT_X_AREA
public static final java.lang.String LG_INT_Y_AREA
public static final java.lang.String Y_TYPE_INTS
public static final java.lang.String X_TYPE_INTS
public static final java.lang.String BORDER_INT_X
public static final java.lang.String BORDER_INT_Y
public static final java.lang.String PIES_BY
public static final java.lang.String PIES_BY_X
public static final java.lang.String PIES_BY_Y
public static final java.lang.String TITLE_AREA
public static final int TITLE_WIDTH
public static final int TITLE_HEIGHT
public static final int AXIS_TITLES_WIDTH
public static final java.lang.String X_TITLE
public static final java.lang.String Y_TITLE
public static final java.lang.String X_MIN_AXIS
public static final java.lang.String X_MAX_AXIS
public static final java.lang.String X_GRAD_AXIS
public static final java.lang.String Y_MIN_AXIS
public static final java.lang.String Y_MAX_AXIS
public static final java.lang.String Y_GRAD_AXIS
public static final java.lang.String CHART_DISPLAY_OPTIONS
Constructor Detail |
---|
public LyChartController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList objects)
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
- always the classInfo of the specified objects.objects
- current context (not null because the view is contextual to a list of
objects).public LyChartController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList objects, LyChartInfo chartInfo)
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
- always the classInfo of the specified objects.objects
- current context (not null because the view is contextual to a list of
objects).chartInfo
- the chartInfo of the predefined chart.public LyChartController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList objects, LyChartInfo chartInfo, LyGraphicalChartController graphicalChartController)
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
- always the classInfo of the specified objects.objects
- current context (not null because the view is contextual to a
list of objects).chartInfo
- the chartInfo of the predefined chart.graphicalChartController
- the controller of the predefined chart.public LyChartController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo)
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
- always the classInfo of the specified objects.public LyChartController(LySession session, LyController parent, LyAction action)
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 ...)Method Detail |
---|
public LyChartInfo getChartInfo()
public void setGraphicalChartAction(LyAction action)
action
- the actionpublic java.lang.Class<?> getBehaviorInterface()
getBehaviorInterface
in class LyFormController
public boolean isViewResizable()
isViewResizable
in class LyFormController
public void actionDemand(LyActionDemand demand)
actionDemand
in class LyFormController
demand
- the type of demandLyController.demandPerformed(leon.view.event.LyDemand)
public void free(LyController controller)
free
in class LyFormController
controller
- controller instance which requested the freeing of this controller. If the
controller is the parent, this controller is freed otherwise the method
does nothing. If the LyGraphicalController has a MODIFY nutton, enable it.LyAreaController.free()
public void saveWin3()
public LyArea resetArea1()
public void resetArea2()
public void resetArea3()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |