Chart FX 7 for Java Server

com.softwarefx.chartfx.server.dataproviders
Class XmlColumnCollection

java.lang.Object
  extended by com.softwarefx.chartfx.server.dataproviders.XmlColumnCollection
All Implemented Interfaces:
Iterable<XmlColumn>, Collection<XmlColumn>

public class XmlColumnCollection
extends Object
implements Iterable<XmlColumn>, Collection<XmlColumn>

Provides access to the XmlColumnCollection object.


Constructor Summary
XmlColumnCollection()
           
 
Method Summary
 boolean add(XmlColumn o)
          Appends the specified element to the XmlColumnCollection collection.
 boolean addAll(Collection<? extends XmlColumn> c)
          Adds all of the elements in the specified collection to the XmlColumnCollection collection.
 void clear()
          Removes all of the elements from this collection.
 boolean contains(Object o)
          Returns true if the XmlColumnCollection contains the specified element.
 boolean containsAll(Collection<?> c)
          Returns true if the XmlColumnCollection collection contains all of the elements in the specified collection.
 XmlColumn get(int index)
          Returns the element at the specified position in the XmlColumnCollection.
 void insert(int index, XmlColumn column)
          Inserts an element into the ArrayList at the specified index.
 boolean isEmpty()
          Returns true if this collection contains no elements.
 Iterator<XmlColumn> iterator()
          Returns an iterator over the elements in this collection.
 boolean remove(Object o)
          Removes the specified element from the XmlColumnCollection collection.
 boolean removeAll(Collection<?> c)
          Removes all of the elements in the specified collection from the XmlColumnCollection collection.
 boolean retainAll(Collection<?> c)
          Retains only the elements in the XmlColumnCollection collection that are contained in the specified collection.
 int size()
          Returns the number of elements in this collection.
 Object[] toArray()
          Returns an array containing all of the elements in this collection in proper sequence.
<T> T[]
toArray(T[] a)
          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
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

XmlColumnCollection

public XmlColumnCollection()
Method Detail

add

public boolean add(XmlColumn o)

Appends the specified element to the XmlColumnCollection collection.

Specified by:
add in interface Collection<XmlColumn>
Parameters:
o - The item to add to the XmlColumnCollection collection.

addAll

public boolean addAll(Collection<? extends XmlColumn> c)

Adds all of the elements in the specified collection to the XmlColumnCollection collection.

Specified by:
addAll in interface Collection<XmlColumn>
Parameters:
c - Elements to be inserted into this collection.

clear

public void clear()

Removes all of the elements from this collection.

Specified by:
clear in interface Collection<XmlColumn>

contains

public boolean contains(Object o)

Returns true if the XmlColumnCollection contains the specified element.

Specified by:
contains in interface Collection<XmlColumn>
Parameters:
o - Element whose presence in this collection is to be tested.

containsAll

public boolean containsAll(Collection<?> c)

Returns true if the XmlColumnCollection collection contains all of the elements in the specified collection.

Specified by:
containsAll in interface Collection<XmlColumn>
Parameters:
c - Collection to be checked for containment in this collection.

get

public XmlColumn get(int index)

Returns the element at the specified position in the XmlColumnCollection.

Parameters:
index - Index of element to return.

insert

public void insert(int index,
                   XmlColumn column)

Inserts an element into the ArrayList at the specified index.

Parameters:
index - The zero-based index at which position should be inserted.
column -

isEmpty

public boolean isEmpty()

Returns true if this collection contains no elements.

Specified by:
isEmpty in interface Collection<XmlColumn>

iterator

public Iterator<XmlColumn> iterator()

Returns an iterator over the elements in this collection.

Specified by:
iterator in interface Iterable<XmlColumn>
Specified by:
iterator in interface Collection<XmlColumn>

remove

public boolean remove(Object o)

Removes the specified element from the XmlColumnCollection collection.

Specified by:
remove in interface Collection<XmlColumn>
Parameters:
o - The item to remove from the XmlColumnCollection collection.

removeAll

public boolean removeAll(Collection<?> c)

Removes all of the elements in the specified collection from the XmlColumnCollection collection.

Specified by:
removeAll in interface Collection<XmlColumn>
Parameters:
c - Elements to be removed from this collection.

retainAll

public boolean retainAll(Collection<?> c)

Retains only the elements in the XmlColumnCollection collection that are contained in the specified collection.

Specified by:
retainAll in interface Collection<XmlColumn>
Parameters:
c - Elements to be retained in this collection.

size

public int size()

Returns the number of elements in this collection.

Specified by:
size in interface Collection<XmlColumn>

toArray

public Object[] toArray()

Returns an array containing all of the elements in this collection in proper sequence.

Specified by:
toArray in interface Collection<XmlColumn>

toArray

public <T> T[] toArray(T[] a)

Returns an array containing all of the elements in this collection in proper sequence.

Specified by:
toArray in interface Collection<XmlColumn>

http://www.softwarefx.com

2008 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.