|
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.view.LyComponent
leon.view.LyFieldItem
leon.view.LyPanel
leon.view.LyChartBase
public abstract class LyChartBase
The LyChartBase class is a generated Java implementation that corresponds to the element CHART of the descriptive grammar of the views (views.dtd). <CHART> : Statistic Chart A chart allows displaying a graph representing statistics on data.
LyPanel
,
See also tag CHART of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyChartBase.GraphType
Possible values for attribute 'graphType'. |
static class |
LyChartBase.Type
Possible values for attribute 'xType'. |
static class |
LyChartBase.XVal
Possible values for attribute 'xVal'. |
static class |
LyChartBase.YVal
Possible values for attribute 'yVal'. |
Nested classes/interfaces inherited from class leon.view.LyComponent |
---|
LyComponent.EventType |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.LyComponent |
---|
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID |
Constructor Summary | |
---|---|
LyChartBase()
Default constructor. |
Method Summary | |
---|---|
void |
addColumn(LyColumn column)
Adds a sub-component column. |
LyComponent |
cloneComponent()
Method for cloning a component. |
LyAxis |
getAxis()
Get sub-component Axis. |
LyColumn |
getColumn(int i)
Get sub-component Column of index i. |
int |
getColumnCount()
Get sub-component Column count. |
LyConstraint |
getConstraint()
Get sub-component Constraint. |
java.lang.String |
getController()
Gets value of controller. |
LyChartBase.GraphType |
getGraphType()
Gets value of graphType. |
static LyChartBase.GraphType |
getGraphType(java.lang.String token)
Utility method to get graphType value from a string. |
java.lang.String |
getId()
Gets value of id. |
LyIntervals |
getIntervals()
Get sub-component Intervals. |
LyChart |
getTemplate()
Gets value of template. |
java.lang.String |
getTitle()
Gets value of title. |
static LyChartBase.Type |
getType(java.lang.String token)
Utility method to get xType value from a string. |
java.lang.String |
getXDateType()
Gets value of xDateType. |
java.lang.String |
getXFormat()
Gets value of xFormat. |
java.lang.String |
getXTitle()
Gets value of xTitle. |
LyChartBase.Type |
getXType()
Gets value of xType. |
LyChartBase.XVal |
getXVal()
Gets value of xVal. |
static LyChartBase.XVal |
getXVal(java.lang.String token)
Utility method to get xVal value from a string. |
java.lang.String |
getYDateType()
Gets value of yDateType. |
java.lang.String |
getYFormat()
Gets value of yFormat. |
java.lang.String |
getYTitle()
Gets value of yTitle. |
LyChartBase.Type |
getYType()
Gets value of yType. |
LyChartBase.YVal |
getYVal()
Gets value of yVal. |
static LyChartBase.YVal |
getYVal(java.lang.String token)
Utility method to get yVal value from a string. |
void |
insertColumn(LyColumn column,
int pos)
Inserts a sub-component column at given position. |
boolean |
isD3Effect()
Checks if value of attribute d3Effect is set. |
boolean |
isDisplayLegendEmptyValues()
Checks if value of attribute displayLegendEmptyValues is set. |
boolean |
isNoXField()
Checks if value of attribute noXField is set. |
boolean |
isPieBy()
Checks if value of attribute pieBy is set. |
boolean |
isRatios()
Checks if value of attribute ratios is set. |
boolean |
isShowLegend()
Checks if value of attribute showLegend is set. |
boolean |
isShowTips()
Checks if value of attribute showTips is set. |
boolean |
isXGrid()
Checks if value of attribute xGrid is set. |
boolean |
isXVerticalLabels()
Checks if value of attribute xVerticalLabels is set. |
boolean |
isYGrid()
Checks if value of attribute yGrid is set. |
void |
removeColumn(LyColumn column)
Removes a sub-component column. |
void |
setAxis(LyAxis axis)
Sets sub-component axis. |
void |
setConstraint(LyConstraint constraint)
Sets sub-component constraint. |
void |
setController(java.lang.String controller)
Initializes attribute controller to the given value. |
void |
setD3Effect(boolean d3Effect)
Initializes attribute d3Effect to the given value. |
void |
setDisplayLegendEmptyValues(boolean displayLegendEmptyValues)
Initializes attribute displayLegendEmptyValues to the given value. |
void |
setGraphType(LyChartBase.GraphType graphType)
Initializes attribute graphType to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setIntervals(LyIntervals intervals)
Sets sub-component intervals. |
void |
setNoXField(boolean noXField)
Initializes attribute noXField to the given value. |
void |
setPieBy(boolean pieBy)
Initializes attribute pieBy to the given value. |
void |
setRatios(boolean ratios)
Initializes attribute ratios to the given value. |
void |
setShowLegend(boolean showLegend)
Initializes attribute showLegend to the given value. |
void |
setShowTips(boolean showTips)
Initializes attribute showTips to the given value. |
void |
setTemplate(LyChart template)
Initializes attribute template to the given value. |
void |
setTitle(java.lang.String title)
Initializes attribute title to the given value. |
void |
setXDateType(java.lang.String xDateType)
Initializes attribute xDateType to the given value. |
void |
setXFormat(java.lang.String xFormat)
Initializes attribute xFormat to the given value. |
void |
setXGrid(boolean xGrid)
Initializes attribute xGrid to the given value. |
void |
setXTitle(java.lang.String xTitle)
Initializes attribute xTitle to the given value. |
void |
setXType(LyChartBase.Type xType)
Initializes attribute xType to the given value. |
void |
setXVal(LyChartBase.XVal xVal)
Initializes attribute xVal to the given value. |
void |
setXVerticalLabels(boolean xVerticalLabels)
Initializes attribute xVerticalLabels to the given value. |
void |
setYDateType(java.lang.String yDateType)
Initializes attribute yDateType to the given value. |
void |
setYFormat(java.lang.String yFormat)
Initializes attribute yFormat to the given value. |
void |
setYGrid(boolean yGrid)
Initializes attribute yGrid to the given value. |
void |
setYTitle(java.lang.String yTitle)
Initializes attribute yTitle to the given value. |
void |
setYType(LyChartBase.Type yType)
Initializes attribute yType to the given value. |
void |
setYVal(LyChartBase.YVal yVal)
Initializes attribute yVal to the given value. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
Methods inherited from class leon.view.LyPanel |
---|
generatePdf, getLastModified, isIdle, isScrollable, print, setIdle, setLastModified, setPopupMenu, setWaiting |
Methods inherited from class leon.view.LyFieldItem |
---|
addBeanData, buildBean, free, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, setBeanComponent, setBeanDatas, setFieldValue, setLabel, updateViewContent, validateInput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyChartBase()
Method Detail |
---|
public static final LyChartBase.GraphType getGraphType(java.lang.String token)
token
- Token string
public static final LyChartBase.XVal getXVal(java.lang.String token)
token
- Token string
public static final LyChartBase.YVal getYVal(java.lang.String token)
token
- Token string
public static final LyChartBase.Type getType(java.lang.String token)
token
- Token string
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyChart getTemplate()
public java.lang.String getController()
getController
in interface LyGetControllerInterface
public LyChartBase.GraphType getGraphType()
public LyChartBase.XVal getXVal()
public LyChartBase.YVal getYVal()
public boolean isPieBy()
public java.lang.String getTitle()
public java.lang.String getXTitle()
public java.lang.String getYTitle()
public LyChartBase.Type getXType()
public LyChartBase.Type getYType()
public java.lang.String getXDateType()
public java.lang.String getYDateType()
public java.lang.String getXFormat()
public java.lang.String getYFormat()
public boolean isXVerticalLabels()
public boolean isXGrid()
public boolean isYGrid()
public boolean isD3Effect()
public boolean isShowLegend()
public boolean isShowTips()
public boolean isRatios()
public boolean isNoXField()
public boolean isDisplayLegendEmptyValues()
public LyColumn getColumn(int i)
i
- the index of the Column to get.
public int getColumnCount()
public LyIntervals getIntervals()
public LyAxis getAxis()
public LyConstraint getConstraint()
getConstraint
in interface LyGetConstraintInterface
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyChart template)
template
- New value of template.public void setController(java.lang.String controller)
setController
in interface LySetControllerInterface
controller
- New value of controller.LySetControllerInterface.setController(java.lang.String)
public void setGraphType(LyChartBase.GraphType graphType)
graphType
- New value of graphType.
java.lang.IllegalArgumentException
- if graphType parameter is null.public void setXVal(LyChartBase.XVal xVal)
xVal
- New value of xVal.
java.lang.IllegalArgumentException
- if xVal parameter is null.public void setYVal(LyChartBase.YVal yVal)
yVal
- New value of yVal.
java.lang.IllegalArgumentException
- if yVal parameter is null.public void setPieBy(boolean pieBy)
pieBy
- Boolean indicating if attribute pieBy is set or unset.public void setTitle(java.lang.String title)
title
- New value of title.public void setXTitle(java.lang.String xTitle)
xTitle
- New value of xTitle.public void setYTitle(java.lang.String yTitle)
yTitle
- New value of yTitle.public void setXType(LyChartBase.Type xType)
xType
- New value of xType.
java.lang.IllegalArgumentException
- if xType parameter is null.public void setYType(LyChartBase.Type yType)
yType
- New value of yType.
java.lang.IllegalArgumentException
- if yType parameter is null.public void setXDateType(java.lang.String xDateType)
xDateType
- New value of xDateType.public void setYDateType(java.lang.String yDateType)
yDateType
- New value of yDateType.public void setXFormat(java.lang.String xFormat)
xFormat
- New value of xFormat.public void setYFormat(java.lang.String yFormat)
yFormat
- New value of yFormat.public void setXVerticalLabels(boolean xVerticalLabels)
xVerticalLabels
- Boolean indicating if attribute xVerticalLabels is set or unset.public void setXGrid(boolean xGrid)
xGrid
- Boolean indicating if attribute xGrid is set or unset.public void setYGrid(boolean yGrid)
yGrid
- Boolean indicating if attribute yGrid is set or unset.public void setD3Effect(boolean d3Effect)
d3Effect
- Boolean indicating if attribute d3Effect is set or unset.public void setShowLegend(boolean showLegend)
showLegend
- Boolean indicating if attribute showLegend is set or unset.public void setShowTips(boolean showTips)
showTips
- Boolean indicating if attribute showTips is set or unset.public void setRatios(boolean ratios)
ratios
- Boolean indicating if attribute ratios is set or unset.public void setNoXField(boolean noXField)
noXField
- Boolean indicating if attribute noXField is set or unset.public void setDisplayLegendEmptyValues(boolean displayLegendEmptyValues)
displayLegendEmptyValues
- Boolean indicating if attribute displayLegendEmptyValues is set or unset.public void addColumn(LyColumn column)
column
- The column to add to columns list.public void insertColumn(LyColumn column, int pos)
column
- The column to add to columns list.pos
- Position where the sub-component is inserted.public void removeColumn(LyColumn column)
column
- The column to remove to columns list.
java.lang.IllegalStateException
- if columns list is empty.
java.lang.IllegalArgumentException
- if columns list doesn't contain column.public void setIntervals(LyIntervals intervals)
intervals
- New value of intervalspublic void setAxis(LyAxis axis)
axis
- New value of axispublic void setConstraint(LyConstraint constraint)
constraint
- New value of constraintpublic void writeXml(java.io.PrintWriter pw, boolean debug)
writeXml
in class LyComponent
pw
- the printWriter on which the XML is written.debug
- true if debug mode (full dump).
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |