org.gwtbootstrap3.client.ui
Class InlineCheckBox

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.FocusWidget
              extended by com.google.gwt.user.client.ui.ButtonBase
                  extended by org.gwtbootstrap3.client.ui.gwt.ButtonBase
                      extended by org.gwtbootstrap3.client.ui.CheckBox
                          extended by org.gwtbootstrap3.client.ui.InlineCheckBox
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 InlineCheckBox
extends CheckBox

An inline check box widget.

Author:
Sven Jacobs
See Also:
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
InlineCheckBox()
           
InlineCheckBox(SafeHtml label)
          Creates a check box with the specified text label.
InlineCheckBox(SafeHtml label, DirectionEstimator directionEstimator)
          Creates a check box with the specified text label.
InlineCheckBox(SafeHtml label, HasDirection.Direction dir)
          Creates a check box with the specified text label.
InlineCheckBox(String label)
          Creates a check box with the specified text label.
InlineCheckBox(String label, boolean asHTML)
          Creates a check box with the specified text label.
InlineCheckBox(String label, DirectionEstimator directionEstimator)
          Creates a label with the specified text and a default direction estimator.
InlineCheckBox(String label, HasDirection.Direction dir)
          Creates a check box with the specified text label.
 
Method Summary
 
Methods inherited from class org.gwtbootstrap3.client.ui.CheckBox
addChangeHandler, addValueChangeHandler, asEditor, ensureDomEventHandlers, 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, sinkEvents
 
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.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
 
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

InlineCheckBox

public InlineCheckBox(SafeHtml label)
Creates a check box with the specified text label.

Parameters:
label - the check box's label

InlineCheckBox

public InlineCheckBox(SafeHtml label,
                      HasDirection.Direction dir)
Creates a check box with the specified text label.

Parameters:
label - the check box's label
dir - the text's direction. Note that DEFAULT means direction should be inherited from the widget's parent element.

InlineCheckBox

public InlineCheckBox(SafeHtml label,
                      DirectionEstimator directionEstimator)
Creates a check box with the specified text label.

Parameters:
label - the check box's label
directionEstimator - A DirectionEstimator object used for automatic direction adjustment. For convenience, #DEFAULT_DIRECTION_ESTIMATOR can be used.

InlineCheckBox

public InlineCheckBox(String label)
Creates a check box with the specified text label.

Parameters:
label - the check box's label

InlineCheckBox

public InlineCheckBox(String label,
                      HasDirection.Direction dir)
Creates a check box with the specified text label.

Parameters:
label - the check box's label
dir - the text's direction. Note that DEFAULT means direction should be inherited from the widget's parent element.

InlineCheckBox

public InlineCheckBox(String label,
                      DirectionEstimator directionEstimator)
Creates a label with the specified text and a default direction estimator.

Parameters:
label - the check box's label
directionEstimator - A DirectionEstimator object used for automatic direction adjustment. For convenience, #DEFAULT_DIRECTION_ESTIMATOR can be used.

InlineCheckBox

public InlineCheckBox(String label,
                      boolean asHTML)
Creates a check box with the specified text label.

Parameters:
label - the check box's label
asHTML - true to treat the specified label as html

InlineCheckBox

public InlineCheckBox()


Copyright © 2015. All rights reserved.