|
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.LabelAwareCollection
com.softwarefx.chartfx.server.CustomGridLineCollection
public class CustomGridLineCollection
Provides access to the Collections object.
Constructor Summary | |
---|---|
CustomGridLineCollection()
|
Method Summary | ||
---|---|---|
boolean |
add(CustomGridLine o)
Appends the specified element to the CustomGridLineCollection collection. |
|
boolean |
addAll(Collection<? extends CustomGridLine> c)
Adds all of the elements in the specified collection to the CustomGridLineCollection collection. |
|
void |
addRange(CustomGridLine[] items)
Adds an array of objects to the CustomGridLineCollection collection. |
|
void |
clear()
Removes all of the elements from this collection. |
|
boolean |
contains(Object o)
Returns true if the CustomGridLineCollection contains the specified element. |
|
boolean |
containsAll(Collection<?> c)
Returns true if the CustomGridLineCollection collection contains all of the elements in the specified collection. |
|
void |
copyTo(CustomGridLine[] items,
int index)
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. |
|
CustomGridLine |
get(int index)
Returns the element at the specified position in the CustomGridLineCollection. |
|
void |
insert(int index,
String item)
Inserts an element into the ArrayList at the specified index. |
|
boolean |
isEmpty()
Returns true if this collection contains no elements. |
|
Iterator<CustomGridLine> |
iterator()
Returns an iterator over the elements in this collection. |
|
boolean |
remove(Object o)
Removes the specified element from the CustomGridLineCollection collection. |
|
boolean |
removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the CustomGridLineCollection collection. |
|
boolean |
retainAll(Collection<?> c)
Retains only the elements in the CustomGridLineCollection 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. |
|
|
toArray(T[] a)
Returns an array containing all of the elements in this collection in proper sequence. |
Methods inherited from class com.softwarefx.chartfx.server.LabelAwareCollection |
---|
removeAt |
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 CustomGridLineCollection()
Method Detail |
---|
public boolean add(CustomGridLine o)
Appends the specified element to the CustomGridLineCollection collection.
add
in interface Collection<CustomGridLine>
o
- The item to add to the CustomGridLineCollection collection.public boolean addAll(Collection<? extends CustomGridLine> c)
Adds all of the elements in the specified collection to the CustomGridLineCollection collection.
addAll
in interface Collection<CustomGridLine>
c
- Elements to be inserted into this collection.public void addRange(CustomGridLine[] items)
Adds an array of objects to the CustomGridLineCollection collection.
items
- An array of objects to add to the collection.public void clear()
Removes all of the elements from this collection.
clear
in interface Collection<CustomGridLine>
clear
in class LabelAwareCollection
public boolean contains(Object o)
Returns true if the CustomGridLineCollection contains the specified element.
contains
in interface Collection<CustomGridLine>
o
- Element whose presence in this collection is to be tested.public boolean containsAll(Collection<?> c)
Returns true if the CustomGridLineCollection collection contains all of the elements in the specified collection.
containsAll
in interface Collection<CustomGridLine>
c
- Collection to be checked for containment in this collection.public void copyTo(CustomGridLine[] 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 CustomGridLineCollection. The Array must have zero-based indexing.index
- The zero-based index in array at which copying begins.public CustomGridLine get(int index)
Returns the element at the specified position in the CustomGridLineCollection.
index
- Index of element to return.public void insert(int index, String item)
Inserts an element into the ArrayList at the specified index.
index
- The zero-based index at which position should be inserted.item
- The item to insert.public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty
in interface Collection<CustomGridLine>
public Iterator<CustomGridLine> iterator()
Returns an iterator over the elements in this collection.
iterator
in interface Iterable<CustomGridLine>
iterator
in interface Collection<CustomGridLine>
public boolean remove(Object o)
Removes the specified element from the CustomGridLineCollection collection.
remove
in interface Collection<CustomGridLine>
o
- The item to remove from the CustomGridLineCollection collection.public boolean removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the CustomGridLineCollection collection.
removeAll
in interface Collection<CustomGridLine>
c
- Elements to be removed from this collection.public boolean retainAll(Collection<?> c)
Retains only the elements in the CustomGridLineCollection collection that are contained in the specified collection.
retainAll
in interface Collection<CustomGridLine>
c
- Elements to be retained in this collection.public int size()
Returns the number of elements in this collection.
size
in interface Collection<CustomGridLine>
public Object[] toArray()
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<CustomGridLine>
public <T> T[] toArray(T[] a)
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<CustomGridLine>
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |