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 String
getIcon()
Deprecated.getId()
Deprecated.A *non-unique* id of the action.getName()
Deprecated.Used for the text-resource key for the label.@Nullable Integer
Deprecated.@Nullable Object
getProperty
(String key) Deprecated.Deprecated.Deprecated.@Nullable String
Deprecated.boolean
Deprecated.boolean
isToggle()
Deprecated.void
setEnabled
(boolean flag) Deprecated.void
Deprecated.void
Deprecated.void
setPosition
(@Nullable Integer position) Deprecated.void
setProperty
(String key, @Nullable Object value) Deprecated.void
setRelativePosition
(@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.void
setShortDescription
(@Nullable String descr) Deprecated.void
setToggle
(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.
-