|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.terminal.gwt.client.communication.SharedState
com.vaadin.terminal.gwt.client.ComponentState
com.vaadin.terminal.gwt.client.ui.button.ButtonState
public class ButtonState
Shared state for Button and NativeButton.
ComponentState,
Serialized Form| Constructor Summary | |
|---|---|
ButtonState()
|
|
| Method Summary | |
|---|---|
int |
getClickShortcutKeyCode()
Returns the key code for activating the button via a keyboard shortcut. |
boolean |
isDisableOnClick()
Checks whether the button should be disabled on the client side on next click. |
void |
setClickShortcutKeyCode(int clickShortcutKeyCode)
Sets the key code for activating the button via a keyboard shortcut. |
void |
setDisableOnClick(boolean disableOnClick)
Sets whether the button should be disabled on the client side on next click. |
| Methods inherited from class com.vaadin.terminal.gwt.client.ComponentState |
|---|
addRegisteredEventListener, getCaption, getDebugId, getDescription, getErrorMessage, getHeight, getIcon, getRegisteredEventListeners, getStyles, getWidth, hasDescription, hasStyles, isEnabled, isImmediate, isReadOnly, isUndefinedHeight, isUndefinedWidth, isVisible, removeRegisteredEventListener, setCaption, setDebugId, setDescription, setEnabled, setErrorMessage, setHeight, setIcon, setImmediate, setReadOnly, setRegisteredEventListeners, setStyles, setVisible, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ButtonState()
| Method Detail |
|---|
public boolean isDisableOnClick()
public void setDisableOnClick(boolean disableOnClick)
disableOnClick - true if the button should be disabled on clickpublic int getClickShortcutKeyCode()
Button.setClickShortcut(int, int...) for more information.
public void setClickShortcutKeyCode(int clickShortcutKeyCode)
Button.setClickShortcut(int, int...) for more information.
clickShortcutKeyCode - key code or 0 for none
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||