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 TypeMethodDescriptionvoidAdds a new ControlRange into the chart.elementAt(int i) get the specified control range from the chart.intget the thickest control range thickness (For Dial Chart Only)intSearches for the first occurence of the given control rangevoidinsertElementAt(ControlRange l, int index) insert a new ControlRange at the specified index.voidRemoves all the control ranges added to the chart.voidRemoves the specified controlRange from the chart.voidremoveElementAt(int index) Removes the specified controlRange from the chart.voidsetThickness(int thickness) set control range thickness (For Dial Chart Only)intsize()count number of the control ranges
-
Method Details
-
size
int size()count number of the control ranges- Returns:
- number of the control ranges
-
indexOf
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
Adds a new ControlRange into the chart.Associated QbChart property: CONTROLRANGE
- Parameters:
l- The ControlRange object containing the range information.- See Also:
-
insertElementAt
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
get the specified control range from the chart. -
removeElement
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
-