|
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.PaneCollection
public class PaneCollection
Provides access to the PaneCollection object.
Charts may support multiple Pane
objects. The PaneCollection is a collection of all the pane objects for a chart.
Constructor Summary | |
---|---|
PaneCollection()
|
Method Summary | ||
---|---|---|
boolean |
add(Pane o)
Appends the specified element to the PaneCollection collection. |
|
boolean |
addAll(Collection<? extends Pane> c)
Adds all of the elements in the specified collection to the PaneCollection collection. |
|
void |
addRange(Pane[] items)
Adds an array of objects to the PaneCollection collection. |
|
void |
clear()
Removes all of the elements from this collection. |
|
boolean |
contains(Object o)
Returns true if the PaneCollection contains the specified element. |
|
boolean |
containsAll(Collection<?> c)
Returns true if the PaneCollection collection contains all of the elements in the specified collection. |
|
void |
copyTo(Pane[] items,
int index)
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. |
|
Pane |
get(int index)
Returns the element at the specified position in the PaneCollection. |
|
Pane |
hitTest(int x,
int y)
Returns the Pane for a specific X, Y coordinate. |
|
void |
insert(int index,
Pane pane)
Inserts an element into the ArrayList at the specified index. |
|
boolean |
isEmpty()
Returns true if this collection contains no elements. |
|
Iterator<Pane> |
iterator()
Returns an iterator over the elements in this collection. |
|
boolean |
remove(Object o)
Removes the specified element from the PaneCollection collection. |
|
boolean |
removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the PaneCollection collection. |
|
void |
removeAt(int index)
Removes the element in the specified position from the PaneCollection collection. |
|
boolean |
retainAll(Collection<?> c)
Retains only the elements in the PaneCollection 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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Constructor Detail |
---|
public PaneCollection()
Method Detail |
---|
public boolean add(Pane o)
Appends the specified element to the PaneCollection collection.
add
in interface Collection<Pane>
o
- The item to add to the PaneCollection collection.public boolean addAll(Collection<? extends Pane> c)
Adds all of the elements in the specified collection to the PaneCollection collection.
addAll
in interface Collection<Pane>
c
- Elements to be inserted into this collection.public void addRange(Pane[] items)
Adds an array of objects to the PaneCollection 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<Pane>
public boolean contains(Object o)
Returns true if the PaneCollection contains the specified element.
contains
in interface Collection<Pane>
o
- Element whose presence in this collection is to be tested.public boolean containsAll(Collection<?> c)
Returns true if the PaneCollection collection contains all of the elements in the specified collection.
containsAll
in interface Collection<Pane>
c
- Collection to be checked for containment in this collection.public void copyTo(Pane[] 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 PaneCollection. The Array must have zero-based indexing.index
- The zero-based index in array at which copying begins.public Pane get(int index)
Returns the element at the specified position in the PaneCollection.
index
- Index of element to return.public Pane hitTest(int x, int y)
Returns the Pane for a specific X, Y coordinate.
x
- An integer specifying the X coordinate where you want to simulate the mouse click.y
- An integer specifying the Y coordinate where you want to simulate the mouse click.public void insert(int index, Pane pane)
Inserts an element into the ArrayList at the specified index.
index
- The zero-based index at which position should be inserted.pane
- public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty
in interface Collection<Pane>
public Iterator<Pane> iterator()
Returns an iterator over the elements in this collection.
iterator
in interface Iterable<Pane>
iterator
in interface Collection<Pane>
public boolean remove(Object o)
Removes the specified element from the PaneCollection collection.
remove
in interface Collection<Pane>
o
- The item to remove from the PaneCollection collection.public boolean removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the PaneCollection collection.
removeAll
in interface Collection<Pane>
c
- Elements to be removed from this collection.public void removeAt(int index)
Removes the element in the specified position from the PaneCollection collection.
index
- The index of the item to remove from the PaneCollection collection.public boolean retainAll(Collection<?> c)
Retains only the elements in the PaneCollection collection that are contained in the specified collection.
retainAll
in interface Collection<Pane>
c
- Elements to be retained in this collection.public int size()
Returns the number of elements in this collection.
size
in interface Collection<Pane>
public Object[] toArray()
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<Pane>
public <T> T[] toArray(T[] a)
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<Pane>
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |