public abstract class Action extends Object implements com.google.gwt.user.client.Command
| Modifier and Type | Field and Description |
|---|---|
protected String |
caption |
protected String |
iconUrl |
protected ActionOwner |
owner |
| Constructor and Description |
|---|
Action(ActionOwner owner) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute()
Executed when action fired.
|
String |
getCaption() |
String |
getHTML() |
String |
getIconUrl() |
void |
setCaption(String caption) |
void |
setIconUrl(String url) |
String |
toString() |
protected ActionOwner owner
protected String iconUrl
protected String caption
public Action(ActionOwner owner)
public abstract void execute()
execute in interface com.google.gwt.core.client.Scheduler.ScheduledCommandexecute in interface com.google.gwt.user.client.Commandpublic String getHTML()
public String getCaption()
public void setCaption(String caption)
public String getIconUrl()
public void setIconUrl(String url)
Copyright © 2023 Vaadin Ltd. All rights reserved.