EspressReport 6.6

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

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

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

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

removeElementAt

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

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

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

EspressReport 6.6