public class ToggleButtonCell extends ButtonCell<Boolean>
ButtonCell.ButtonArrowAlign, ButtonCell.ButtonCellAppearance<C>, ButtonCell.ButtonScale, ButtonCell.IconAlignCell.Context| Constructor and Description |
|---|
ToggleButtonCell()
Creates a toggle button cell with default appearance.
|
ToggleButtonCell(ButtonCell.ButtonCellAppearance<Boolean> appearance)
Creates a toggle button cell with the specified appearance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowDepress()
Returns the allow depress state.
|
void |
setAllowDepress(boolean allowDepress)
True to allow a toggle item to be depressed (defaults to true).
|
addArrowSelectHandler, addBeforeSelectHandler, addSelectHandler, getAppearance, getArrowAlign, getHTML, getIcon, getIconAlign, getMenu, getMenuAlign, getMinWidth, getMouseEvents, getScale, getText, hideMenu, isHTML, onBrowserEvent, render, setArrowAlign, setHTML, setHTML, setIcon, setIconAlign, setMenu, setMenuAlign, setMinWidth, setMouseEvents, setScale, setText, showMenugetHeight, getWidth, setHeight, setSize, setWidthaddHandler, fireEvent, isDisableEvents, setDisableEventsdependsOnSelection, getConsumedEvents, handlesSelection, isEditing, resetFocus, setValuepublic ToggleButtonCell()
public ToggleButtonCell(ButtonCell.ButtonCellAppearance<Boolean> appearance)
appearance - the appearance of the toggle button cell.public boolean isAllowDepress()
public void setAllowDepress(boolean allowDepress)
allowDepress - true to allow depressingCopyright © 2012. All Rights Reserved.