public class DefaultActionDefinition extends Object implements ActionDefinition
| Constructor and Description |
|---|
DefaultActionDefinition(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Returns the description of the node.
|
String |
getDescriptionLocKey()
Returns the localization key for the description of the node.
|
String |
getGroup()
Returns a group name for a node.
|
String |
getIconUri()
Returns the icon URI of the node.
|
String |
getIconUriLocKey()
Returns the localization key for the icon URI of the node.
|
String |
getId()
Returns the ID of the node.
|
String |
getName()
Returns the name of the node.
|
String |
getNameLocKey()
Returns the localization key for the name of the node.
|
int |
hashCode() |
void |
setDescription(String description) |
void |
setDescriptionLocKey(String descriptionLocKey) |
void |
setGroup(String group) |
void |
setIconUri(String iconUri) |
void |
setIconUriLocKey(String iconUriLocKey) |
void |
setName(String name) |
void |
setNameLocKey(String nameLocKey) |
String |
toString() |
public DefaultActionDefinition(String id)
public String getName()
ActionDefinitionActionDefinition.getNameLocKey()).getName in interface ActionDefinitionActionDefinition.getNameLocKey()public void setName(String name)
public String getNameLocKey()
ActionDefinitionnull then ActionDefinition.getName() is used as the node name.getNameLocKey in interface ActionDefinitionnull if ActionDefinition.getName() is should be used as
the node nameActionDefinition.getName()public void setNameLocKey(String nameLocKey)
public String getDescription()
ActionDefinitionActionDefinition.getDescriptionLocKey()).getDescription in interface ActionDefinitionActionDefinition.getDescriptionLocKey()public void setDescription(String description)
public String getDescriptionLocKey()
ActionDefinitionnull then ActionDefinition.getDescription() is used as the node description.getDescriptionLocKey in interface ActionDefinitionnull if ActionDefinition.getDescription() is
should be used as
the node descriptionActionDefinition.getDescription()public void setDescriptionLocKey(String descriptionLocKey)
public String getIconUri()
ActionDefinitionActionDefinition.getIconUriLocKey()).getIconUri in interface ActionDefinitionActionDefinition.getIconUriLocKey()public void setIconUri(String iconUri)
public String getIconUriLocKey()
ActionDefinitionnull then ActionDefinition.getIconUri() is used as the node description.getIconUriLocKey in interface ActionDefinitionnull if ActionDefinition.getIconUri() is
should be used as
the node icon URIActionDefinition.getIconUri()public void setIconUriLocKey(String iconUriLocKey)
public String getId()
ActionDefinitiongetId in interface ActionDefinitionpublic String getGroup()
ActionDefinitionInterpretation of group depends totally on toolbar's implementation.
getGroup in interface ActionDefinitionnull if not applicablepublic void setGroup(String group)
Copyright © 2018. All rights reserved.