|
||||||||||
| 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.sencha.gxt.widget.core.client.Component
com.sencha.gxt.widget.core.client.cell.CellComponent<C>
com.sencha.gxt.widget.core.client.button.CellButtonBase<java.lang.Boolean>
com.sencha.gxt.widget.core.client.button.ToggleButton
public class ToggleButton
A 2-state toggle button.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor |
|---|
Editor.Ignore, Editor.Path |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
ToggleButton()
Creates a new toggle button. |
|
ToggleButton(java.lang.String text)
Creates a new toggle button. |
|
ToggleButton(ToggleButtonCell cell)
Creates a new toggle button. |
|
| Method Summary | |
|---|---|
boolean |
isAllowDepress()
Returns the allow depress state. |
void |
setAllowDepress(boolean allowDepress)
True to allow a toggle item to be depressed (defaults to true). |
| Methods inherited from class com.sencha.gxt.widget.core.client.button.CellButtonBase |
|---|
addArrowSelectHandler, addBeforeSelectHandler, addSelectHandler, getArrowAlign, getHTML, getIcon, getIconAlign, getMenu, getMenuAlign, getMinWidth, getMouseEvents, getScale, getText, hideMenu, onBrowserEvent, setArrowAlign, setHTML, setHTML, setIcon, setIconAlign, setMenu, setMenuAlign, setMinWidth, setMouseEvents, setScale, setText, showMenu |
| Methods inherited from class com.sencha.gxt.widget.core.client.cell.CellComponent |
|---|
addValueChangeHandler, getCell, getElement, getKeyProvider, getValue, redraw, setValue, setValue, setValue |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public ToggleButton()
public ToggleButton(java.lang.String text)
text - the button textpublic ToggleButton(ToggleButtonCell cell)
cell - the toggle button cell| Method Detail |
|---|
public boolean isAllowDepress()
public void setAllowDepress(boolean allowDepress)
allowDepress - true to allow depressing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||