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
,VCalendarAction
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 void
execute()
Executed when action firedString
getCaption()
String
getHTML()
String
getIconUrl()
void
setCaption(String caption)
void
setIconUrl(String url)
String
toString()
-
-
-
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:
execute
in interfacecom.google.gwt.user.client.Command
- Specified by:
execute
in 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)
-
-