|
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 |
public interface LyChartBehaviorInterface
This interface defines the methods to implement in order to modify the behavior of a chart action.
LyChartController
,
LyGraphicalChartController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Method Summary | |
---|---|
void |
completeChart(LyGraphicalChartController controller,
LyChart chart)
Complete chart component before showing it. |
boolean |
displayLegendEmptyValues(LyGraphicalChartController controller)
Indicates whether empty values must be displayed on the legend. |
boolean |
generateSensitiveAreas(LyGraphicalChartController controller)
Indicates whether sensitive areas must be generated or not. |
java.lang.String |
getBarLegendLabel(LyGraphicalChartController controller,
LyFieldInfo fieldInfo,
LyObject object,
java.lang.Object value)
Gets the label that must be shown in the legend of a bar chart. |
LyObjectList |
getChartContext(LyController controller,
LySession session,
LyClassInfo classInfo,
LyObjectList objects,
LyWorkSpace parentContext)
Gets the chart context objects list. |
LyInfoList<LyFieldInfo> |
getGroupFields(LyChartController controller)
Gets fields that may be used as group variables in the chart. |
java.lang.String |
getScatterPlotLabel(LyGraphicalChartController controller,
LyObject object)
Gets the label that must be used for a point on a scatter plot chart. |
java.lang.String |
getScatterPlotLegendLabel(LyGraphicalChartController controller,
LyObject object)
Returns the label that must be used for a point on a scatter plot legend. |
java.lang.Object |
getStringChartValue(LyGraphicalChartController controller,
LyFieldInfo fieldInfo,
LyObject object,
java.lang.Object value,
LyChartInfo.Type typeVar,
boolean yAxis)
Computes a printable string (if the given typeVar is text, number or date) or a Vector of strings (if the given fieldInfo is a multiple choice or relation) from the given value. |
LyInfoList<LyFieldInfo> |
getXFields(LyChartController controller)
Gets fields that may be used as X variables in the chart. |
LyInfoList<LyFieldInfo> |
getYFields(LyChartController controller)
Gets fields that may be used as Y variables in the chart. |
boolean |
isLegendRightPositionned(LyGraphicalChartController controller)
Indicates if the legend must be positionned on the right of the chart. |
boolean |
isViewResizable(LyController controller)
Indicates whether a graphical chart view is resizable or not. |
Methods inherited from interface leon.app.behaviorinterface.LyFormBehaviorInterface |
---|
getImage, getValue, isDisplayed |
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 |
---|
static final java.lang.String __VERSION
Method Detail |
---|
boolean isViewResizable(LyController controller)
controller
- the current chart controller or graphical chart controller
LyInfoList<LyFieldInfo> getXFields(LyChartController controller)
controller
- The current chart controller.
LyInfoList<LyFieldInfo> getYFields(LyChartController controller)
controller
- The current chart controller.
LyInfoList<LyFieldInfo> getGroupFields(LyChartController controller)
controller
- The current chart controller.
LyObjectList getChartContext(LyController controller, LySession session, LyClassInfo classInfo, LyObjectList objects, LyWorkSpace parentContext)
controller
- the controllersession
- the current sessionclassInfo
- the classInfo that contains valuesobjects
- the selected objects of the current classparentContext
- the context of the parent class
java.lang.Object getStringChartValue(LyGraphicalChartController controller, LyFieldInfo fieldInfo, LyObject object, java.lang.Object value, LyChartInfo.Type typeVar, boolean yAxis)
controller
- the current controller instancefieldInfo
- the field info concernedobject
- the object concerned (may be null)value
- the value to transform into string. It comes from the fieldInfotypeVar
- the type of the field, like date or numeric (defined in LyChartInfo
)yAxis
- indicates whether the value is computed for y or x axis
LyChartInfo
java.lang.String getBarLegendLabel(LyGraphicalChartController controller, LyFieldInfo fieldInfo, LyObject object, java.lang.Object value)
controller
- the current controller instancefieldInfo
- the field info concernedobject
- the object concerned (may be null)value
- the value to transform into string. It comes from the fieldInfo
java.lang.String getScatterPlotLabel(LyGraphicalChartController controller, LyObject object)
controller
- the current controller instanceobject
- the object concerned
java.lang.String getScatterPlotLegendLabel(LyGraphicalChartController controller, LyObject object)
controller
- the current controller instanceobject
- the object concerned
boolean isLegendRightPositionned(LyGraphicalChartController controller)
controller
- the current controller instance
boolean displayLegendEmptyValues(LyGraphicalChartController controller)
controller
- the current controller instance
boolean generateSensitiveAreas(LyGraphicalChartController controller)
controller
- the current controller instance
void completeChart(LyGraphicalChartController controller, LyChart chart)
controller
- the current controller instancechart
- the chart component
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |