public class MaterialCheckBox extends BaseCheckBox implements HasGrid
// Default
<m:MaterialCheckBox text="Option 1"/>
// Filled
<m:MaterialCheckBox text="Option 1" type="FILLED"/>
DEFAULT_DIRECTION_ESTIMATOR
Constructor and Description |
---|
MaterialCheckBox() |
MaterialCheckBox(com.google.gwt.dom.client.Element elem) |
MaterialCheckBox(com.google.gwt.safehtml.shared.SafeHtml label) |
MaterialCheckBox(com.google.gwt.safehtml.shared.SafeHtml label,
com.google.gwt.i18n.shared.DirectionEstimator directionEstimator) |
MaterialCheckBox(com.google.gwt.safehtml.shared.SafeHtml label,
com.google.gwt.i18n.client.HasDirection.Direction dir) |
MaterialCheckBox(String label) |
MaterialCheckBox(String label,
boolean asHTML) |
MaterialCheckBox(String label,
CheckBoxType type) |
MaterialCheckBox(String label,
com.google.gwt.i18n.shared.DirectionEstimator directionEstimator) |
MaterialCheckBox(String label,
com.google.gwt.i18n.client.HasDirection.Direction dir) |
Modifier and Type | Method and Description |
---|---|
GridMixin<MaterialCheckBox> |
getGridMixin() |
Object |
getObject() |
ToggleStyleMixin<MaterialCheckBox> |
getToggleOldMixin() |
CheckBoxType |
getType() |
boolean |
isOld() |
protected void |
onLoad()
This method is called when a widget is attached to the browser's document.
|
void |
setGrid(String grid)
Setting the grid for responsiveness don't forget to build
rows first before setting the grid on each material widgets.
|
void |
setObject(Object object) |
void |
setOffset(String offset)
Setting the offset.
|
void |
setOld(boolean old)
Used the old checkbox.
|
void |
setType(CheckBoxType type)
Setting the type of Checkbox.
|
addValueChangeHandler, asEditor, ensureDomEventHandlers, getDirectionEstimator, getFormValue, getHTML, getName, getTabIndex, getText, getTextDirection, getValue, getWordWrap, isChecked, isEnabled, onEnsureDebugId, onUnload, setAccessKey, setDirectionEstimator, setDirectionEstimator, setEnabled, setFocus, setFormValue, setHTML, setHTML, setName, setTabIndex, setText, setText, setValue, setValue, setWordWrap, sinkEvents
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
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onDetach, removeFromParent, setLayoutData, unsinkEvents
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
public MaterialCheckBox()
public MaterialCheckBox(com.google.gwt.dom.client.Element elem)
public MaterialCheckBox(com.google.gwt.safehtml.shared.SafeHtml label, com.google.gwt.i18n.client.HasDirection.Direction dir)
public MaterialCheckBox(com.google.gwt.safehtml.shared.SafeHtml label, com.google.gwt.i18n.shared.DirectionEstimator directionEstimator)
public MaterialCheckBox(com.google.gwt.safehtml.shared.SafeHtml label)
public MaterialCheckBox(String label, boolean asHTML)
public MaterialCheckBox(String label, com.google.gwt.i18n.client.HasDirection.Direction dir)
public MaterialCheckBox(String label, com.google.gwt.i18n.shared.DirectionEstimator directionEstimator)
public MaterialCheckBox(String label)
public MaterialCheckBox(String label, CheckBoxType type)
protected void onLoad()
BaseCheckBox
Widget.onAttach()
to preserve the onAttach
contract.onLoad
in class BaseCheckBox
public void setGrid(String grid)
HasGrid
public void setOffset(String offset)
HasGrid
public void setOld(boolean old)
public boolean isOld()
public void setType(CheckBoxType type)
public CheckBoxType getType()
public GridMixin<MaterialCheckBox> getGridMixin()
public ToggleStyleMixin<MaterialCheckBox> getToggleOldMixin()
Copyright © 2018. All rights reserved.