We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.terminal.gwt.client.ui.
Class TreeAction
java.lang.Object
com.vaadin.terminal.gwt.client.ui.Action
com.vaadin.terminal.gwt.client.ui.TreeAction
All Implemented Interfaces:
com.google.gwt.core.client.Scheduler.ScheduledCommand, com.google.gwt.user.client.Command
- extends Action
public class TreeAction
This class is used for "row actions" in VTree and ITable
Field Summary |
---|
Fields inherited from class com.vaadin.terminal.gwt.client.ui.Action |
---|
caption, iconUrl, owner |
Constructor Summary | |
---|---|
TreeAction(ActionOwner owner)
|
|
TreeAction(ActionOwner owner,
String target,
String action)
|
Method Summary | |
---|---|
void |
execute()
Sends message to server that this action has been fired. |
String |
getActionKey()
|
String |
getTargetKey()
|
void |
setActionKey(String actionKey)
|
void |
setTargetKey(String targetKey)
|
Methods inherited from class com.vaadin.terminal.gwt.client.ui.Action |
---|
getCaption, getHTML, getIconUrl, setCaption, setIconUrl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
TreeAction
public TreeAction(ActionOwner owner)
TreeAction
public TreeAction(ActionOwner owner,
String target,
String action)
Method Detail |
---|
execute
public void execute()
- Specified by:
execute
in interfacecom.google.gwt.core.client.Scheduler.ScheduledCommand
- Specified by:
execute
in interfacecom.google.gwt.user.client.Command
- Specified by:
execute
in classAction
Sends message to server that this action has been fired. Messages are "standard" Vaadin messages whose value is comma separated pair of targetKey (row, treeNod ...) and actions id. Variablename is always "action". Actions are always sent immediatedly to server.
getActionKey
public String getActionKey()
setActionKey
public void setActionKey(String actionKey)
getTargetKey
public String getTargetKey()
setTargetKey
public void setTargetKey(String targetKey)