ROW
- is the generic type of a row in the value list
.public interface UiWidgetListTable<ROW> extends UiWidgetAbstractListTable<ROW>, UiWidgetNative
list table widget
. Its
value
is the actual list that is displayed and may be modified by the end-user. For a
general feature list see UiWidgetAbstractDataTable
. UiWidgetAbstractListTable.addRow(Object, int)
,
UiWidgetAbstractListTable.removeRow(Object)
, etc.) as they are a lot more efficient than AttributeWriteValueAdvanced.setValue(Object, boolean)
.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 |
---|---|
List<ROW> |
getValue()
|
addRow, addRow, getRowIndex, removeRow, replaceRow
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
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
List<ROW> getValue()
edited
,
rows added or removed
, etc.) by the end-user.
This method gets the value of this object.
This will typically be a newly created object. null
instead. If you want to do validation and give feedback to the
user please use AttributeReadValueAdvanced.getValueOrException(Object)
instead. However, there are higher-level ways to do
this such as
getValueAndValidate
.
set values
and allow them to be modified in the UI
without side-effects on the original value. This is especially important for composite custom widgets
(e.g. editors
) to allow the
user to modify business entities and modifications can still be cancelled and changed will be reverted.
All objects that are (potentially) modified by the widgets will be copied. Therefore it is even safe to
modify the result of this method in most cases. However,
tree widgets
build an excuse and use
a copy on set/retrieve
strategy
.getValue
in interface AttributeReadValue<List<ROW>>
getValue
in interface AttributeReadValueAdvanced<List<ROW>>
getValue
in interface UiWidgetWithValue<List<ROW>>
null
unless otherwise stated.Copyright © 2001–2016 mmm-Team. All rights reserved.