|
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.LyRowsBase
leon.view.LyRows
public class LyRows
This class represents a Rows component.
LyComponent
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 | |
---|---|
LyRows()
Constructor with all required attributes. |
Method Summary | |
---|---|
int |
getDisplayedRowCount()
Get sub-component displayed Row count. |
void |
getDisplayedSubRows(java.util.Vector<LyRow> list)
Retrieve all the displayed sub-rows of the rows component and add them to the given list, browsing all the tree of sub-rows. |
java.lang.Object |
getLock()
Get a lock to prevent concurrent access Returns the one provided by the internal view implementation, otherwise returns this. |
LyTable |
getParentTable()
Gets parent table. |
int |
getPositionInTable()
Returns the position of the rows component in the parent table component. |
LyRow |
getRow(java.lang.String id)
Retrieves a row by its id. |
int |
getRowIndex(LyRow row)
Accessor to the index of a row. |
int |
getSubRowCount(boolean displayed)
Return the number of sub-rows, browsing all the tree of sub-rows. |
LySetTableInterface |
getTableInterface()
Gets parent table. |
boolean |
hasHiddenRow()
Indicates if the rows component has at least one hidden row. |
void |
insertRow(LyRow row,
int pos)
Inserts a sub-component row at given position. |
boolean |
isHierarchical()
Indicates if the rows component is hierarchical (if at least one of its children has children). |
void |
removeRow(int index)
Remove row at the given index. |
void |
removeRow(LyRow row)
Removes a sub-component row. |
void |
swapRows(int index1,
int index2)
Swap rows at the given indexes. |
Methods inherited from class leon.view.LyRowsBase |
---|
addRow, cloneComponent, getRow, getRowCount, writeXml |
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 LyRows()
Method Detail |
---|
public LySetTableInterface getTableInterface()
public int getPositionInTable()
public int getSubRowCount(boolean displayed)
displayed
- indicates if only displayed rows must be considered
public int getDisplayedRowCount()
public void getDisplayedSubRows(java.util.Vector<LyRow> list)
list
- the list containing the sub-rowspublic boolean isHierarchical()
public boolean hasHiddenRow()
public LyTable getParentTable()
public void insertRow(LyRow row, int pos)
insertRow
in class LyRowsBase
row
- row that must be added.pos
- index where row must be added.public void removeRow(LyRow row)
row
- row that must be removed.public void removeRow(int index)
index
- index of the row that must be removed.public void swapRows(int index1, int index2)
index1
- index of first row to swap.index2
- index of second row to swap.public int getRowIndex(LyRow row)
row
- row we are looking for the index
public LyRow getRow(java.lang.String id)
id
- Id of the row.
public java.lang.Object getLock()
getLock
in class LyComponent
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |