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 Action
java.lang.Object
com.vaadin.terminal.gwt.client.ui.Action
All Implemented Interfaces:
com.google.gwt.core.client.Scheduler.ScheduledCommand, com.google.gwt.user.client.Command
Direct Known Subclasses:
- extends Object
- implements com.google.gwt.user.client.Command
public abstract class Action
Field Summary | |
---|---|
protected String |
caption
|
protected String |
iconUrl
|
protected ActionOwner |
owner
|
Constructor Summary | |
---|---|
Action(ActionOwner owner)
|
Method Summary | |
---|---|
abstract void |
execute()
Executed when action fired |
String |
getCaption()
|
String |
getHTML()
|
String |
getIconUrl()
|
void |
setCaption(String caption)
|
void |
setIconUrl(String url)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
- Specified by:
execute
in interfacecom.google.gwt.core.client.Scheduler.ScheduledCommand
- Specified by:
execute
in interfacecom.google.gwt.user.client.Command
Executed when action fired
getHTML
public String getHTML()
getCaption
public String getCaption()
setCaption
public void setCaption(String caption)
getIconUrl
public String getIconUrl()
setIconUrl
public void setIconUrl(String url)