|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vostok.vaadin.addon.dialog.ActionWindow.Action
public static class ActionWindow.Action
declare a new action group. Once created action can not be modified
Constructor Summary | |
---|---|
ActionWindow.Action(com.vaadin.ui.Button button,
int action)
create a new item from a button |
|
ActionWindow.Action(java.lang.String i18nkey,
int action)
create a item as a i18nButton directly ftom its key (open, save, yes,no, etc...) |
|
ActionWindow.Action(java.lang.String style,
java.lang.String name,
int action)
create a new item (button) |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getAction()
|
com.vaadin.ui.Button |
getButton()
|
java.lang.String |
getLabel()
return button label |
int |
hashCode()
|
void |
setAction(int action)
|
void |
setLabel(java.lang.String name)
set the button label. if button exist (button realized), it's updated too |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionWindow.Action(java.lang.String style, java.lang.String name, int action)
style
- css class name for the buttonname
- label for the buttonaction
- action
id to call when clicking the button. MUST be unique for the group and >= 0public ActionWindow.Action(java.lang.String i18nkey, int action)
i18nkey
- key
action
- action
id to call when clicking the button. MUST be unique for the group and >= 0public ActionWindow.Action(com.vaadin.ui.Button button, int action)
button
- action
- action
for this button. MUST be unique for the group and > 0Method Detail |
---|
public java.lang.String getLabel()
public void setLabel(java.lang.String name)
name
- public int getAction()
public void setAction(int action)
action
- action
for this button. MUST be unique for the group and > 0public com.vaadin.ui.Button getButton()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |