Class UINode

java.lang.Object
overit.geocall.platform.ui.UINode
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Component, GIConfiguration, GIElementBase, PdfComponent, PlanningMonitorActivityTooltip, PlanningMonitorActivityTooltipFrame, PlanningMonitorActivityTooltipItem, StaticView, UIExport, XlsxComponent

public class UINode extends Object implements Serializable
The class implements a node of the user interface component definition tree; it exposes the management methods for finding the root node, the parent node, the list of child nodes, etc.
See Also:
  • Constructor Details

    • UINode

      public UINode()
  • Method Details

    • setParent

      public void setParent(UINode parent)
      Sets the parent node of this UINode
      Parameters:
      parent - The parent UINode
    • addChild

      public void addChild(UINode n)
      Empty method
      Parameters:
      n - Not used
    • addChildText

      public void addChildText(String text)
      Empty method
      Parameters:
      text - Not used
    • getParent

      public UINode getParent()
      Returns the parent node of this UINode
      Returns:
      The parent UINode
    • getRoot

      public UINode getRoot()
      Returns the root of the user interface component definition tree of this UINode
      Returns:
      The root UINode
    • getChildren

      public ArrayList getChildren()
      Returns the list of children of this UINode
      Returns:
      The ArrayList that contains the children nodes
    • setSchema

      public void setSchema(UISchema uis)
      Sets the schema of this UINode
      Parameters:
      uis - The UISchema
    • getSchema

      public UISchema getSchema()
      Returns the schema of this UINode
      Returns:
      The UISchema
    • getNodeId

      public int getNodeId()
      Returns the id of this UINode
      Returns:
      THe numeri identifier
    • setNodeId

      public void setNodeId(int nodeid)
      Sets the id of this UINode
      Parameters:
      nodeid - The numeric identifier