Class arel.Popup

Creates the Pop up (information box) for an object

Class Summary
Constructor Attributes Constructor Name and Description
 
arel.Popup(attributes)

Method Summary

Class Detail

arel.Popup(attributes)

Author: metaio GmbH.
Parameters:
{arel.popUpAttribute} attributes
defined attributes of the pop up

Method Detail

  • addButton(_button)
    Add one button to the pop up
    Parameters:
    {arel.PopUpButton} _button
    Button to be displayed in the pop up
  • {array} getButtons()
    Get available buttons for the popup
    Returns:
    {array} Array with arel.PopUpButtons definition
  • {string} getDescription()
    Get text to be displayed on the pop up
    Returns:
    {string} description text
  • setButtons(ButtonArray)
    Set available buttons for the popup
    Parameters:
    {array} ButtonArray
    Array with arel.PopUpButtons definition
  • setDescription(text)
    Set text to be displayed on the pop up
    Parameters:
    {string} text
    description text
  • toParameterObject()