Package ch.tocco.nice2.netui.api.actions
Interface ActionModel
- All Known Subinterfaces:
ActionGroupModel,SeparatorModel
- All Known Implementing Classes:
ActionGroupModelImpl,ActionModelImpl,SeparatorModelImpl
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()Deprecated.@Nullable StringgetIcon()Deprecated.getId()Deprecated.A *non-unique* id of the action.getName()Deprecated.Used for the text-resource key for the label.@Nullable IntegerDeprecated.@Nullable ObjectgetProperty(String key) Deprecated.Deprecated.Deprecated.@Nullable StringDeprecated.booleanDeprecated.booleanisToggle()Deprecated.voidsetEnabled(boolean flag) Deprecated.voidDeprecated.voidDeprecated.voidsetPosition(@Nullable Integer position) Deprecated.voidsetProperty(String key, @Nullable Object value) Deprecated.voidsetRelativePosition(@Nullable String relativePosition, String propertyName) Deprecated.Set the relative position of this action model, it will be placed before or after another action model with the given property-value for this property.voidsetShortDescription(@Nullable String descr) Deprecated.voidsetToggle(boolean flag) Deprecated.
-
Method Details
-
getId
String getId()Deprecated.A *non-unique* id of the action. This id is used to map the serverside action representation (button) to the clientside action (perform method).For example the export actions (about 5 buttons) share the same action id, and have different
properties. They are all handled by the same clientside action (perform).In xml this attribute is called 'path' for historical reasons.
The id is also used for the netuiactions security.
The id may also used for the jabsorb action in the BackportAction.js (legacy code).
-
deepCopy
ActionModel deepCopy()Deprecated. -
getName
String getName()Deprecated.Used for the text-resource key for the label.- Returns:
- The label key.
-
setName
Deprecated. -
getShortDescription
Deprecated. -
setShortDescription
Deprecated. -
setEnabled
void setEnabled(boolean flag) Deprecated. -
isEnabled
boolean isEnabled()Deprecated. -
setToggle
void setToggle(boolean flag) Deprecated. -
isToggle
boolean isToggle()Deprecated. -
getIcon
Deprecated. -
setIcon
Deprecated. -
getPosition
Deprecated. -
setPosition
Deprecated. -
setRelativePosition
Deprecated.Set the relative position of this action model, it will be placed before or after another action model with the given property-value for this property.- Parameters:
relativePosition- a string in the form "[BEFORE|AFTER]:[property-value]"propertyName- the property name, can be any of the java beans property of the action model or one of the properties in the property map
-
getRelativePositionProperty
String getRelativePositionProperty()Deprecated. -
getRelativePosition
String getRelativePosition()Deprecated. -
getProperty
Deprecated. -
setProperty
Deprecated.
-