com.vaadin.terminal.gwt.client.ui
Class Action

java.lang.Object
  extended by 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:
TreeAction

public abstract class Action
extends Object
implements com.google.gwt.user.client.Command


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()
Executed when action fired

Specified by:
execute in interface com.google.gwt.core.client.Scheduler.ScheduledCommand
Specified by:
execute in interface com.google.gwt.user.client.Command

getHTML

public String getHTML()

getCaption

public String getCaption()

setCaption

public void setCaption(String caption)

getIconUrl

public String getIconUrl()

setIconUrl

public void setIconUrl(String url)


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.