public abstract class VOptionGroupBase extends com.google.gwt.user.client.ui.Composite implements Field, com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.dom.client.ChangeHandler, com.google.gwt.event.dom.client.KeyPressHandler, Focusable, com.google.gwt.user.client.ui.HasEnabled
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSNAME_OPTION |
ApplicationConnection |
client
For internal use only.
|
int |
cols
For internal use only.
|
com.google.gwt.user.client.ui.Panel |
container
Panel containing the component.
|
boolean |
immediate
For internal use only.
|
boolean |
multiselect
For internal use only.
|
VNativeButton |
newItemButton
For internal use only.
|
VTextField |
newItemField
For internal use only.
|
boolean |
nullSelectionAllowed
For internal use only.
|
boolean |
nullSelectionItemAvailable
For internal use only.
|
com.google.gwt.user.client.ui.Widget |
optionsContainer
Widget holding the different options (e.g.
|
String |
paintableId
For internal use only.
|
int |
rows
For internal use only.
|
Set<String> |
selectedKeys
For internal use only.
|
| Constructor and Description |
|---|
VOptionGroupBase(String classname) |
VOptionGroupBase(com.google.gwt.user.client.ui.Widget w,
String classname) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
buildOptions(UIDL uidl)
For internal use only.
|
int |
getColumns()
For internal use only.
|
int |
getRows()
For internal use only.
|
protected String |
getSelectedItem() |
protected abstract String[] |
getSelectedItems() |
boolean |
isEnabled() |
protected boolean |
isImmediate() |
protected boolean |
isMultiselect() |
protected boolean |
isNullSelectionAllowed() |
protected boolean |
isNullSelectionItemAvailable() |
boolean |
isReadonly() |
void |
onChange(com.google.gwt.event.dom.client.ChangeEvent event) |
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event) |
void |
setEnabled(boolean enabled) |
void |
setReadonly(boolean readonly) |
abstract void |
setTabIndex(int tabIndex) |
protected abstract void |
updateEnabledState() |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic static final String CLASSNAME_OPTION
public ApplicationConnection client
public String paintableId
public Set<String> selectedKeys
public boolean immediate
public boolean multiselect
public int cols
public int rows
public boolean nullSelectionAllowed
public boolean nullSelectionItemAvailable
public com.google.gwt.user.client.ui.Widget optionsContainer
For internal use only. May be removed or replaced in the future.
public final com.google.gwt.user.client.ui.Panel container
For internal use only. May be removed or replaced in the future.
public VTextField newItemField
public VNativeButton newItemButton
public VOptionGroupBase(String classname)
public VOptionGroupBase(com.google.gwt.user.client.ui.Widget w,
String classname)
protected boolean isImmediate()
protected boolean isMultiselect()
public boolean isEnabled()
isEnabled in interface com.google.gwt.user.client.ui.HasEnabledpublic boolean isReadonly()
protected boolean isNullSelectionAllowed()
protected boolean isNullSelectionItemAvailable()
public int getColumns()
public int getRows()
public abstract void setTabIndex(int tabIndex)
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerpublic void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
onChange in interface com.google.gwt.event.dom.client.ChangeHandlerpublic void onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
onKeyPress in interface com.google.gwt.event.dom.client.KeyPressHandlerpublic void setReadonly(boolean readonly)
public void setEnabled(boolean enabled)
setEnabled in interface com.google.gwt.user.client.ui.HasEnabledpublic abstract void buildOptions(UIDL uidl)
protected abstract String[] getSelectedItems()
protected abstract void updateEnabledState()
protected String getSelectedItem()
Copyright © 2016 Vaadin Ltd. All rights reserved.