Package com.vaadin.client.ui
Class Action
- java.lang.Object
-
- com.vaadin.client.ui.Action
-
- All Implemented Interfaces:
com.google.gwt.core.client.Scheduler.ScheduledCommand,com.google.gwt.user.client.Command
- Direct Known Subclasses:
TreeAction
public abstract class Action extends Object implements com.google.gwt.user.client.Command
-
-
Constructor Summary
Constructors Constructor Description Action(ActionOwner owner)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidexecute()Executed when action fired.StringgetCaption()StringgetHTML()StringgetIconUrl()voidsetCaption(String caption)voidsetIconUrl(String url)StringtoString()
-
-
-
Field Detail
-
owner
protected ActionOwner owner
-
iconUrl
protected String iconUrl
-
caption
protected String caption
-
-
Constructor Detail
-
Action
public Action(ActionOwner owner)
-
-
Method Detail
-
execute
public abstract void execute()
Executed when action fired.- Specified by:
executein interfacecom.google.gwt.user.client.Command- Specified by:
executein interfacecom.google.gwt.core.client.Scheduler.ScheduledCommand
-
getHTML
public String getHTML()
-
getCaption
public String getCaption()
-
setCaption
public void setCaption(String caption)
-
getIconUrl
public String getIconUrl()
-
setIconUrl
public void setIconUrl(String url)
-
-