|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jguiraffe.gui.builder.action.ActionDataImpl
public class ActionDataImpl
A straight forward implementation of the ActionData interface.
This class defines member variables for all the get and set methods defined
by the ActionData interface. The access methods operate directly
on these fields.
Implementation note: This class is not thread-safe.
| Constructor Summary | |
|---|---|
ActionDataImpl()
|
|
| Method Summary | |
|---|---|
Accelerator |
getAccelerator()
Returns the accelerator. |
java.lang.Object |
getIcon()
Returns the icon for the represented action. |
int |
getMnemonicKey()
Returns the mnemonic key. |
java.lang.String |
getName()
Returns the name of this action. |
java.lang.Object |
getTask()
Returns the task of this action. |
java.lang.String |
getText()
Returns the text of this action. |
java.lang.String |
getToolTip()
Returns the tool tip of this action. |
void |
setAccelerator(Accelerator accelerator)
Sets the accelerator. |
void |
setIcon(java.lang.Object icon)
Sets the icon for the represented action. |
void |
setMnemonicKey(int mnemonicKey)
Sets the mnemonic key. |
void |
setName(java.lang.String name)
Sets the name of this action. |
void |
setTask(java.lang.Object t)
Allows setting the task of this action. |
void |
setText(java.lang.String text)
Sets the text of this action. |
void |
setToolTip(java.lang.String toolTip)
Sets the tool tip text of this action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionDataImpl()
| Method Detail |
|---|
public java.lang.Object getIcon()
getIcon in interface ActionDatapublic void setIcon(java.lang.Object icon)
icon - the iconpublic int getMnemonicKey()
getMnemonicKey in interface ActionDatapublic void setMnemonicKey(int mnemonicKey)
mnemonicKey - the key codepublic Accelerator getAccelerator()
getAccelerator in interface ActionDatapublic void setAccelerator(Accelerator accelerator)
accelerator - the acceleratorpublic java.lang.String getName()
getName in interface ActionDatapublic void setName(java.lang.String name)
name - the action namepublic java.lang.Object getTask()
getTask in interface ActionDatapublic void setTask(java.lang.Object t)
t - the taskpublic java.lang.String getText()
getText in interface ActionDatapublic void setText(java.lang.String text)
text - the textpublic java.lang.String getToolTip()
getToolTip in interface ActionDatapublic void setToolTip(java.lang.String toolTip)
toolTip - the tool tip text
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||