|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.SimpleCheckBox
com.google.gwt.user.client.ui.SimpleRadioButton
org.gwtbootstrap3.client.ui.SimpleRadioButton
public class SimpleRadioButton
A simple radio button widget, with no label.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
protected |
SimpleRadioButton(InputElement element)
This constructor may be used by subclasses to explicitly use an existing element. |
|
SimpleRadioButton(String name)
Creates a new radio associated with a particular group name. |
| Method Summary | |
|---|---|
HandlerRegistration |
addChangeHandler(ChangeHandler handler)
|
protected void |
ensureDomEventHandlers()
|
String |
getId()
Gets the ID of the widget |
Pull |
getPull()
|
boolean |
isEnabled()
|
void |
setEnabled(boolean enabled)
|
void |
setHiddenOn(DeviceSize deviceSize)
Sets the devices that the element is hidden on |
void |
setId(String id)
Sets the ID on the widget |
void |
setPull(Pull pull)
|
void |
setVisibleOn(DeviceSize deviceSize)
Sets the devices that the element is visible on |
static SimpleRadioButton |
wrap(Element element)
Creates a SimpleRadioButton widget that wraps an existing <input type='radio'> element. |
| Methods inherited from class com.google.gwt.user.client.ui.SimpleCheckBox |
|---|
addValueChangeHandler, asEditor, getFormValue, getName, getValue, isChecked, onUnload, setChecked, setFormValue, setName, setValue, setValue |
| 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, onLoad, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.gwtbootstrap3.client.ui.base.HasFormValue |
|---|
getFormValue, setFormValue |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
@UiConstructor public SimpleRadioButton(String name)
name - the group name with which to associate the radio buttonprotected SimpleRadioButton(InputElement element)
element - the element to be used| Method Detail |
|---|
public static SimpleRadioButton wrap(Element element)
RootPanel.detachNow(Widget).
element - the element to be wrappedpublic HandlerRegistration addChangeHandler(ChangeHandler handler)
addChangeHandler in interface HasChangeHandlerspublic void setEnabled(boolean enabled)
setEnabled in interface HasEnabledsetEnabled in class SimpleCheckBoxpublic boolean isEnabled()
isEnabled in interface HasEnabledisEnabled in class FocusWidgetpublic void setId(String id)
setId in interface HasIdid - String desired IDpublic String getId()
getId in interface HasIdpublic void setVisibleOn(DeviceSize deviceSize)
setVisibleOn in interface HasResponsivenessdeviceSize - device sizeDeviceSizepublic void setHiddenOn(DeviceSize deviceSize)
setHiddenOn in interface HasResponsivenessdeviceSize - device sizesDeviceSizepublic void setPull(Pull pull)
setPull in interface HasPullpublic Pull getPull()
getPull in interface HasPullprotected void ensureDomEventHandlers()
ensureDomEventHandlers in class SimpleCheckBox
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||