| Package | Description |
|---|---|
| to.etc.domui.component.experimental | |
| to.etc.domui.component.tbl |
| Modifier and Type | Method and Description |
|---|---|
ColumnDef<T,T> |
MultiRowRenderer.column()
Add a column which gets referred the row element instead of a column element.
|
<V> ColumnDef<T,V> |
MultiRowRenderer.column(Class<V> type,
String property)
Add and return the column definition for a column on the specified property.
|
ColumnDef<T,?> |
MultiRowRenderer.column(String property)
This adds a column on the specified property, but has no idea about the real type.
|
ColumnDef<T,?> |
MultiRowRenderer.getColumn(int ix)
Return the definition for the nth column.
|
ColumnDef<T,?> |
MultiRowRenderer.getColumnByName(String propertyName)
Find a column by the property it is displaying.
|
protected ColumnDef<T,?> |
MultiRowRenderer.getSortColumn() |
| Modifier and Type | Method and Description |
|---|---|
protected <X> void |
MultiRowRenderer.renderColumn(TableModelTableBase<T> tbl,
ColumnContainer<T> cc,
int index,
T instance,
ColumnDef<T,X> cd)
Render a single column fully.
|
void |
MultiRowRenderer.setDefaultSort(ColumnDef<T,?> cd,
SortableType type)
Sets default sort column on row renderer.
|
protected void |
MultiRowRenderer.setSortColumn(ColumnDef<T,?> cd,
SortableType type) |
| Modifier and Type | Method and Description |
|---|---|
ColumnDef<I,T> |
ColumnDef.align(TextAlign align)
Set the text align for this column.
|
ColumnDef<I,T> |
ColumnDef.ascending()
Set the default sort order to ascending first.
|
ColumnDef<I,T> |
ColumnDef.cellClicked(ICellClicked<?> ck)
Set the cell click handler.
|
ColumnDef<T,T> |
ColumnList.column()
Add a column which gets referred the row element instead of a column element.
|
ColumnDef<T,T> |
RowRenderer.column()
Add a column which gets referred the row element instead of a column element.
|
<V> ColumnDef<T,V> |
ColumnList.column(Class<V> type,
String property)
Add and return the column definition for a column on the specified property.
|
<V> ColumnDef<T,V> |
RowRenderer.column(Class<V> type,
String property)
Add and return the column definition for a column on the specified property.
|
ColumnDef<T,?> |
ColumnList.column(String property)
This adds a column on the specified property, but has no idea about the real type.
|
ColumnDef<T,?> |
RowRenderer.column(String property)
This adds a column on the specified property, but has no idea about the real type.
|
ColumnDef<I,T> |
ColumnDef.converter(IConverter<T> converter) |
ColumnDef<I,T> |
ColumnDef.css(String css)
Set the css class of this column's values.
|
ColumnDef<I,T> |
ColumnDef.cssHeader(String css)
Set the css class of this column's header.
|
ColumnDef<I,T> |
ColumnDef.descending()
Set the default sort order to descending first.
|
ColumnDef<I,T> |
ColumnDef.editable()
Create an editable component bound to the column's value.
|
ColumnDef<I,T> |
ColumnDef.factory(IRowControlFactory<I> factory)
Define the control factory to create the control to use to show the column's value.
|
ColumnDef<T,?> |
ColumnList.get(int ix) |
ColumnDef<T,?> |
RowRenderer.getColumn(int ix)
Return the definition for the nth column.
|
ColumnDef<T,?> |
RowRenderer.getColumnByName(String propertyName)
Find a column by the property it is displaying.
|
ColumnDef<T,?> |
ColumnList.getSortColumn() |
protected ColumnDef<T,?> |
RowRenderer.getSortColumn() |
ColumnDef<I,T> |
ColumnDef.hint(String hint)
Set the hint for a column.
|
ColumnDef<I,T> |
ColumnDef.label(String columnLabel)
Set the column header's label.
|
ColumnDef<I,T> |
ColumnDef.nowrap()
Set the column to nowrap.
|
ColumnDef<I,T> |
ColumnDef.numeric(NumericPresentation np)
Set the numeric presentation for this column.
|
ColumnDef<I,T> |
ColumnDef.property(String name)
Use to set the property name for a column that wraps the whole record
(a column defined by
RowRenderer.column(). |
ColumnDef<I,T> |
ColumnDef.renderer(INodeContentRenderer<T> cr)
Set the node content renderer.
|
ColumnDef<I,T> |
ColumnDef.sort(ISortHelper<?> sh)
Set a sort helper to be used for this column.
|
ColumnDef<I,T> |
ColumnDef.sort(String propertyName)
For a column that represents the whole entity, this can specify which property of
the entity is to be used to sort on.
|
ColumnDef<I,T> |
ColumnDef.sortdefault()
Set this column as the default column to sort on.
|
ColumnDef<I,T> |
ColumnDef.width(String w) |
ColumnDef<I,T> |
ColumnDef.wrap()
Make sure this column's contents are wrapped (by default columns added by
RowRenderer are marked as not wrappable. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<ColumnDef<T,?>> |
ColumnList.iterator()
Return the iterator for all elements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnList.add(ColumnDef<T,?> cd) |
int |
ColumnList.indexOf(ColumnDef<T,?> scd) |
protected <X> void |
RowRenderer.renderColumn(TableModelTableBase<T> tbl,
ColumnContainer<T> cc,
int index,
T instance,
ColumnDef<T,X> cd)
Render a single column fully.
|
void |
RowRenderer.setDefaultSort(ColumnDef<T,?> cd,
SortableType type)
Sets default sort column on row renderer.
|
void |
ColumnList.setSortColumn(ColumnDef<T,?> cd) |
void |
ColumnList.setSortColumn(ColumnDef<T,?> cd,
SortableType type) |
protected void |
RowRenderer.setSortColumn(ColumnDef<T,?> cd,
SortableType type) |
protected void |
ColumnList.updateDefaultSort(ColumnDef<T,?> scd) |
Copyright © 2017 etc.to. All rights reserved.