|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.ui.toolkit.base.feature.AbstractAction
public abstract class AbstractAction
This is the abstract base implementation of the
Action interface.
| Constructor Summary | |
|---|---|
AbstractAction()
The constructor. |
|
AbstractAction(String displayName)
The constructor. |
|
| Method Summary | |
|---|---|
ButtonStyle |
getButtonStyle()
This method gets the style of this action. |
UIPicture |
getIcon()
This method gets the icon used to visualize this action. |
String |
getId()
This method gets the id of this action. |
String |
getName()
This method gets the display name of the action. |
void |
setButtonStyle(ButtonStyle newStyle)
This method sets the style. |
void |
setIcon(UIPicture newIcon)
This method set the icon. |
void |
setId(String newId)
This method sets the id. |
void |
setName(String newName)
This method sets the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.mmm.ui.toolkit.api.feature.Action |
|---|
getActionListener |
| Constructor Detail |
|---|
public AbstractAction()
public AbstractAction(String displayName)
displayName - is the name.| Method Detail |
|---|
public void setName(String newName)
name.
newName - is the new name.public String getName()
text
for the widget that visualizes this action.
getName in interface Actionpublic void setId(String newId)
id.
newId - is the new id to set.public String getId()
object-id for the widget
that visualizes this action.
getId in interface Actionnull if the default id of
the widget should NOT be changed.public void setButtonStyle(ButtonStyle newStyle)
style.
newStyle - is the style to set.public ButtonStyle getButtonStyle()
getButtonStyle in interface Actionpublic void setIcon(UIPicture newIcon)
icon.
newIcon - is the new icon to set.public UIPicture getIcon()
getIcon in interface Actionnull if no icon is
associated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||