|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.CellAttributesCollection
public class CellAttributesCollection
Provides access to the CellAttributesCollection object.
Charts may have several CellAttributes
objects. The CellAttributesCollection is a collection of all the CellAttributes items for a chart.
Constructor Summary | |
---|---|
CellAttributesCollection()
|
Method Summary | ||
---|---|---|
boolean |
add(CellAttributes o)
Appends the specified element to the CellAttributesCollection collection. |
|
boolean |
addAll(Collection<? extends CellAttributes> c)
Adds all of the elements in the specified collection to the CellAttributesCollection collection. |
|
void |
clear()
Removes all of the elements from this collection. |
|
boolean |
contains(Object o)
Returns true if the CellAttributesCollection contains the specified element. |
|
boolean |
containsAll(Collection<?> c)
Returns true if the CellAttributesCollection collection contains all of the elements in the specified collection. |
|
void |
copyTo(CellAttributes[] items,
int index)
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. |
|
CellAttributes |
get(int row)
Returns the element at the specified position in the CellAttributesCollection. |
|
CellAttributes |
get(int row,
int column)
Returns the element at the specified position in the CellAttributesCollection. |
|
boolean |
isEmpty()
Returns true if this collection contains no elements. |
|
Iterator<CellAttributes> |
iterator()
Returns an iterator over the elements in this collection. |
|
boolean |
remove(Object o)
Removes the specified element from the CellAttributesCollection collection. |
|
boolean |
removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the CellAttributesCollection collection. |
|
boolean |
retainAll(Collection<?> c)
Retains only the elements in the CellAttributesCollection collection that are contained in the specified collection. |
|
void |
set(int row,
CellAttributes value)
Replaces the element at the specified position in the CellAttributesCollection collection with the specified element. |
|
void |
set(int row,
int column,
CellAttributes value)
Replaces the element at the specified position in the CellAttributesCollection collection with the specified element. |
|
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. |
|
|
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 |
---|
public CellAttributesCollection()
Method Detail |
---|
public boolean add(CellAttributes o)
Appends the specified element to the CellAttributesCollection collection.
add
in interface Collection<CellAttributes>
o
- The item to add to the CellAttributesCollection collection.public boolean addAll(Collection<? extends CellAttributes> c)
Adds all of the elements in the specified collection to the CellAttributesCollection collection.
addAll
in interface Collection<CellAttributes>
c
- Elements to be inserted into this collection.public void clear()
Removes all of the elements from this collection.
clear
in interface Collection<CellAttributes>
public boolean contains(Object o)
Returns true if the CellAttributesCollection contains the specified element.
contains
in interface Collection<CellAttributes>
o
- Element whose presence in this collection is to be tested.public boolean containsAll(Collection<?> c)
Returns true if the CellAttributesCollection collection contains all of the elements in the specified collection.
containsAll
in interface Collection<CellAttributes>
c
- Collection to be checked for containment in this collection.public void copyTo(CellAttributes[] items, int index)
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array.
items
- The one-dimensional Array that is the destination of the elements copied from CellAttributesCollection. The Array must have zero-based indexing.index
- The zero-based index in array at which copying begins.public CellAttributes get(int row)
Returns the element at the specified position in the CellAttributesCollection.
row
- Index of element to return.public CellAttributes get(int row, int column)
Returns the element at the specified position in the CellAttributesCollection.
row
- Index of element to return.column
- Index of the column to return.public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty
in interface Collection<CellAttributes>
public Iterator<CellAttributes> iterator()
Returns an iterator over the elements in this collection.
iterator
in interface Iterable<CellAttributes>
iterator
in interface Collection<CellAttributes>
public boolean remove(Object o)
Removes the specified element from the CellAttributesCollection collection.
remove
in interface Collection<CellAttributes>
o
- The item to remove from the CellAttributesCollection collection.public boolean removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the CellAttributesCollection collection.
removeAll
in interface Collection<CellAttributes>
c
- Elements to be removed from this collection.public boolean retainAll(Collection<?> c)
Retains only the elements in the CellAttributesCollection collection that are contained in the specified collection.
retainAll
in interface Collection<CellAttributes>
c
- Elements to be retained in this collection.public void set(int row, CellAttributes value)
Replaces the element at the specified position in the CellAttributesCollection collection with the specified element.
row
- The index of the row to add to the CellAttributesCollection collection.value
- The item to add to the CellAttributesCollection collectionpublic void set(int row, int column, CellAttributes value)
Replaces the element at the specified position in the CellAttributesCollection collection with the specified element.
row
- The index of the row to add to the CellAttributesCollection collection.column
- The index of the column to add to the CellAttributesCollection collection.value
- The item to add to the CellAttributesCollection collectionpublic int size()
Returns the number of elements in this collection.
size
in interface Collection<CellAttributes>
public Object[] toArray()
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<CellAttributes>
public <T> T[] toArray(T[] a)
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<CellAttributes>
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |