Package com.vaadin.client.ui
Class VOptionGroup
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- com.vaadin.client.ui.VOptionGroupBase
-
- com.vaadin.client.ui.VOptionGroup
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.BlurHandler
,com.google.gwt.event.dom.client.ChangeHandler
,com.google.gwt.event.dom.client.ClickHandler
,com.google.gwt.event.dom.client.FocusHandler
,com.google.gwt.event.dom.client.KeyPressHandler
,com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.EventHandler
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasEnabled
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
,Focusable
,Field
public class VOptionGroup extends VOptionGroupBase implements com.google.gwt.event.dom.client.FocusHandler, com.google.gwt.event.dom.client.BlurHandler
-
-
Field Summary
Fields Modifier and Type Field Description List<com.google.gwt.event.shared.HandlerRegistration>
blurHandlers
For internal use only.static String
CLASSNAME
List<com.google.gwt.event.shared.HandlerRegistration>
focusHandlers
For internal use only.boolean
htmlContentAllowed
For internal use only.com.google.gwt.user.client.ui.Panel
panel
For internal use only.boolean
sendBlurEvents
For internal use only.boolean
sendFocusEvents
For internal use only.-
Fields inherited from class com.vaadin.client.ui.VOptionGroupBase
CLASSNAME_OPTION, client, cols, container, immediate, multiselect, newItemButton, newItemField, nullSelectionAllowed, nullSelectionItemAvailable, optionsContainer, paintableId, rows, selectedKeys
-
-
Constructor Summary
Constructors Constructor Description VOptionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildOptions(UIDL uidl)
For internal use only.void
focus()
Sets focus to this widget.protected String[]
getSelectedItems()
void
onBlur(com.google.gwt.event.dom.client.BlurEvent arg0)
void
onClick(com.google.gwt.event.dom.client.ClickEvent event)
void
onFocus(com.google.gwt.event.dom.client.FocusEvent arg0)
void
setTabIndex(int tabIndex)
protected void
updateEnabledState()
-
Methods inherited from class com.vaadin.client.ui.VOptionGroupBase
getColumns, getRows, getSelectedItem, isEnabled, isImmediate, isMultiselect, isNullSelectionAllowed, isNullSelectionItemAvailable, isReadonly, onChange, onKeyPress, setEnabled, setReadonly
-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, 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, toString
-
-
-
-
Field Detail
-
CLASSNAME
public static final String CLASSNAME
- See Also:
- Constant Field Values
-
panel
public final com.google.gwt.user.client.ui.Panel panel
For internal use only. May be removed or replaced in the future.
-
sendFocusEvents
public boolean sendFocusEvents
For internal use only. May be removed or replaced in the future.
-
sendBlurEvents
public boolean sendBlurEvents
For internal use only. May be removed or replaced in the future.
-
focusHandlers
public List<com.google.gwt.event.shared.HandlerRegistration> focusHandlers
For internal use only. May be removed or replaced in the future.
-
blurHandlers
public List<com.google.gwt.event.shared.HandlerRegistration> blurHandlers
For internal use only. May be removed or replaced in the future.
-
htmlContentAllowed
public boolean htmlContentAllowed
For internal use only. May be removed or replaced in the future.
-
-
Method Detail
-
buildOptions
public void buildOptions(UIDL uidl)
Description copied from class:VOptionGroupBase
For internal use only. May be removed or replaced in the future.- Specified by:
buildOptions
in classVOptionGroupBase
-
getSelectedItems
protected String[] getSelectedItems()
- Specified by:
getSelectedItems
in classVOptionGroupBase
-
onClick
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
- Specified by:
onClick
in interfacecom.google.gwt.event.dom.client.ClickHandler
- Overrides:
onClick
in classVOptionGroupBase
-
setTabIndex
public void setTabIndex(int tabIndex)
- Specified by:
setTabIndex
in classVOptionGroupBase
-
updateEnabledState
protected void updateEnabledState()
- Specified by:
updateEnabledState
in classVOptionGroupBase
-
focus
public void focus()
Description copied from interface:Focusable
Sets focus to this widget.
-
onFocus
public void onFocus(com.google.gwt.event.dom.client.FocusEvent arg0)
- Specified by:
onFocus
in interfacecom.google.gwt.event.dom.client.FocusHandler
-
onBlur
public void onBlur(com.google.gwt.event.dom.client.BlurEvent arg0)
- Specified by:
onBlur
in interfacecom.google.gwt.event.dom.client.BlurHandler
-
-