company logo

ActionItem :: property - Get action property

The function returns the action property passed in sProperty. The following properties can be provided:

  • name - action name
  • action - name of action to be executed
  • label - short action name
  • tooltip - tool tip text defined for the action
  • text - long text defined for the action (html)
  • plain_text - long text returned as ASCII text without html tags (description)
  • image - active image path defined for the action
  • Properties are returned as odaba::String value. Some of the properties mentioned above might be requested directly via property function calls as label() or image(). The textis returned as html text. In order to receive plain text, the plain_text (description()) property can be requested.
  • The function throws an exception, when the requested action could not be found. The function returns an empty string, when the requested property could not be found or is empty.
Return value:  String value ( odaba::String  )

Implementation details

odaba::String ActionItem  :: property ( odaba::String &sProperty )
  • sProperty - Property name

    The property name refers to a named property of any object. It is passed as odaba::String.