Chart FX for Java 6.5

SoftwareFX.ChartFX
Class DisplayBaseCollection

java.lang.Object
  extended by SoftwareFX.ChartFX.DisplayBaseCollection
All Implemented Interfaces:
java.util.Enumeration
Direct Known Subclasses:
AxisSectionCollection, ConditionalAttributesCollection, ConstantLineCollection, PaneCollection, SeriesAttributesCollection, StripeCollection, TitleCollection

public abstract class DisplayBaseCollection
extends java.lang.Object
implements java.util.Enumeration

Provides access to the DisplayBaseCollection object.

This is a base class for collections.


Constructor Summary
DisplayBaseCollection()
           
 
Method Summary
 void clear()
          Removes all of the elements from this collection.
 java.util.Enumeration elements()
          Returns an enumeration of the values in the DisplayBaseCollection .
 boolean hasMoreElements()
          Tests if this enumeration contains more elements.
 int indexOf(java.lang.Object obj)
          Returns the index in the DisplayBaseCollection of the first occurrence of the specified element, or -1 if this list does not contain this element.
 java.lang.Object nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
 void removeAt(int index)
          Removes the specified element from the DisplayBaseCollection collection.
 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

DisplayBaseCollection

public DisplayBaseCollection()
Method Detail

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 DisplayBaseCollection . Use the Enumeration methods on the returned object to fetch the elements sequentially.


hasMoreElements

public boolean hasMoreElements()

Tests if this enumeration contains more elements.

Specified by:
hasMoreElements in interface java.util.Enumeration

indexOf

public int indexOf(java.lang.Object obj)

Returns the index in the DisplayBaseCollection of the first occurrence of the specified element, or -1 if this list does not contain this element.

Parameters:
obj -

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

removeAt

public void removeAt(int index)

Removes the specified element from the DisplayBaseCollection collection.

Parameters:
index - The index of the item to remove from the DisplayBaseCollection collection.

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.