public interface UiWidgetToggleButton extends UiWidgetWithValue<Boolean>, UiWidgetAbstractButton, UiWidgetNative
regular widget
that represents a
toggle button. It is a stateful
button
that toggles
between up and down state with each click. So it is some sort of hybrid mixture of a
button
and a checkbox
. Such widget commonly has an
icon
and a
tooltip
.Modifier and Type | Field and Description |
---|---|
static String |
STYLE_PRESSED
The
additional style in case this toggle button is pressed down. |
static String |
STYLE_TOGGLE_BUTTON
The
additional style of this widget. |
STYLE_BUTTON
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
WAI_ARIA
PROPERTY_LABEL
getValue
getValueAndValidate, getValueDirect
addChangeHandler, removeChangeHandler
resetValue, setValue, setValue, setValueForUser
getOriginalValue, getValueOrException
addValidatorMandatory, isMandatory
addValidator, removeValidator
setImage
getContext, getParent, getSize
clearMessages
addEventHandler, removeEventHandler
setMode
getMode
setModeFixed
getModeFixed
setId
getId
setTooltip
getTooltip
getVisibleFlag, isVisible, setVisible, setVisible
isVisibleRecursive
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
isModified
getAriaRole
setAccessKey
getAccessKey
addFocusHandler, removeFocusHandler
isFocused
setFocused
addClickHandler, click, removeClickHandler
setLabel
getLabel
getImage
static final String STYLE_TOGGLE_BUTTON
additional style
of this widget.static final String STYLE_PRESSED
additional style
in case this toggle button is pressed down.Copyright © 2001–2016 mmm-Team. All rights reserved.