|
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.app.behavior.LyBehavior
leon.app.behavior.LyActionBehavior
leon.app.behavior.LyChartBehavior
leon.app.behavior.LyMetricsChartBehavior
public class LyMetricsChartBehavior
This class implements the default behavior for metrics chart actions.
Field Summary | |
---|---|
static java.lang.String |
ACTIONS_BY_DATE_CHART_ACTION_ID
Identifier for actions by date chart action. |
static java.lang.String |
MAX_ACTIONS_PARAMETER
Max actions parameter name. |
static java.lang.String |
MAX_CONNECTED_USERS_CHART_ACTION_ID
Identifier for max connected users chart action. |
static java.lang.String |
METRIC_ACTION_FIELD_ID
Identifier for action field. |
static java.lang.String |
METRIC_CLASS_FIELD_ID
Identifier for class field. |
static java.lang.String |
METRIC_END_DATE_FIELD_ID
Identifier for end date field. |
static java.lang.String |
METRIC_START_DATE_FIELD_ID
Identifier for start date field. |
static java.lang.String |
METRIC_TYPE_FIELD_ID
Identifier for type field. |
static java.lang.String |
METRIC_TYPE_SESSION_OPTION_ID
Identifier for type session option. |
static java.lang.String |
METRIC_USER_FIELD_ID
Identifier for user field. |
static java.lang.String |
METRIC_VALUE_FIELD_ID
Identifier for value field. |
static java.lang.String |
MOST_USED_ACTIONS_CHART_ACTION_ID
Identifier for most used actions chart action. |
static java.lang.String |
SESSIONS_BY_DATE_CHART_ACTION_ID
Identifier for sessions by date chart action. |
static java.lang.String |
SESSIONS_BY_HOUR_CHART_ACTION_ID
Identifier for sessions by hour chart action. |
static java.lang.String |
SESSIONS_BY_HOUR_SORT_CRITERION_ID
Identifier for sessions by hour sort criterion. |
static java.lang.String |
SESSIONS_DURATION_CHART_ACTION_ID
Identifier for sessions duration chart action. |
Fields inherited from class leon.app.behavior.LyChartBehavior |
---|
__VERSION |
Fields inherited from interface leon.info.infointerface.LyComparatorInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyMetricsChartBehavior()
|
Method Summary | |
---|---|
int |
compare(LySortCriterion criterion,
LyObject object1,
LyObject object2)
Implementation of the LyComparatorInterface interface. |
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. |
boolean |
reset(LyAreaController areaController,
boolean full)
The controller resets its content. |
Methods inherited from class leon.app.behavior.LyChartBehavior |
---|
completeChart, displayLegendEmptyValues, generateSensitiveAreas, getBarLegendLabel, getChartContext, getGroupFields, getImage, getScatterPlotLabel, getScatterPlotLegendLabel, getValue, getXFields, getYFields, isDisplayed, isLegendRightPositionned, isViewResizable |
Methods inherited from class leon.app.behavior.LyActionBehavior |
---|
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, startAction |
Methods inherited from class leon.app.behavior.LyBehavior |
---|
free, getSession, handleDemand, init |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface |
---|
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, startAction |
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface |
---|
free, handleDemand, init |
Field Detail |
---|
public static final java.lang.String SESSIONS_BY_DATE_CHART_ACTION_ID
public static final java.lang.String SESSIONS_BY_HOUR_CHART_ACTION_ID
public static final java.lang.String SESSIONS_DURATION_CHART_ACTION_ID
public static final java.lang.String ACTIONS_BY_DATE_CHART_ACTION_ID
public static final java.lang.String MOST_USED_ACTIONS_CHART_ACTION_ID
public static final java.lang.String MAX_CONNECTED_USERS_CHART_ACTION_ID
public static final java.lang.String MAX_ACTIONS_PARAMETER
public static final java.lang.String METRIC_START_DATE_FIELD_ID
public static final java.lang.String METRIC_END_DATE_FIELD_ID
public static final java.lang.String METRIC_USER_FIELD_ID
public static final java.lang.String METRIC_TYPE_FIELD_ID
public static final java.lang.String METRIC_TYPE_SESSION_OPTION_ID
public static final java.lang.String METRIC_ACTION_FIELD_ID
public static final java.lang.String METRIC_CLASS_FIELD_ID
public static final java.lang.String METRIC_VALUE_FIELD_ID
public static final java.lang.String SESSIONS_BY_HOUR_SORT_CRITERION_ID
Constructor Detail |
---|
public LyMetricsChartBehavior()
Method Detail |
---|
public java.lang.Object getStringChartValue(LyGraphicalChartController controller, LyFieldInfo fieldInfo, LyObject object, java.lang.Object value, LyChartInfo.Type typeVar, boolean yAxis)
getStringChartValue
in interface LyChartBehaviorInterface
getStringChartValue
in class LyChartBehavior
controller
- the current controller instancefieldInfo
- the concerned field infoobject
- the concerned object (may be null)value
- the value to transform into a string. It comes from the given fieldInfotypeVar
- the field type defined in LyChartInfo
such
as LyChartInfo.Type.DATE
, LyChartInfo.Type.NUMBER
and LyChartInfo.Type.TEXT
yAxis
- indicates whether the value is computed for y or x axis
LyChartInfo
public boolean reset(LyAreaController areaController, boolean full)
reset
in interface LyActionBehaviorInterface
reset
in class LyActionBehavior
areaController
- the current LyAreaController instancefull
- indicates if the controller performed a full reset of its content or a
partial reset. The meaning of a full reset depends on controller
implementation.
public int compare(LySortCriterion criterion, LyObject object1, LyObject object2)
compare
in interface LyComparatorInterface
criterion
- the sort criterion.object1
- the first objectobject2
- the second object
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |