|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface RangeCollectionInterface
RangeCollection,
RangeSegment,
RangeSegmentInterface| Method Summary | |
|---|---|
abstract void |
addSegment(RangeSegmentInterface segment)
Add a segment into the rangeCollection. |
abstract java.lang.Object |
clone()
Clone an object. |
abstract java.awt.Color |
getColor(double value)
Return the color that represents the given value within the rangeCollection. |
abstract RangeSegmentInterface |
getSegment(double value)
Fetch the segment at the specified index in the rangeCollection. |
abstract RangeSegmentInterface |
getSegment(int index)
Fetch the segment containing the specified value in the rangeCollection. |
abstract int |
getSegmentCount()
Return the number of segments in the rangeCollection. |
abstract void |
removeAllSegments()
Removes all the segments from the rangeCollection. |
abstract void |
removeSegment(int index)
Remove a segment from the rangeCollection. |
abstract void |
removeSegment(RangeSegmentInterface segment)
Remove a segment from the rangeCollection. |
| Methods inherited from interface com.sas.collection.ContentsChangedSource |
|---|
addContentsChangedListener, removeContentsChangedListener |
| Method Detail |
|---|
int getSegmentCount()
RangeSegmentInterface getSegment(double value)
index - The position of the segment in the rangeCollection.
Indices are zero-based.RangeSegmentInterface getSegment(int index)
value - The value in the rangeCollection to determine the segment.void addSegment(RangeSegmentInterface segment)
segment - The segment to add to the rangeCollection. It must implement
the RangeSegment Interface.void removeSegment(RangeSegmentInterface segment)
segment - The segment to remove from the rangeCollection.void removeSegment(int index)
index - The index of the segment to remove from the rangeCollection.
The index must be 0 or getSegmentCount()-1.void removeAllSegments()
java.awt.Color getColor(double value)
value - The value whose color is desired.
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface com.sas.PublicClonablejava.lang.CloneNotSupportedException - if the clone fails.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||