|
Chart FX for Java 6.5 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SoftwareFX.ChartFX.GradientBackground.ColorCollection
public static class GradientBackground.ColorCollection
Provides access to the ColorCollection object.
Constructor Summary | |
---|---|
GradientBackground.ColorCollection()
|
Method Summary | |
---|---|
void |
add(float f)
Appends the specified element to the ColorCollection. |
void |
clear()
Removes all of the elements from this collection. |
java.util.Enumeration |
elements()
Returns an enumeration of the values in the ColorCollection . |
java.awt.Color |
getItem(int n)
Gets the Item. |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
void |
setItem(int n,
java.awt.Color value)
Gets and Sets the element at the specified position in the ColorCollection. |
int |
size()
Returns the number of elements in this collection. |
java.lang.Object[] |
toArray(java.lang.Object[] obj)
Returns an array containing all of the elements in this collection in proper sequence. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GradientBackground.ColorCollection()
Method Detail |
---|
public void add(float f)
Appends the specified element to the ColorCollection.
f
- The item to add to the ColorCollection collection.public void clear()
Removes all of the elements from this collection.
public java.util.Enumeration elements()
Returns an enumeration of the values in the ColorCollection . Use the Enumeration methods on the returned object to fetch the elements sequentially.
public java.awt.Color getItem(int n)
Gets the Item. For more detail see setItem(int, java.awt.Color)
.
public boolean hasMoreElements()
Tests if this enumeration contains more elements.
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
nextElement
in interface java.util.Enumeration
public void setItem(int n, java.awt.Color value)
Gets and Sets the element at the specified position in the ColorCollection.
public int size()
Returns the number of elements in this collection.
public java.lang.Object[] toArray(java.lang.Object[] obj)
Returns an array containing all of the elements in this collection in proper sequence.
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |