Type Parameters:
T - the element
All Superinterfaces:
Serializable
All Known Implementing Classes:
GIButton, GIElementBase, GIInput, GISection

public interface GIElement<T> extends Serializable
Interface that describe a Intervention Group Element
Since:
9.2
  • Method Details

    • toXMLString

      String toXMLString()
      Serialize the element in an XML string
      Returns:
      the XML string that represents this element
    • getName

      String getName()
      Gets the element name
      Returns:
      the element name
    • setAttributes

      void setAttributes(T e)
      Copy the attributes of the input
      Parameters:
      e - the input from which copy the attributes
    • getLabel

      String getLabel()
      Gets the element label
      Returns:
      the element label
    • getCustomLabel

      String getCustomLabel()
      Gets the element custom label
      Returns:
      the element custom label
    • setCustomLabel

      void setCustomLabel(String customLabel)
      Sets the element custom label
      Parameters:
      customLabel - the custom label to set
    • getStatus

      String getStatus()
      Gets the element status
      Returns:
      the element status
    • getAutofill

      String getAutofill()
      Gets if the element should be auto filled
      Returns:
      if the element should be auto filled
    • setSTATUS

      void setSTATUS(String status)
      Sets the element status
      Parameters:
      status - the status to set
      See Also:
    • getIcon

      String getIcon()
      Gets the element icon
      Returns:
      the element icon