LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyColumn

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyColumn
All Implemented Interfaces:
LyGetLabelInterface

public class LyColumn
extends LyComponent
implements LyGetLabelInterface

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:
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 leon.view.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, free, freeze, getBounds, getChild, getChildCount, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEnvironment, getEventFunctions, getId, getIdCode, getInternalId, getInternalView, getInternalView, getLock, getModel, getParent, getParentArea, getParentForm, getParentFormFieldId, getParentSplitter, getParentSplitter, getParentTab, getParentTab, getParentTabs, getParentTabs, getParentView, getRootController, getSetVisibleParent, getTag, getViewManager, isFreed, isFreeing, registerChildrenBounds, removeComponent, reset, resetChildrenCache, resetEventFunctions, setDatas, setInternalView, setVisible, useEventDefaultFunction, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyColumn

public LyColumn()
Default constructor.

Method Detail

cloneComponent

public LyComponent cloneComponent()
Method for cloning a component.

Specified by:
cloneComponent in class LyComponent

getLabel

public java.lang.String getLabel()
Gets value of label.

Specified by:
getLabel in interface LyGetLabelInterface
Returns:
value of label.

getChartValue

public LyChartValue getChartValue(int i)
Get sub-component ChartValue of index i.

Parameters:
i - the index of the ChartValue to get.
Returns:
sub-component ChartValue of index i.

getChartValueCount

public int getChartValueCount()
Get sub-component ChartValue count.

Returns:
sub-component ChartValue count.

setLabel

public void setLabel(java.lang.String label)
Initializes attribute label to the given value.

Parameters:
label - New value of label.

addChartValue

public void addChartValue(LyChartValue chartValue)
Adds a sub-component chartValue.

Parameters:
chartValue - The chartValue to add to chartValues list.

insertChartValue

public void insertChartValue(LyChartValue chartValue,
                             int pos)
Inserts a sub-component chartValue at given position.

Parameters:
chartValue - The chartValue to add to chartValues list.
pos - Position where the sub-component is inserted.

removeChartValue

public void removeChartValue(LyChartValue chartValue)
Removes a sub-component chartValue.

Parameters:
chartValue - The chartValue to remove to chartValues list.
Throws:
java.lang.IllegalStateException - if chartValues list is empty.
java.lang.IllegalArgumentException - if chartValues list doesn't contain chartValue.

writeXml

public void writeXml(java.io.PrintWriter pw,
                     boolean debug)
Method to rewrite XML corresponding to this component.

Specified by:
writeXml in class LyComponent
Parameters:
pw - the printWriter on which the XML is written.
debug - true if debug mode (full dump).

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com