|
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.LyColumn
public class LyColumn
The LyColumn class is a generated Java implementation that corresponds to the element COLUMN of the descriptive grammar of the views (views.dtd). <COLUMN> : Set of Statistic Values A COLUMN element is a set of pairs (x, y) where y is a value (a real or a sum or a count) of a variable to analyze and x is either a value of the variable according to which y is studied (if there is one) or the name of the variable to study. There is one COLUMN element per variable to analyze.
See also tag COLUMN of grammar leon_views.dtd.
Nested Class Summary |
---|
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 | |
---|---|
LyColumn()
Default constructor. |
Method Summary | |
---|---|
void |
addChartValue(LyChartValue chartValue)
Adds a sub-component chartValue. |
LyComponent |
cloneComponent()
Method for cloning a component. |
LyChartValue |
getChartValue(int i)
Get sub-component ChartValue of index i. |
int |
getChartValueCount()
Get sub-component ChartValue count. |
java.lang.String |
getLabel()
Gets value of label. |
void |
insertChartValue(LyChartValue chartValue,
int pos)
Inserts a sub-component chartValue at given position. |
void |
removeChartValue(LyChartValue chartValue)
Removes a sub-component chartValue. |
void |
setLabel(java.lang.String label)
Initializes attribute label to the given value. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
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 LyColumn()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public LyChartValue getChartValue(int i)
i
- the index of the ChartValue to get.
public int getChartValueCount()
public void setLabel(java.lang.String label)
label
- New value of label.public void addChartValue(LyChartValue chartValue)
chartValue
- The chartValue to add to chartValues list.public void insertChartValue(LyChartValue chartValue, int pos)
chartValue
- The chartValue to add to chartValues list.pos
- Position where the sub-component is inserted.public void removeChartValue(LyChartValue chartValue)
chartValue
- The chartValue to remove to chartValues list.
java.lang.IllegalStateException
- if chartValues list is empty.
java.lang.IllegalArgumentException
- if chartValues list doesn't contain chartValue.public 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 |