|
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.annotation.AnnotationListBase
com.softwarefx.chartfx.server.annotation.SelectionList
public class SelectionList
Provides access to the SelectionList object.
Constructor Summary | |
---|---|
SelectionList(Annotations annotations)
|
Method Summary | ||
---|---|---|
boolean |
add(Object o)
Used to add an object to the end of an annotation group or to the entire annotation objects list. |
|
boolean |
addAll(Collection<? extends Object> c)
Adds all of the elements in the specified collection to the SelectionList collection. |
|
void |
clear()
Removes all of the elements from this collection. |
|
boolean |
contains(Object o)
Determines whether an annotation list or group contains a specific element. |
|
boolean |
containsAll(Collection<?> c)
Returns true if the SelectionList collection contains all of the elements in the specified collection. |
|
boolean |
isEmpty()
Returns true if this collection contains no elements. |
|
Iterator<Object> |
iterator()
Returns an iterator over the elements in this collection. |
|
boolean |
remove(Object o)
Removes the first occurrence of a specified annotation object from the selected collection. |
|
boolean |
removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the SelectionList collection. |
|
boolean |
retainAll(Collection<?> c)
Retains only the elements in the SelectionList 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.annotation.AnnotationListBase |
---|
add, contains, copyTo, get, hitTest, indexOf, insert, remove |
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 SelectionList(Annotations annotations)
Method Detail |
---|
public boolean add(Object o)
Used to add an object to the end of an annotation group or to the entire annotation objects list.
This method allows you to add annotation objects to the annotation list, SelectionList, annotation groups, etc.
Other supported members of the AnnotationListBase
Class
allow you AnnotationListBase.insert(int, com.softwarefx.chartfx.server.annotation.AnnotationObject)
and AnnotationListBase.remove(com.softwarefx.chartfx.server.annotation.AnnotationObject)
annotation objects from an annotation list or group.
Before you can add any annotation objects to the annotation list, you must first create the annotation list object. Once created you may begin adding individual annotation objects to the list.
add
in interface Collection<Object>
o
- AnnotationListBase.contains(com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
AnnotationListBase.insert(int, com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
AnnotationListBase.remove(com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
Annotations
,
AnnotationList
public boolean addAll(Collection<? extends Object> c)
Adds all of the elements in the specified collection to the SelectionList collection.
addAll
in interface Collection<Object>
c
- Elements to be inserted into this collection.public void clear()
Removes all of the elements from this collection.
clear
in interface Collection<Object>
public boolean contains(Object o)
Determines whether an annotation list or group contains a specific element.
This method will return True if the collection contains the specified object; otherwise, False.
contains
in interface Collection<Object>
o
- AnnotationListBase.add(com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
AnnotationListBase.insert(int, com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
AnnotationListBase.remove(com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
Annotations
public boolean containsAll(Collection<?> c)
Returns true if the SelectionList collection contains all of the elements in the specified collection.
containsAll
in interface Collection<Object>
c
- Collection to be checked for containment in this collection.public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty
in interface Collection<Object>
public Iterator<Object> iterator()
Returns an iterator over the elements in this collection.
iterator
in interface Iterable<Object>
iterator
in interface Collection<Object>
public boolean remove(Object o)
Removes the first occurrence of a specified annotation object from the selected collection.
The AnnotationListBase.add(com.softwarefx.chartfx.server.annotation.AnnotationObject)
method may be used to add annotation objects to a selected annotation list or group. You may also insert an object at a specified index value using the AnnotationListBase.insert(int, com.softwarefx.chartfx.server.annotation.AnnotationObject)
method.
The AnnotationListBase.contains(com.softwarefx.chartfx.server.annotation.AnnotationObject)
method will allow you to determine if a specific annotation object has been added to a group or list.
remove
in interface Collection<Object>
o
- AnnotationListBase.add(com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
AnnotationListBase.contains(com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
AnnotationListBase.insert(int, com.softwarefx.chartfx.server.annotation.AnnotationObject)
,
Annotations
public boolean removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the SelectionList collection.
removeAll
in interface Collection<Object>
c
- Elements to be removed from this collection.public boolean retainAll(Collection<?> c)
Retains only the elements in the SelectionList collection that are contained in the specified collection.
retainAll
in interface Collection<Object>
c
- Elements to be retained in this collection.public int size()
Returns the number of elements in this collection.
size
in interface Collection<Object>
public Object[] toArray()
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<Object>
public <T> T[] toArray(T[] a)
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<Object>
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |