ROW
- is the generic type of a row in the value list
.public interface UiWidgetAbstractListTable<ROW> extends UiWidgetAbstractDataTable<ROW>, UiWidgetListBase<ROW>
data table widget
that represents a
list table. STYLE_DATA_TABLE
PROPERTY_SUMMARY
PROPERTY_TITLE
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
Modifier and Type | Method and Description |
---|---|
void |
addRow(ROW row)
Adds the given row at the end of this list table.
|
void |
addRow(ROW row,
int index)
Adds the given row to this list table.
|
int |
getRowIndex(ROW row)
Gets the index of the given
row . |
boolean |
removeRow(ROW row)
This method removes the given
row . |
boolean |
replaceRow(ROW oldRow,
ROW newRow)
This method replaces a <ROW> in this list table.
|
createColumn, createColumn, getColumn, getColumnById, getColumnCount, getRowNumberColumn, getSelectionColumn, setColumns
getTitle, setTitle
addSelectionHandler, isSelected, removeSelectionHandler, setSelection
setSelectedValue, setSelectedValues
getSelectedValue, getSelectedValues, getSelectionCount, hasSelectedValue
setSelectionMode
getSelectionMode
setSummary
getSummary
setTitleVisible
isTitleVisible
setEditable
isEditable
asFeatureSelectedValue
getValue
getValueAndValidate, getValueDirect
addChangeHandler, removeChangeHandler
resetValue, setValue, setValue, setValueForUser
getOriginalValue, getValueOrException
addValidatorMandatory, isMandatory
addValidator, removeValidator
validate
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
int getRowIndex(ROW row)
row
. addRow(Object, int)
to insert a row before
or after a given row such as the selected row
. Please avoid storing such
index and use it later as this can cause fatal bugs.row
- is the <ROW> to locate.-1
if not found.List.indexOf(Object)
void addRow(ROW row)
row
- is the <ROW> to add.addRow(Object, int)
void addRow(ROW row, int index)
getRowIndex(Object)
.row
- is the <ROW> to add.index
- is the index where to add the given row
.boolean replaceRow(ROW oldRow, ROW newRow)
oldRow
- is the old <ROW> to replace.newRow
- is the new <ROW> to insert in place of the old one.true
if oldRow
was found and replaced, false
otherwise (if
this list table does not contain oldRow
and nothing was changed).boolean removeRow(ROW row)
row
.row
- is the <ROW> to remove.true
if the row
was found and removed, false
otherwise (if
this list table does not contain oldRow
and nothing was changed).Copyright © 2001–2016 mmm-Team. All rights reserved.