Package quadbase.util

Interface IControlRangeSet


public interface IControlRangeSet
Returns a handle to the set of control range properties. Properties of control ranges can be directly changed by calling methods on this interface. A handle to an object that implements this interface can be obtained by calling the gethControlRanges method defined in QbChart.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new ControlRange into the chart.
    elementAt(int i)
    get the specified control range from the chart.
    int
    get the thickest control range thickness (For Dial Chart Only)
    int
    Searches for the first occurence of the given control range
    void
    insert a new ControlRange at the specified index.
    void
    Removes all the control ranges added to the chart.
    void
    Removes the specified controlRange from the chart.
    void
    removeElementAt(int index)
    Removes the specified controlRange from the chart.
    void
    setThickness(int thickness)
    set control range thickness (For Dial Chart Only)
    int
    count number of the control ranges
  • Method Details

    • size

      int size()
      count number of the control ranges
      Returns:
      number of the control ranges
    • indexOf

      int indexOf(ControlRange l)
      Searches for the first occurence of the given control range
      Parameters:
      l - The ControlRange object containing the range information.
      Returns:
      index of the control range
    • addElement

      void addElement(ControlRange l)
      Adds a new ControlRange into the chart.

      Associated QbChart property: CONTROLRANGE

      Parameters:
      l - The ControlRange object containing the range information.
      See Also:
    • insertElementAt

      void insertElementAt(ControlRange l, int index)
      insert a new ControlRange at the specified index.

      Associated QbChart property: CONTROLRANGE

      Parameters:
      l - The ControlRange object containing the range information.
      index - index number
      See Also:
    • removeAllElements

      void removeAllElements()
      Removes all the control ranges added to the chart.
    • elementAt

      ControlRange elementAt(int i)
      get the specified control range from the chart.
    • removeElement

      void removeElement(ControlRange l)
      Removes the specified controlRange from the chart.

      Parameters:
      l - The ControlRange object to remove.
      See Also:
    • removeElementAt

      void removeElementAt(int index)
      Removes the specified controlRange from the chart.

      Parameters:
      index - The index of ControlRange object to remove.
      See Also:
    • setThickness

      void setThickness(int thickness)
      set control range thickness (For Dial Chart Only)
      Parameters:
      thickness - The thickness of control range
    • getThickness

      int getThickness()
      get the thickest control range thickness (For Dial Chart Only)
      Returns:
      thickness The thickest of control range thickness