|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.widgets.client.grid.ColumnDefinitions
public class ColumnDefinitions
Represents the columns to be rendered by a grid widget.
| Nested Class Summary | |
|---|---|
static class |
ColumnDefinitions.ColumnIterator<T extends ColumnDefinition>
Iterator for the registered column definition |
| Constructor Summary | |
|---|---|
ColumnDefinitions()
|
|
| Method Summary | |
|---|---|
void |
add(String key,
ColumnDefinition definition)
Register a new column definition |
int |
getColumnIndex(String key,
boolean considerInvisibleColumns)
Gets the column definition index |
ColumnDefinition |
getDefinition(String key)
Gets a registered column definition by its key |
org.cruxframework.crux.core.client.collection.FastList<ColumnDefinition> |
getDefinitions()
Gets all registered columns definition |
Iterator<ColumnDefinition> |
getIterator()
Creates and returns a iterator for accessing column definitions in an ordered way |
int |
getVisibleColumnCount()
Gets the number of columns that will be rendered |
ColumnDefinition |
getVisibleColumnDefinition(int visibleIndex)
Gets the definition of the i-th visible column |
protected void |
reset()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnDefinitions()
| Method Detail |
|---|
public void add(String key,
ColumnDefinition definition)
key - definition - public org.cruxframework.crux.core.client.collection.FastList<ColumnDefinition> getDefinitions()
public ColumnDefinition getDefinition(String key)
key -
public int getColumnIndex(String key,
boolean considerInvisibleColumns)
key - considerInvisibleColumns - protected void reset()
public int getVisibleColumnCount()
public ColumnDefinition getVisibleColumnDefinition(int visibleIndex)
visibleIndex -
public Iterator<ColumnDefinition> getIterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||