|
||||||||||
| 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.ButtonBase
org.gwtbootstrap3.client.ui.gwt.ButtonBase
org.gwtbootstrap3.client.ui.CheckBox
org.gwtbootstrap3.client.ui.CheckBoxButton
public class CheckBoxButton
Button representing a checkbox used within a ButtonGroup that has
toggle set to Toogle.BUTTONS.
CheckBox.
| 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 org.gwtbootstrap3.client.ui.CheckBox |
|---|
inputElem, labelElem |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
CheckBoxButton()
|
protected |
CheckBoxButton(InputElement element)
|
|
CheckBoxButton(SafeHtml label)
Creates a check box button with the specified text label. |
|
CheckBoxButton(SafeHtml label,
DirectionEstimator directionEstimator)
Creates a check box button with the specified text label. |
|
CheckBoxButton(SafeHtml label,
HasDirection.Direction dir)
Creates a check box button with the specified text label. |
|
CheckBoxButton(String label)
Creates a check box button with the specified text label. |
|
CheckBoxButton(String label,
boolean asHTML)
Creates a check box button with the specified text label. |
|
CheckBoxButton(String label,
DirectionEstimator directionEstimator)
Creates a label with the specified text and a default direction estimator. |
|
CheckBoxButton(String label,
HasDirection.Direction dir)
Creates a check box button with the specified text label. |
| Method Summary | |
|---|---|
protected void |
ensureDomEventHandlers()
|
IconType |
getIcon()
|
IconFlip |
getIconFlip()
|
IconPosition |
getIconPosition()
|
IconRotate |
getIconRotate()
|
IconSize |
getIconSize()
|
ButtonSize |
getSize()
Get the size of the widget |
ButtonType |
getType()
Gets the type of the widget |
boolean |
isActive()
Gets whether or not the widget has the active styles |
boolean |
isIconBordered()
|
boolean |
isIconFixedWidth()
|
boolean |
isIconLight()
|
boolean |
isIconMuted()
|
boolean |
isIconSpin()
|
void |
setActive(boolean active)
Sets the widget with the active styles or not |
void |
setIcon(IconType iconType)
|
void |
setIconBordered(boolean iconBordered)
|
void |
setIconFixedWidth(boolean iconFixedWidth)
|
void |
setIconFlip(IconFlip iconFlip)
|
void |
setIconLight(boolean iconLight)
|
void |
setIconMuted(boolean iconMuted)
|
void |
setIconPosition(IconPosition iconPosition)
|
void |
setIconRotate(IconRotate iconRotate)
|
void |
setIconSize(IconSize iconSize)
|
void |
setIconSpin(boolean iconSpin)
|
void |
setSize(ButtonSize size)
Set the size of the widget |
void |
setType(ButtonType type)
Sets the type on the widget |
void |
sinkEvents(int eventBitsToAdd)
|
| 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, setName, setTabIndex, setText, setText, setValue, setValue, setWordWrap |
| Methods inherited from class org.gwtbootstrap3.client.ui.gwt.ButtonBase |
|---|
getId, getPull, setHiddenOn, setId, setPull, setVisibleOn |
| Methods inherited from class com.google.gwt.user.client.ui.ButtonBase |
|---|
setHTML |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Methods inherited from interface com.google.gwt.safehtml.client.HasSafeHtml |
|---|
setHTML |
| Constructor Detail |
|---|
public CheckBoxButton(SafeHtml label)
label - the check box's label
public CheckBoxButton(SafeHtml label,
HasDirection.Direction dir)
label - the check box's labeldir - the text's direction. Note that DEFAULT means
direction should be inherited from the widget's parent
element.
public CheckBoxButton(SafeHtml label,
DirectionEstimator directionEstimator)
label - the check box's labeldirectionEstimator - A DirectionEstimator object used for automatic direction
adjustment. For convenience,
#DEFAULT_DIRECTION_ESTIMATOR can be used.public CheckBoxButton(String label)
label - the check box's label
public CheckBoxButton(String label,
HasDirection.Direction dir)
label - the check box's labeldir - the text's direction. Note that DEFAULT means
direction should be inherited from the widget's parent
element.
public CheckBoxButton(String label,
DirectionEstimator directionEstimator)
label - the check box's labeldirectionEstimator - A DirectionEstimator object used for automatic direction
adjustment. For convenience,
#DEFAULT_DIRECTION_ESTIMATOR can be used.
public CheckBoxButton(String label,
boolean asHTML)
label - the check box's labelasHTML - true to treat the specified label as htmlpublic CheckBoxButton()
protected CheckBoxButton(InputElement element)
| Method Detail |
|---|
protected void ensureDomEventHandlers()
ensureDomEventHandlers in class CheckBoxpublic void sinkEvents(int eventBitsToAdd)
sinkEvents in class CheckBoxpublic void setSize(ButtonSize size)
HasSize
setSize in interface HasSize<ButtonSize>size - T size of the widgetpublic ButtonSize getSize()
HasSize
getSize in interface HasSize<ButtonSize>public void setType(ButtonType type)
HasType
setType in interface HasType<ButtonType>type - T typepublic ButtonType getType()
HasType
getType in interface HasType<ButtonType>public void setActive(boolean active)
HasActive
setActive in interface HasActiveactive - true=gets active styles, false=removes active stylespublic boolean isActive()
HasActive
isActive in interface HasActivepublic void setIconPosition(IconPosition iconPosition)
setIconPosition in interface HasIconPositionpublic IconPosition getIconPosition()
getIconPosition in interface HasIconPositionpublic void setIcon(IconType iconType)
setIcon in interface HasIconpublic IconType getIcon()
getIcon in interface HasIconpublic void setIconSize(IconSize iconSize)
setIconSize in interface HasIconpublic IconSize getIconSize()
getIconSize in interface HasIconpublic void setIconFlip(IconFlip iconFlip)
setIconFlip in interface HasIconpublic IconFlip getIconFlip()
getIconFlip in interface HasIconpublic void setIconRotate(IconRotate iconRotate)
setIconRotate in interface HasIconpublic IconRotate getIconRotate()
getIconRotate in interface HasIconpublic void setIconBordered(boolean iconBordered)
setIconBordered in interface HasIconpublic boolean isIconBordered()
isIconBordered in interface HasIconpublic void setIconMuted(boolean iconMuted)
setIconMuted in interface HasIconpublic boolean isIconMuted()
isIconMuted in interface HasIconpublic void setIconLight(boolean iconLight)
setIconLight in interface HasIconpublic boolean isIconLight()
isIconLight in interface HasIconpublic void setIconSpin(boolean iconSpin)
setIconSpin in interface HasIconpublic boolean isIconSpin()
isIconSpin in interface HasIconpublic void setIconFixedWidth(boolean iconFixedWidth)
setIconFixedWidth in interface HasIconpublic boolean isIconFixedWidth()
isIconFixedWidth in interface HasIcon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||