|
Chart FX for Java 6.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSoftwareFX.ChartFX.Annotation.AnnotationListBase
SoftwareFX.ChartFX.Annotation.AnnotationList
public final class AnnotationList
Provides access to the AnnotationList object.
The Annotation list consists of all the individual annotation objects that you would like to include in your charting application. Once all the desired annotation objects have been added to the list, the annotation extension object may be added to the chart using the Extensions property.
The AnnotationList Class supports or supplies access to all the properties and methods used to create, modify and maintain the annotation list.
| Constructor Summary | |
|---|---|
AnnotationList()
|
|
| Method Summary | |
|---|---|
boolean |
add(AnnotationObject element)
Used to add an object to the end of an annotation group or to the entire annotation objects list. |
void |
add(int index,
AnnotationObject element)
Used to add an object to the end of an annotation group or to the entire annotation objects list. |
void |
add(int index,
java.lang.Object element)
Used to add an object to the end of an annotation group or to the entire annotation objects list. |
boolean |
add(java.lang.Object element)
Used to add an object to the end of an annotation group or to the entire annotation objects list. |
boolean |
addAll(java.util.Collection elements)
Adds all of the elements in the specified collection to the AnnotationList collection. |
boolean |
addAll(int index,
java.util.Collection elements)
Adds all of the elements in the specified collection to the AnnotationList collection. |
void |
clear()
Removes all of the elements from this collection. |
boolean |
contains(AnnotationObject element)
Determines whether an annotation list or group contains a specific element. |
boolean |
contains(java.lang.Object element)
Determines whether an annotation list or group contains a specific element. |
boolean |
containsAll(java.util.Collection elements)
Returns true if the AnnotationList collection contains all of the elements in the specified collection. |
java.util.Enumeration |
elements()
Returns an enumeration of the values in the AnnotationList . |
boolean |
equals(AnnotationList element)
Compares the specified object with this collection for equality. |
boolean |
equals(java.lang.Object element)
Compares the specified object with this collection for equality. |
java.lang.Object |
get(int index)
Returns the element at the specified position in the AnnotationList. |
int |
hashCode()
Returns the hash code value for this collection. |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
int |
indexOf(AnnotationObject element)
Returns the zero based index of a specific item in a list. |
int |
indexOf(java.lang.Object element)
Returns the zero based index of a specific item in a list. |
boolean |
isEmpty()
Returns true if this collection contains no elements. |
java.util.Iterator |
iterator()
Returns an iterator over the elements in this collection. |
int |
lastIndexOf(AnnotationObject element)
Returns the index in the AnnotationList of the last occurrence of the specified element, or -1 if this list does not contain this element. |
int |
lastIndexOf(java.lang.Object element)
Returns the index in the AnnotationList of the last occurrence of the specified element, or -1 if this list does not contain this element. |
java.util.ListIterator |
listIterator()
Returns a list iterator of the elements in this collection. |
java.util.ListIterator |
listIterator(int index)
Returns a list iterator of the elements in this collection. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
boolean |
remove(AnnotationObject element)
Removes the first occurrence of a specified annotation object from the selected collection. |
java.lang.Object |
remove(int index)
Removes the first occurrence of a specified annotation object from the selected collection. |
boolean |
remove(java.lang.Object element)
Removes the first occurrence of a specified annotation object from the selected collection. |
boolean |
removeAll(java.util.Collection elements)
Removes all of the elements in the specified collection from the AnnotationList collection. |
boolean |
retainAll(java.util.Collection elements)
Retains only the elements in the AnnotationList collection that are contained in the specified collection. |
AnnotationObject |
set(int index,
AnnotationObject element)
Replaces the element at the specified position in the AnnotationList collection with the specified element. |
java.lang.Object |
set(int index,
java.lang.Object element)
Replaces the element at the specified position in the AnnotationList collection with the specified element. |
int |
size()
Returns the number of elements in this collection. |
java.util.List |
subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. |
java.lang.Object[] |
toArray()
Returns an array containing all of the elements in this collection in proper sequence. |
java.lang.Object[] |
toArray(java.lang.Object[] obj)
Returns an array containing all of the elements in this collection in proper sequence. |
| Methods inherited from class SoftwareFX.ChartFX.Annotation.AnnotationListBase |
|---|
getItem |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationList()
| Method Detail |
|---|
public boolean add(java.lang.Object element)
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.
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 java.util.Collectionadd in interface java.util.Listadd in class AnnotationListBaseelement - AnnotationListBase.getItem(int),
AnnotationListBase.contains(java.lang.Object),
AnnotationListBase.remove(java.lang.Object),
AnnotationX,
AnnotationList
public void add(int index,
java.lang.Object element)
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.
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 java.util.Listadd in class AnnotationListBaseindex - element - AnnotationListBase.getItem(int),
AnnotationListBase.contains(java.lang.Object),
AnnotationListBase.remove(java.lang.Object),
AnnotationX,
AnnotationListpublic boolean add(AnnotationObject element)
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.
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 class AnnotationListBaseelement - AnnotationListBase.getItem(int),
AnnotationListBase.contains(java.lang.Object),
AnnotationListBase.remove(java.lang.Object),
AnnotationX,
AnnotationList
public void add(int index,
AnnotationObject element)
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.
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 class AnnotationListBaseindex - element - AnnotationListBase.getItem(int),
AnnotationListBase.contains(java.lang.Object),
AnnotationListBase.remove(java.lang.Object),
AnnotationX,
AnnotationListpublic boolean addAll(java.util.Collection elements)
Adds all of the elements in the specified collection to the AnnotationList collection.
addAll in interface java.util.CollectionaddAll in interface java.util.ListaddAll in class AnnotationListBaseelements - Elements to be inserted into this collection.
public boolean addAll(int index,
java.util.Collection elements)
Adds all of the elements in the specified collection to the AnnotationList collection.
addAll in interface java.util.ListaddAll in class AnnotationListBaseindex - The index of the item to add to the AnnotationList collection.elements - Elements to be inserted into this collection.public void clear()
Removes all of the elements from this collection.
clear in interface java.util.Collectionclear in interface java.util.Listclear in class AnnotationListBasepublic boolean contains(java.lang.Object element)
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 java.util.Collectioncontains in interface java.util.Listcontains in class AnnotationListBaseelement - AnnotationListBase.getItem(int),
AnnotationListBase.add(java.lang.Object),
AnnotationListBase.remove(java.lang.Object),
AnnotationXpublic boolean contains(AnnotationObject element)
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 class AnnotationListBaseelement - AnnotationListBase.getItem(int),
AnnotationListBase.add(java.lang.Object),
AnnotationListBase.remove(java.lang.Object),
AnnotationXpublic boolean containsAll(java.util.Collection elements)
Returns true if the AnnotationList collection contains all of the elements in the specified collection.
containsAll in interface java.util.CollectioncontainsAll in interface java.util.ListcontainsAll in class AnnotationListBaseelements - Collection to be checked for containment in this collection.public java.util.Enumeration elements()
Returns an enumeration of the values in the AnnotationList . Use the Enumeration methods on the returned object to fetch the elements sequentially.
elements in class AnnotationListBasepublic boolean equals(java.lang.Object element)
Compares the specified object with this collection for equality.
equals in interface java.util.Collectionequals in interface java.util.Listequals in class AnnotationListBaseelement - Object to be compared for equality with this collection.public boolean equals(AnnotationList element)
Compares the specified object with this collection for equality.
element - Object to be compared for equality with this collection.public java.lang.Object get(int index)
Returns the element at the specified position in the AnnotationList.
get in interface java.util.Listget in class AnnotationListBaseindex - Index of element to return.public int hashCode()
Returns the hash code value for this collection.
hashCode in interface java.util.CollectionhashCode in interface java.util.ListhashCode in class AnnotationListBasepublic boolean hasMoreElements()
Tests if this enumeration contains more elements.
hasMoreElements in interface java.util.EnumerationhasMoreElements in class AnnotationListBasepublic int indexOf(java.lang.Object element)
Returns the zero based index of a specific item in a list.
This is useful to find the position of a specific item in the array list.
indexOf in interface java.util.ListindexOf in class AnnotationListBaseelement - AnnotationListBase.getItem(int)public int indexOf(AnnotationObject element)
Returns the zero based index of a specific item in a list.
This is useful to find the position of a specific item in the array list.
indexOf in class AnnotationListBaseelement - AnnotationListBase.getItem(int)public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty in interface java.util.CollectionisEmpty in interface java.util.ListisEmpty in class AnnotationListBasepublic java.util.Iterator iterator()
Returns an iterator over the elements in this collection.
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Listiterator in class AnnotationListBasepublic int lastIndexOf(java.lang.Object element)
Returns the index in the AnnotationList of the last occurrence of the specified element, or -1 if this list does not contain this element.
lastIndexOf in interface java.util.ListlastIndexOf in class AnnotationListBaseelement - Element to search for.public int lastIndexOf(AnnotationObject element)
Returns the index in the AnnotationList of the last occurrence of the specified element, or -1 if this list does not contain this element.
lastIndexOf in class AnnotationListBaseelement - Element to search for.public java.util.ListIterator listIterator()
Returns a list iterator of the elements in this collection.
listIterator in interface java.util.ListlistIterator in class AnnotationListBasepublic java.util.ListIterator listIterator(int index)
Returns a list iterator of the elements in this collection.
listIterator in interface java.util.ListlistIterator in class AnnotationListBaseindex - public java.lang.Object nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
nextElement in interface java.util.EnumerationnextElement in class AnnotationListBasepublic boolean remove(java.lang.Object element)
Removes the first occurrence of a specified annotation object from the selected collection.
The AnnotationListBase.add(java.lang.Object) method may be used to add annotation objects to a selected annotation list or group.
The AnnotationListBase.contains(java.lang.Object) method will allow you to determine if a specific annotation object has been added to a group or list.
remove in interface java.util.Collectionremove in interface java.util.Listremove in class AnnotationListBaseelement - AnnotationListBase.getItem(int),
AnnotationListBase.add(java.lang.Object),
AnnotationListBase.contains(java.lang.Object),
AnnotationXpublic java.lang.Object remove(int index)
Removes the first occurrence of a specified annotation object from the selected collection.
The AnnotationListBase.add(java.lang.Object) method may be used to add annotation objects to a selected annotation list or group.
The AnnotationListBase.contains(java.lang.Object) method will allow you to determine if a specific annotation object has been added to a group or list.
remove in interface java.util.Listremove in class AnnotationListBaseindex - AnnotationListBase.getItem(int),
AnnotationListBase.add(java.lang.Object),
AnnotationListBase.contains(java.lang.Object),
AnnotationXpublic boolean remove(AnnotationObject element)
Removes the first occurrence of a specified annotation object from the selected collection.
The AnnotationListBase.add(java.lang.Object) method may be used to add annotation objects to a selected annotation list or group.
The AnnotationListBase.contains(java.lang.Object) method will allow you to determine if a specific annotation object has been added to a group or list.
remove in class AnnotationListBaseelement - AnnotationListBase.getItem(int),
AnnotationListBase.add(java.lang.Object),
AnnotationListBase.contains(java.lang.Object),
AnnotationXpublic boolean removeAll(java.util.Collection elements)
Removes all of the elements in the specified collection from the AnnotationList collection.
removeAll in interface java.util.CollectionremoveAll in interface java.util.ListremoveAll in class AnnotationListBaseelements - Elements to be removed from this collection.public boolean retainAll(java.util.Collection elements)
Retains only the elements in the AnnotationList collection that are contained in the specified collection.
retainAll in interface java.util.CollectionretainAll in interface java.util.ListretainAll in class AnnotationListBaseelements - Elements to be retained in this collection.
public java.lang.Object set(int index,
java.lang.Object element)
Replaces the element at the specified position in the AnnotationList collection with the specified element.
set in interface java.util.Listset in class AnnotationListBaseindex - The index of the item to add to the AnnotationList collection.element - The item to add to the AnnotationList collection
public AnnotationObject set(int index,
AnnotationObject element)
Replaces the element at the specified position in the AnnotationList collection with the specified element.
set in class AnnotationListBaseindex - The index of the item to add to the AnnotationList collection.element - The item to add to the AnnotationList collectionpublic int size()
Returns the number of elements in this collection.
size in interface java.util.Collectionsize in interface java.util.Listsize in class AnnotationListBase
public java.util.List subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
subList in interface java.util.ListsubList in class AnnotationListBasefromIndex - Low endpoint (inclusive) of the subList.toIndex - High endpoint (exclusive) of the subList.public java.lang.Object[] toArray()
Returns an array containing all of the elements in this collection in proper sequence.
toArray in interface java.util.CollectiontoArray in interface java.util.ListtoArray in class AnnotationListBasepublic java.lang.Object[] toArray(java.lang.Object[] obj)
Returns an array containing all of the elements in this collection in proper sequence.
toArray in interface java.util.CollectiontoArray in interface java.util.ListtoArray in class AnnotationListBase
|
http://www.softwarefx.com | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||