org.gwtbootstrap3.client.ui
Class InlineRadio
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.FocusWidget
com.google.gwt.user.client.ui.ButtonBase
org.gwtbootstrap3.client.ui.gwt.ButtonBase
org.gwtbootstrap3.client.ui.CheckBox
org.gwtbootstrap3.client.ui.Radio
org.gwtbootstrap3.client.ui.InlineRadio
- All Implemented Interfaces:
- IsEditor<LeafValueEditor<Boolean>>, HasAllDragAndDropHandlers, HasAllFocusHandlers, HasAllGestureHandlers, HasAllKeyHandlers, HasAllMouseHandlers, HasAllTouchHandlers, HasBlurHandlers, HasChangeHandlers, HasClickHandlers, HasDoubleClickHandlers, HasDragEndHandlers, HasDragEnterHandlers, HasDragHandlers, HasDragLeaveHandlers, HasDragOverHandlers, HasDragStartHandlers, HasDropHandlers, HasFocusHandlers, HasGestureChangeHandlers, HasGestureEndHandlers, HasGestureStartHandlers, HasKeyDownHandlers, HasKeyPressHandlers, HasKeyUpHandlers, HasMouseDownHandlers, HasMouseMoveHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseUpHandlers, HasMouseWheelHandlers, HasTouchCancelHandlers, HasTouchEndHandlers, HasTouchMoveHandlers, HasTouchStartHandlers, HasAttachHandlers, HasValueChangeHandlers<Boolean>, HasHandlers, HasDirectionEstimator, HasSafeHtml, EventListener, TakesValue<Boolean>, Focusable, HasDirectionalSafeHtml, HasDirectionalText, HasEnabled, HasFocus, HasHTML, HasName, HasText, HasValue<Boolean>, HasVisibility, HasWordWrap, IsWidget, SourcesClickEvents, SourcesFocusEvents, SourcesKeyboardEvents, SourcesMouseEvents, HasFormValue, HasId, HasPull, HasResponsiveness
public class InlineRadio
- extends Radio
An inline radio button widget.
- Author:
- Sven Jacobs
- See Also:
Radio
|
Constructor Summary |
InlineRadio(String name)
Creates a new radio associated with a particular group name. |
InlineRadio(String name,
SafeHtml label)
Creates a new radio associated with a particular group, and initialized
with the given HTML label. |
InlineRadio(String name,
SafeHtml label,
DirectionEstimator directionEstimator)
|
InlineRadio(String name,
SafeHtml label,
HasDirection.Direction dir)
|
InlineRadio(String name,
String label)
Creates a new radio associated with a particular group, and initialized
with the given HTML label. |
InlineRadio(String name,
String label,
boolean asHTML)
Creates a new radio button associated with a particular group, and
initialized with the given label (optionally treated as HTML). |
InlineRadio(String name,
String label,
DirectionEstimator directionEstimator)
|
InlineRadio(String name,
String label,
HasDirection.Direction dir)
|
| Methods inherited from class org.gwtbootstrap3.client.ui.CheckBox |
addChangeHandler, addValueChangeHandler, asEditor, getDirectionEstimator, getFormValue, getHTML, getName, getTabIndex, getText, getTextDirection, getValue, getWordWrap, isEnabled, onEnsureDebugId, onLoad, onUnload, setAccessKey, setDirectionEstimator, setDirectionEstimator, setEnabled, setFocus, setFormValue, setHTML, setHTML, setTabIndex, setText, setText, setValue, setValue, setWordWrap |
| Methods inherited from class com.google.gwt.user.client.ui.FocusWidget |
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, onAttach, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener |
| 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, isAttached, isOrWasAttached, onBrowserEvent, onDetach, removeFromParent, setLayoutData, 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, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString |
InlineRadio
public InlineRadio(String name,
SafeHtml label)
- Creates a new radio associated with a particular group, and initialized
with the given HTML label. All radio buttons associated with the same
group name belong to a mutually-exclusive set.
Radio buttons are grouped by their name attribute, so changing their name
using the setName() method will also change their associated group.
- Parameters:
name - the group name with which to associate the radio buttonlabel - this radio button's html label
InlineRadio
public InlineRadio(String name,
SafeHtml label,
HasDirection.Direction dir)
- Parameters:
name - the group name with which to associate the radio buttonlabel - this radio button's html labeldir - the text's direction. Note that DEFAULT means
direction should be inherited from the widget's parent
element.- See Also:
InlineRadio(String, SafeHtml)
InlineRadio
public InlineRadio(String name,
SafeHtml label,
DirectionEstimator directionEstimator)
- Parameters:
name - the group name with which to associate the radio buttonlabel - this radio button's html labeldirectionEstimator - A DirectionEstimator object used for automatic direction
adjustment. For convenience,
#DEFAULT_DIRECTION_ESTIMATOR can be used.- See Also:
InlineRadio(String, SafeHtml)
InlineRadio
public InlineRadio(String name,
String label)
- Creates a new radio associated with a particular group, and initialized
with the given HTML label. All radio buttons associated with the same
group name belong to a mutually-exclusive set.
Radio buttons are grouped by their name attribute, so changing their name
using the setName() method will also change their associated group.
- Parameters:
name - the group name with which to associate the radio buttonlabel - this radio button's label
InlineRadio
public InlineRadio(String name,
String label,
HasDirection.Direction dir)
- Parameters:
name - the group name with which to associate the radio buttonlabel - this radio button's labeldir - the text's direction. Note that DEFAULT means
direction should be inherited from the widget's parent
element.- See Also:
InlineRadio(String, SafeHtml)
InlineRadio
public InlineRadio(String name,
String label,
DirectionEstimator directionEstimator)
- Parameters:
name - the group name with which to associate the radio buttonlabel - this radio button's labeldirectionEstimator - A DirectionEstimator object used for automatic direction
adjustment. For convenience,
#DEFAULT_DIRECTION_ESTIMATOR can be used.- See Also:
InlineRadio(String, SafeHtml)
InlineRadio
public InlineRadio(String name,
String label,
boolean asHTML)
- Creates a new radio button associated with a particular group, and
initialized with the given label (optionally treated as HTML). All radio
buttons associated with the same group name belong to a
mutually-exclusive set.
Radio buttons are grouped by their name attribute, so changing their name
using the setName() method will also change their associated group.
- Parameters:
name - name the group with which to associate the radio buttonlabel - this radio button's labelasHTML - true to treat the specified label as HTML
InlineRadio
@UiConstructor
public InlineRadio(String name)
- Creates a new radio associated with a particular group name. All radio
buttons associated with the same group name belong to a
mutually-exclusive set.
Radio buttons are grouped by their name attribute, so changing their name
using the setName() method will also change their associated group.
- Parameters:
name - the group name with which to associate the radio button
Copyright © 2015. All rights reserved.