|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionDecorator
ActionDecorator Interface. Defines a set of methods which can be called to decorate AbstractAction
Field Summary | |
---|---|
static java.lang.String |
DISABLED_ICON
Holds key of disabledIcon property |
static java.lang.String |
PARENT_OBJECT
The parent object of this action |
Method Summary | |
---|---|
void |
addSource(java.awt.Component component)
Add source component of this action - the component associated with this action. |
javax.swing.ImageIcon |
getDisabledActionIcon()
Get disabled icon for this ActionDecorator |
java.lang.String |
getName()
Get action name |
java.lang.String |
getShortDescription()
Get short description for this ActionDecorator |
java.util.List<java.awt.Component> |
getSources()
Get source components which were associated with this action |
void |
setAcceleratorKey(java.lang.String accelerator)
Set Accelerator key. |
void |
setDisabledActionIcon(javax.swing.ImageIcon icon)
Set disabled icon for this ActionDecorator |
void |
setMnemonic(char mnemonic)
Set Mnemonic key. |
void |
setName(java.lang.String name)
Set action name |
void |
setShortDescription(java.lang.String description)
Set short description for this ActionDecorator |
Field Detail |
---|
static final java.lang.String PARENT_OBJECT
static final java.lang.String DISABLED_ICON
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
void setShortDescription(java.lang.String description)
description
- short descriptionjava.lang.String getShortDescription()
void setDisabledActionIcon(javax.swing.ImageIcon icon)
icon
- disabled actionjavax.swing.ImageIcon getDisabledActionIcon()
void setMnemonic(char mnemonic)
mnemonic
- mnemonicvoid setAcceleratorKey(java.lang.String accelerator)
accelerator
- acceleratorvoid addSource(java.awt.Component component)
java.util.List<java.awt.Component> getSources()
Component
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |