Chart FX for Java 6.5

SoftwareFX.ChartFX
Class GradientBackground.FloatCollection

java.lang.Object
  extended by SoftwareFX.ChartFX.GradientBackground.FloatCollection
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
GradientBackground

public static class GradientBackground.FloatCollection
extends java.lang.Object
implements java.util.Enumeration

Provides access to the FloatCollection object.


Constructor Summary
GradientBackground.FloatCollection()
           
 
Method Summary
 void add(float f)
          Appends the specified element to the FloatCollection.
 void clear()
          Removes all of the elements from this collection.
 java.util.Enumeration elements()
          Returns an enumeration of the values in the FloatCollection .
 float 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, float value)
          Gets and Sets the element at the specified position in the FloatCollection.
 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

GradientBackground.FloatCollection

public GradientBackground.FloatCollection()
Method Detail

add

public void add(float f)

Appends the specified element to the FloatCollection.

Parameters:
f - The item to add to the FloatCollection collection.

clear

public void clear()

Removes all of the elements from this collection.


elements

public java.util.Enumeration elements()

Returns an enumeration of the values in the FloatCollection . Use the Enumeration methods on the returned object to fetch the elements sequentially.


getItem

public float getItem(int n)

Gets the Item. For more detail see setItem(int, float).


hasMoreElements

public boolean hasMoreElements()

Tests if this enumeration contains more elements.

Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Specified by:
nextElement in interface java.util.Enumeration

setItem

public void setItem(int n,
                    float value)

Gets and Sets the element at the specified position in the FloatCollection.


size

public int size()

Returns the number of elements in this collection.


toArray

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

2007 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.