|
Chart FX for Java 6.2 | ||||||||
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.SelectionList
Provides access to the SelectionList object.
Constructor Summary | |
SelectionList()
|
Method Summary | |
boolean |
add(AnnotationObject element)
Appends the specified element to the SelectionList collection. |
void |
add(int index,
AnnotationObject element)
Appends the specified element to the SelectionList collection. |
void |
add(int index,
java.lang.Object element)
Appends the specified element to the SelectionList collection. |
boolean |
add(java.lang.Object element)
Appends the specified element to the SelectionList collection. |
boolean |
addAll(java.util.Collection elements)
Adds all of the elements in the specified collection to the SelectionList collection. |
boolean |
addAll(int index,
java.util.Collection elements)
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(AnnotationObject element)
Returns true if the SelectionList contains the specified element. |
boolean |
contains(java.lang.Object element)
Returns true if the SelectionList contains the specified element. |
boolean |
containsAll(java.util.Collection elements)
Returns true if the SelectionList collection contains all of the elements in the specified collection. |
java.util.Enumeration |
elements()
Returns an enumeration of the values in the SelectionList . |
boolean |
equals(java.lang.Object element)
Compares the specified object with this collection for equality. |
boolean |
equals(SelectionList 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 SelectionList. |
AnnotationObject |
getItem(int n)
Gets and Sets the element at the specified position in the LabelList. |
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 index in the SelectionList of the first occurrence of the specified element, or -1 if this list does not contain this element. |
int |
indexOf(java.lang.Object element)
Returns the index in the SelectionList of the first occurrence of the specified element, or -1 if this list does not contain this element. |
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 SelectionList 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 SelectionList 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 specified element from the SelectionList collection. |
java.lang.Object |
remove(int index)
Removes the specified element from the SelectionList collection. |
boolean |
remove(java.lang.Object element)
Removes the specified element from the SelectionList collection. |
boolean |
removeAll(java.util.Collection elements)
Removes all of the elements in the specified collection from the SelectionList collection. |
boolean |
retainAll(java.util.Collection elements)
Retains only the elements in the SelectionList collection that are contained in the specified collection. |
AnnotationObject |
set(int index,
AnnotationObject element)
Replaces the element at the specified position in the SelectionList collection with the specified element. |
java.lang.Object |
set(int index,
java.lang.Object element)
Replaces the element at the specified position in the SelectionList 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[] internalObject)
Returns an array containing all of the elements in this collection in proper sequence. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SelectionList()
Method Detail |
public boolean add(java.lang.Object element)
Appends the specified element to the SelectionList collection.
add
in interface java.util.List
add
in class AnnotationListBase
element
- The item to add to the SelectionList collection.AnnotationListBase.getItem(int)
,
AnnotationListBase.contains(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationListBase.remove(int)
,
AnnotationX
,
AnnotationList
public void add(int index, java.lang.Object element)
Appends the specified element to the SelectionList collection.
add
in interface java.util.List
add
in class AnnotationListBase
element
- The item to add to the SelectionList collection.index
- The index of the item to add to the SelectionList collection.AnnotationListBase.getItem(int)
,
AnnotationListBase.contains(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationListBase.remove(int)
,
AnnotationX
,
AnnotationList
public boolean add(AnnotationObject element)
Appends the specified element to the SelectionList collection.
add
in class AnnotationListBase
element
- The item to add to the SelectionList collection.AnnotationListBase.getItem(int)
,
AnnotationListBase.contains(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationListBase.remove(int)
,
AnnotationX
,
AnnotationList
public void add(int index, AnnotationObject element)
Appends the specified element to the SelectionList collection.
add
in class AnnotationListBase
element
- The item to add to the SelectionList collection.index
- The index of the item to add to the SelectionList collection.AnnotationListBase.getItem(int)
,
AnnotationListBase.contains(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationListBase.remove(int)
,
AnnotationX
,
AnnotationList
public boolean addAll(java.util.Collection elements)
Adds all of the elements in the specified collection to the SelectionList collection.
addAll
in interface java.util.List
addAll
in class AnnotationListBase
elements
- 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 SelectionList collection.
addAll
in interface java.util.List
addAll
in class AnnotationListBase
elements
- Elements to be inserted into this collection.index
- The index of the item to add to the SelectionList collection.public void clear()
Removes all of the elements from this collection.
clear
in interface java.util.List
clear
in class AnnotationListBase
public boolean contains(java.lang.Object element)
Returns true if the SelectionList contains the specified element.
contains
in interface java.util.List
contains
in class AnnotationListBase
element
- Element whose presence in this collection is to be tested.AnnotationListBase.getItem(int)
,
AnnotationListBase.add(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationListBase.remove(int)
,
AnnotationX
public boolean contains(AnnotationObject element)
Returns true if the SelectionList contains the specified element.
contains
in class AnnotationListBase
element
- Element whose presence in this collection is to be tested.AnnotationListBase.getItem(int)
,
AnnotationListBase.add(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationListBase.remove(int)
,
AnnotationX
public boolean containsAll(java.util.Collection elements)
Returns true if the SelectionList collection contains all of the elements in the specified collection.
containsAll
in interface java.util.List
containsAll
in class AnnotationListBase
elements
- Collection to be checked for containment in this collection.public java.util.Enumeration elements()
Returns an enumeration of the values in the SelectionList . Use the Enumeration methods on the returned object to fetch the elements sequentially.
elements
in class AnnotationListBase
public boolean equals(java.lang.Object element)
Compares the specified object with this collection for equality.
equals
in interface java.util.List
equals
in class AnnotationListBase
element
- Object to be compared for equality with this collection.public boolean equals(SelectionList 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 SelectionList.
get
in interface java.util.List
get
in class AnnotationListBase
index
- Index of element to return.public AnnotationObject getItem(int n)
Gets and Sets the element at the specified position in the LabelList.
getItem
in class AnnotationListBase
n
- The index of the element in the LabelList.AnnotationX.getList(int)
,
AnnotationX
public int hashCode()
Returns the hash code value for this collection.
hashCode
in interface java.util.List
hashCode
in class AnnotationListBase
public boolean hasMoreElements()
Tests if this enumeration contains more elements.
hasMoreElements
in interface java.util.Enumeration
hasMoreElements
in class AnnotationListBase
public int indexOf(java.lang.Object element)
Returns the index in the SelectionList of the first occurrence of the specified element, or -1 if this list does not contain this element.
indexOf
in interface java.util.List
indexOf
in class AnnotationListBase
element
- Element to search for.AnnotationListBase.getItem(int)
,
AnnotationListBase#copyTo
public int indexOf(AnnotationObject element)
Returns the index in the SelectionList of the first occurrence of the specified element, or -1 if this list does not contain this element.
indexOf
in class AnnotationListBase
element
- Element to search for.AnnotationListBase.getItem(int)
,
AnnotationListBase#copyTo
public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty
in interface java.util.List
isEmpty
in class AnnotationListBase
public java.util.Iterator iterator()
Returns an iterator over the elements in this collection.
iterator
in interface java.util.List
iterator
in class AnnotationListBase
public int lastIndexOf(java.lang.Object element)
Returns the index in the SelectionList of the last occurrence of the specified element, or -1 if this list does not contain this element.
lastIndexOf
in interface java.util.List
lastIndexOf
in class AnnotationListBase
element
- Element to search for.public int lastIndexOf(AnnotationObject element)
Returns the index in the SelectionList of the last occurrence of the specified element, or -1 if this list does not contain this element.
lastIndexOf
in class AnnotationListBase
element
- Element to search for.public java.util.ListIterator listIterator()
Returns a list iterator of the elements in this collection.
listIterator
in interface java.util.List
listIterator
in class AnnotationListBase
public java.util.ListIterator listIterator(int index)
Returns a list iterator of the elements in this collection.
listIterator
in interface java.util.List
listIterator
in class AnnotationListBase
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.Enumeration
nextElement
in class AnnotationListBase
public java.lang.Object remove(int index)
Removes the specified element from the SelectionList collection.
remove
in interface java.util.List
remove
in class AnnotationListBase
index
- The index of the item to add to the SelectionList collection.AnnotationListBase.getItem(int)
,
AnnotationListBase.add(java.lang.Object)
,
AnnotationListBase.contains(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationX
public boolean remove(java.lang.Object element)
Removes the specified element from the SelectionList collection.
remove
in interface java.util.List
remove
in class AnnotationListBase
element
- The item to add to the SelectionList collection.AnnotationListBase.getItem(int)
,
AnnotationListBase.add(java.lang.Object)
,
AnnotationListBase.contains(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationX
public boolean remove(AnnotationObject element)
Removes the specified element from the SelectionList collection.
remove
in class AnnotationListBase
element
- The item to add to the SelectionList collection.AnnotationListBase.getItem(int)
,
AnnotationListBase.add(java.lang.Object)
,
AnnotationListBase.contains(java.lang.Object)
,
AnnotationListBase#insert
,
AnnotationX
public boolean removeAll(java.util.Collection elements)
Removes all of the elements in the specified collection from the SelectionList collection.
removeAll
in interface java.util.List
removeAll
in class AnnotationListBase
elements
- Elements to be removed from this collection.public boolean retainAll(java.util.Collection elements)
Retains only the elements in the SelectionList collection that are contained in the specified collection.
retainAll
in interface java.util.List
retainAll
in class AnnotationListBase
elements
- 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 SelectionList collection with the specified element.
set
in interface java.util.List
set
in class AnnotationListBase
index
- The index of the item to add to the SelectionList collection.element
- The item to add to the SelectionList collectionpublic AnnotationObject set(int index, AnnotationObject element)
Replaces the element at the specified position in the SelectionList collection with the specified element.
set
in class AnnotationListBase
index
- The index of the item to add to the SelectionList collection.element
- The item to add to the SelectionList collectionpublic int size()
Returns the number of elements in this collection.
size
in interface java.util.List
size
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.List
subList
in class AnnotationListBase
fromIndex
- 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.List
toArray
in class AnnotationListBase
public java.lang.Object[] toArray(java.lang.Object[] internalObject)
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface java.util.List
toArray
in class AnnotationListBase
|
http://www.softwarefx.com | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |