EspressChart
v 5.5

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
 void addElement(ControlRange l)
          Adds a new ControlRange into the chart.
 ControlRange elementAt(int i)
          get the specified control range from the chart.
 int getThickness()
          get the thickest control range thickness (For Dial Chart Only)
 int indexOf(ControlRange l)
          Searches for the first occurence of the given control range
 void insertElementAt(ControlRange l, int index)
          insert a new ControlRange at the specified index.
 void removeAllElements()
          Removes all the control ranges added to the chart.
 void removeElement(ControlRange l)
          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 size()
          count number of the control ranges
 

Method Detail

size

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

indexOf

public 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

public 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:
ControlRange

insertElementAt

public 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:
ControlRange

removeAllElements

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

elementAt

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

removeElement

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

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

removeElementAt

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

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

setThickness

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

getThickness

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

EspressChart
v 5.5