|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.AbstractGUIAction
net.sf.doolin.gui.action.AbstractSimpleGUIAction
public abstract class AbstractSimpleGUIAction
This class provides support for the text and the icon.
| Constructor Summary | |
|---|---|
AbstractSimpleGUIAction()
|
|
| Method Summary | |
|---|---|
String |
getIconId()
Gets the icon id. |
GUIExpression |
getIconIDExpression(ActionContext context)
Icon for the action |
String |
getId()
ID for the action |
String |
getShortcut()
Gets the shortcut. |
GUIExpression |
getShortcutExpression(ActionContext context)
Shortcut for the action |
GUIExpression |
getTextExpression(ActionContext context)
Text for the action |
String |
getTip()
Gets the tip. |
GUIExpression |
getTipExpression(ActionContext context)
Tip for the action |
String |
getTitle()
Gets the title. |
void |
init()
Lazy initialisation of attributes. |
void |
setBeanName(String name)
. |
void |
setIconId(String iconId)
Sets the icon id. |
void |
setShortcut(String shortcut)
Sets the shortcut. |
void |
setTip(String tip)
Sets the tip. |
void |
setTitle(String title)
Sets the title. |
String |
toString()
String representation (id). |
| Methods inherited from class net.sf.doolin.gui.action.AbstractGUIAction |
|---|
doExecute, execute, getActionContextData, getActionContextDataExtractor, getDisplayStateHandler, getIcon, getIconService, setActionContextDataExtractor, setDisplayStateHandler, setIconService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSimpleGUIAction()
| Method Detail |
|---|
public String getIconId()
public GUIExpression getIconIDExpression(ActionContext context)
GUIAction
getIconIDExpression in interface GUIActioncontext - Context for the action
public String getId()
GUIAction
getId in interface GUIActionpublic String getShortcut()
public GUIExpression getShortcutExpression(ActionContext context)
getShortcutExpression in interface GUIActioncontext - the context
public GUIExpression getTextExpression(ActionContext context)
getTextExpression in interface GUIActioncontext - the context
public String getTip()
public GUIExpression getTipExpression(ActionContext context)
getTipExpression in interface GUIActioncontext - the context
public String getTitle()
public void init()
public void setBeanName(String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarename - the namepublic void setIconId(String iconId)
iconId - the new icon idpublic void setShortcut(String shortcut)
shortcut - the new shortcutpublic void setTip(String tip)
tip - the new tippublic void setTitle(String title)
title - the new titlepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||