ROW
- is the generic type of the element representing a row of the grid. It should be a java-bean
oriented object. Immutable objects (that have no setters) can also be used but only for read-only
tables.CELL
- is the generic type of the values located in the cells of this column.public interface UiWidgetTableColumn<ROW,CELL> extends UiWidget, HasValueValidators<CELL>, AttributeWriteStringTitle, AttributeWriteEditable, AttributeWriteResizable, AttributeWriteSortable, AttributeWriteReorderable, AttributeWriteSortComparator<CELL>
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
PROPERTY_TITLE
Modifier and Type | Method and Description |
---|---|
boolean |
isSortable()
This method determines if this object can be sorted.
|
void |
sort()
Like
sort(SortOrder) but will toggle the SortOrder state of this column. |
void |
sort(SortOrder order)
This method sorts the
table-data according to this column using the sort-comparator and the given
order . |
getContext, getParent, getSize
clearMessages
addEventHandler, removeEventHandler
setMode
getMode
setModeFixed
getModeFixed
setId
getId
setTooltip
getTooltip
getVisibleFlag, isVisible, setVisible, setVisible
isVisibleRecursive
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
isModified
getAriaRole
validate
addValidator, removeValidator
setTitle
getTitle
setEditable
isEditable
setResizable
isResizable
setSortable
setReorderable
isReorderable
setSortComparator
getSortComparator
void sort()
sort(SortOrder)
but will toggle the SortOrder
state of this column.void sort(SortOrder order)
table-data
according to this column using the sort-comparator
and the given
order
.order
- is the SortOrder
.boolean isSortable()
AttributeReadSortable
isSortable
in interface AttributeReadSortable
true
if a sort comparator
is
set
and this column allows sorting
, false
otherwise (if AttributeReadSortComparator.getSortComparator()
is null
).Copyright © 2001–2016 mmm-Team. All rights reserved.