public class ExpandedColumnDef<T> extends Object
| Constructor and Description |
|---|
ExpandedColumnDef(ColumnDefList<?> defList,
Class<T> columnType,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExpanded(SimpleColumnDef<?> ccd)
When this def actually represents a set of columns, expanded because of the source property being
an expanded property, then this adds all of the source columns.
|
ExpandedColumnDef<T> |
ascending()
Set the default sort order to ascending first.
|
ExpandedColumnDef<T> |
descending()
Set the default sort order to descending first.
|
String |
getPropertyName() |
SortableType |
getSortable() |
String |
getWidth() |
boolean |
isSimple()
Return T if this column is expanded but only to one other column.
|
SimpleColumnDef<?> |
simple() |
ExpandedColumnDef<T> |
sortdefault()
Set this column as the default column to sort on.
|
ExpandedColumnDef<T> |
width(String w) |
public boolean isSimple()
@Nonnull public SimpleColumnDef<?> simple()
protected void addExpanded(@Nonnull SimpleColumnDef<?> ccd)
ccd - @Nonnull public ExpandedColumnDef<T> width(@Nullable String w)
@Nonnull public SortableType getSortable()
@Nonnull public ExpandedColumnDef<T> ascending()
@Nonnull public ExpandedColumnDef<T> descending()
@Nonnull public ExpandedColumnDef<T> sortdefault()
Copyright © 2017 etc.to. All rights reserved.