LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyRowsBase

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyRowsBase
Direct Known Subclasses:
LyRows

public abstract class LyRowsBase
extends LyComponent

The LyRowsBase class is a generated Java implementation that corresponds to the element ROWS of the descriptive grammar of the views (views.dtd). <ROWS> : List of table rows This element allows displaying rows within a table. It does not contain any attribute: this is only a non-empty list of rows.

See Also:
LyComponent, See also tag ROWS 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
LyRowsBase()
          Default constructor.
 
Method Summary
 void addRow(LyRow row)
          Adds a sub-component row.
 LyComponent cloneComponent()
          Method for cloning a component.
 LyRow getRow(int i)
          Get sub-component Row of index i.
 int getRowCount()
          Get sub-component Row count.
 void insertRow(LyRow row, int pos)
          Inserts a sub-component row at given position.
 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

LyRowsBase

public LyRowsBase()
Default constructor.

Method Detail

cloneComponent

public LyComponent cloneComponent()
Method for cloning a component.

Specified by:
cloneComponent in class LyComponent

getRow

public LyRow getRow(int i)
Get sub-component Row of index i.

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

getRowCount

public int getRowCount()
Get sub-component Row count.

Returns:
sub-component Row count.

addRow

public void addRow(LyRow row)
Adds a sub-component row.

Parameters:
row - The row to add to rows list.

insertRow

public void insertRow(LyRow row,
                      int pos)
Inserts a sub-component row at given position.

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

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