|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SelfDescribingCommand
SelfDescribingCommands are commands which are able to provide a name and a description for themselves. Name and description may be dynamic.
Method Summary | |
---|---|
String |
getName()
Provide the equivalent of the Action.NAME property for this command. |
String |
getShortDescription()
Provide the equivalent of the Action.SHORT_DESCRIPTION property for this command. |
Methods inherited from interface com.levigo.util.swing.action.Command |
---|
canExecute, execute, isAvailable, isSelected |
Method Detail |
---|
String getName()
Action.NAME
property for this command. Implementors are
allowed to return null
from this method in order to signal a fallback to a
non-dynamic name.
String getShortDescription()
Action.SHORT_DESCRIPTION
property for this command.
Implementors are allowed to return null
from this method in order to signal a
fallback to a non-dynamic description.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |