Class CockpitControl

java.lang.Object
com.uc4.api.objects.CockpitControl
Direct Known Subclasses:
CockpitFrame, CockpitValueControl

public abstract class CockpitControl extends Object
CockpitControl.
  • Constructor Details

    • CockpitControl

      protected CockpitControl()
    • CockpitControl

      protected CockpitControl(com.uc4.util.XMLDocument doc, Element control)
  • Method Details

    • store

      protected void store(com.uc4.util.XMLDocument doc, Element cpit)
    • getCaption

      public String getCaption()
      Return the caption.
      Returns:
      Caption
    • setCaption

      public void setCaption(String caption)
      Sets the caption.
      Parameters:
      caption - Caption
    • getId

      public int getId()
      Returns the Id of the CockpitControl element.
      Returns:
      Id
    • getHeight

      public int getHeight()
      Returns the height of the CockpitControl.
      Returns:
      Height
    • setHeight

      public void setHeight(int height)
      Sets the height of the CockpitControl.
      Parameters:
      height - Height
    • getLeft

      public int getLeft()
      Returns the distance to the left.
      Returns:
      Left Distance
    • setLeft

      public void setLeft(int left)
      Sets the distance to the left.
      Parameters:
      left - Distance
    • getTop

      public int getTop()
      Returns the distance to the top.
      Returns:
      Distance
    • setTop

      public void setTop(int top)
      Sets the distance to the top.
      Parameters:
      top - Distance
    • setWidth

      public void setWidth(int width)
      Sets the width of the CockpitControl.
      Parameters:
      width - Width
    • getWidth

      public int getWidth()
      Returns the width of the CockpitControl.
      Returns:
      Width