public class CheckBox extends com.google.gwt.user.client.ui.CheckBox implements IsSWMMobileWidget
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckBox.CheckBoxIndicator
Indicator class for Android devices.
|
| Constructor and Description |
|---|
CheckBox()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler) |
void |
onInitialLoad()
When the widget is loaded first time.
|
protected void |
onLoad() |
void |
onTransitionEnd()
When an transition containing this widget ends.
|
void |
setEnabled(boolean enabled) |
void |
setImage(com.google.gwt.resources.client.ImageResource imgRes)
Sets an image to be displayed as a label for the checkbox.
|
void |
setSecondaryStyle(String style)
Will set the secondary style.
|
void |
setValue(Boolean value) |
void |
setValue(Boolean checked,
boolean fireEvents) |
addValueChangeHandler, asEditor, ensureDomEventHandlers, getDirectionEstimator, getFormValue, getHTML, getName, getTabIndex, getText, getTextDirection, getValue, getWordWrap, isChecked, isEnabled, onEnsureDebugId, onUnload, replaceInputElement, replaceInputElement, setAccessKey, setChecked, setDirectionEstimator, setDirectionEstimator, setFocus, setFormValue, setHTML, setHTML, setName, setTabIndex, setText, setText, setWordWrap, sinkEventsaddBlurHandler, 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, removeMouseWheelListeneraddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onDetach, removeFromParent, setLayoutData, unsinkEventsaddStyleDependentName, 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, toStringpublic void setImage(com.google.gwt.resources.client.ImageResource imgRes)
imgRes - ImageResource for the image to be displayedpublic void setEnabled(boolean enabled)
setEnabled in interface com.google.gwt.user.client.ui.HasEnabledsetEnabled in class com.google.gwt.user.client.ui.CheckBoxpublic com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
addClickHandler in interface com.google.gwt.event.dom.client.HasClickHandlersaddClickHandler in class com.google.gwt.user.client.ui.FocusWidgetprotected void onLoad()
onLoad in class com.google.gwt.user.client.ui.CheckBoxpublic void setValue(Boolean value)
public void setValue(Boolean checked, boolean fireEvents)
setValue in interface com.google.gwt.user.client.ui.HasValue<Boolean>setValue in class com.google.gwt.user.client.ui.CheckBoxpublic void onInitialLoad()
IsSWMMobileWidgetonInitialLoad in interface IsSWMMobileWidgetpublic void onTransitionEnd()
IsSWMMobileWidgetonTransitionEnd in interface IsSWMMobileWidgetpublic void setSecondaryStyle(String style)
IsSWMMobileWidgetsetSecondaryStyle in interface IsSWMMobileWidgetstyle - the style to set.Copyright © 2011–2015 SWM. All rights reserved.