com.vaadin.terminal.gwt.client.ui.optiongroup
Class VOptionGroup

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by com.vaadin.terminal.gwt.client.ui.optiongroup.VOptionGroupBase
                  extended by com.vaadin.terminal.gwt.client.ui.optiongroup.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.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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
static String ATTRIBUTE_OPTION_DISABLED
           
protected  List<com.google.gwt.event.shared.HandlerRegistration> blurHandlers
           
static String CLASSNAME
           
protected  List<com.google.gwt.event.shared.HandlerRegistration> focusHandlers
           
static String HTML_CONTENT_ALLOWED
           
protected  boolean htmlContentAllowed
           
protected  com.google.gwt.user.client.ui.Panel panel
           
protected  boolean sendBlurEvents
           
protected  boolean sendFocusEvents
           
 
Fields inherited from class com.vaadin.terminal.gwt.client.ui.optiongroup.VOptionGroupBase
CLASSNAME_OPTION, client, cols, container, disabled, immediate, multiselect, newItemButton, newItemField, nullSelectionAllowed, nullSelectionItemAvailable, optionsContainer, paintableId, readonly, rows, selectedKeys
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
VOptionGroup()
           
 
Method Summary
protected  void buildOptions(UIDL uidl)
           
 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)
           
protected  void setTabIndex(int tabIndex)
           
 
Methods inherited from class com.vaadin.terminal.gwt.client.ui.optiongroup.VOptionGroupBase
getColumns, getRows, getSelectedItem, isDisabled, isImmediate, isMultiselect, isNullSelectionAllowed, isNullSelectionItemAvailable, isReadonly, onChange, onKeyPress
 
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
 
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, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HTML_CONTENT_ALLOWED

public static final String HTML_CONTENT_ALLOWED
See Also:
Constant Field Values

CLASSNAME

public static final String CLASSNAME
See Also:
Constant Field Values

ATTRIBUTE_OPTION_DISABLED

public static final String ATTRIBUTE_OPTION_DISABLED
See Also:
Constant Field Values

panel

protected final com.google.gwt.user.client.ui.Panel panel

sendFocusEvents

protected boolean sendFocusEvents

sendBlurEvents

protected boolean sendBlurEvents

focusHandlers

protected List<com.google.gwt.event.shared.HandlerRegistration> focusHandlers

blurHandlers

protected List<com.google.gwt.event.shared.HandlerRegistration> blurHandlers

htmlContentAllowed

protected boolean htmlContentAllowed
Constructor Detail

VOptionGroup

public VOptionGroup()
Method Detail

buildOptions

protected void buildOptions(UIDL uidl)
Specified by:
buildOptions in class VOptionGroupBase

getSelectedItems

protected String[] getSelectedItems()
Specified by:
getSelectedItems in class VOptionGroupBase

onClick

public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
Specified by:
onClick in interface com.google.gwt.event.dom.client.ClickHandler
Overrides:
onClick in class VOptionGroupBase

setTabIndex

protected void setTabIndex(int tabIndex)
Specified by:
setTabIndex in class VOptionGroupBase

focus

public void focus()
Description copied from interface: Focusable
Sets focus to this widget.

Specified by:
focus in interface Focusable

onFocus

public void onFocus(com.google.gwt.event.dom.client.FocusEvent arg0)
Specified by:
onFocus in interface com.google.gwt.event.dom.client.FocusHandler

onBlur

public void onBlur(com.google.gwt.event.dom.client.BlurEvent arg0)
Specified by:
onBlur in interface com.google.gwt.event.dom.client.BlurHandler


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.