public class DataList extends com.google.gwt.user.client.ui.Widget implements AttributeWriteOptions<String>
Modifier and Type | Field and Description |
---|---|
private List<String> |
options |
private AttributeWriteDataList |
owner
The owner of this
DataList . |
Constructor and Description |
---|
DataList()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getId() |
List<String> |
getOptions()
This method gets the options of this object.
|
void |
setId(String id) |
void |
setOptions(List<String> options)
This method sets the
options of this object. |
void |
setOwner(AttributeWriteDataList owner) |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
private AttributeWriteDataList owner
DataList
.private List<String> options
getOptions()
public void setId(String id)
id
- is the new ID to set.public String getId()
set
manually.public void setOwner(AttributeWriteDataList owner)
owner
- is the AttributeWriteDataList
owning this DataList
.public List<String> getOptions()
List
shall not contain duplicate entries. It may contain the value
null
.getOptions
in interface AttributeReadOptions<String>
List
with all available options.public void setOptions(List<String> options)
AttributeWriteOptions
options
of this object. The options will be presented in their
order specified by the given List
.setOptions
in interface AttributeWriteOptions<String>
options
- the textual options.Copyright © 2001–2016 mmm-Team. All rights reserved.