public class UiWidgetAdapterGwtToggleButton extends UiWidgetAdapterGwtClickable<SimpleToggleButton> implements UiWidgetAdapterToggleButton
UiWidgetAdapterToggleButton
using GWT based on
SimpleToggleButton
.TAB_INDEX_NONE
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
PROPERTY_LABEL
ATTRIBUTE_COLSPAN
Constructor and Description |
---|
UiWidgetAdapterGwtToggleButton()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected SimpleToggleButton |
createToplevelWidget()
This method creates the
underlying widget . |
Boolean |
getValue()
This method gets the value of this object.
|
void |
setLabel(String label)
This method sets the
label of this object. |
void |
setValue(Boolean value)
This method sets the
value . |
getWidgetAsFocusable, getWidgetAsHasAllFocusHandlers, getWidgetAsKeyPressHandlers, setEnabled
applyEventAdapterForClick, applyEventAdapterForFocus, getKeyboardFilter, getWidgetAsHasBlurHandlers, getWidgetAsHasFocusHandlers, setAccessKey, setClickEventSender, setFocused, setKeyboardFilter
dispose, getActiveWidget, removeFromParent
addHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisible
applyEventAdapter, applyEventAdapterForChange, applyEventAdapterForSelection, getEventAdapter, setEventSender
createLabel, getAccessKey, getAltText, getAttribute, getBundle, getColumnSpan, getContext, getHeightInRows, getId, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, getValidationFailure, hasStyle, isDisposed, isEnabled, isFocused, isResizable, setMode, setParent, setUiWidget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFocused
setFocused
setAccessKey
getAccessKey
createAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisible
setId
getId
setTooltip
getTooltip
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
setLength
getLength
getHeightInPixel, getWidthInPixel
getAttribute
setAttribute
getLabel
setImage
getImage
public UiWidgetAdapterGwtToggleButton()
protected SimpleToggleButton createToplevelWidget()
underlying widget
. createToplevelWidget
in class AbstractUiWidgetAdapter<SimpleToggleButton>
underlying widget
.public void setLabel(String label)
label
of this object.setLabel
in interface AttributeWriteLabel
label
- is the new label
to set.public void setValue(Boolean value)
value
.setValue
in interface AttributeWriteValue<Boolean>
value
- is the new value
. May be null
unless otherwise stated.public Boolean getValue()
getValue
in interface AttributeReadValue<Boolean>
null
unless otherwise stated.Copyright © 2001–2014 mmm-Team. All rights reserved.