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_TABLEPROPERTY_SUMMARYPROPERTY_TITLESTYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_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, setColumnsgetTitle, setTitleaddSelectionHandler, isSelected, removeSelectionHandler, setSelectionsetSelectedValue, setSelectedValuesgetSelectedValue, getSelectedValues, getSelectionCount, hasSelectedValuesetSelectionModegetSelectionModesetSummarygetSummarysetTitleVisibleisTitleVisiblesetEditableisEditableasFeatureSelectedValuegetValuegetValueAndValidate, getValueDirectaddChangeHandler, removeChangeHandlerresetValue, setValue, setValue, setValueForUsergetOriginalValue, getValueOrExceptionaddValidatorMandatory, isMandatoryaddValidator, removeValidatorvalidategetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRoleint 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.