Package com.vaadin.client.ui
Class TreeAction
- java.lang.Object
-
- com.vaadin.client.ui.Action
-
- com.vaadin.client.ui.TreeAction
-
- All Implemented Interfaces:
com.google.gwt.core.client.Scheduler.ScheduledCommand
,com.google.gwt.user.client.Command
public class TreeAction extends Action
This class is used for "row actions" in VTree and ITable
-
-
Constructor Summary
Constructors Constructor Description TreeAction(ActionOwner owner)
TreeAction(ActionOwner owner, String target, String action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.client.ui.Action
getCaption, getHTML, getIconUrl, setCaption, setIconUrl, toString
-
-
-
-
Constructor Detail
-
TreeAction
public TreeAction(ActionOwner owner)
-
TreeAction
public TreeAction(ActionOwner owner, String target, String action)
-
-
Method Detail
-
execute
public void execute()
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)
-
-