|
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.maps.LabelLinkCollection
public class LabelLinkCollection
Provides access to the LabelLinkCollection object
The supported members of the LabelLinkCollection class are used to administer the collection of LabelLink objects. This class is derived from the CollectBase class, therefore, the standard collection members are supported.
Constructor Summary | |
---|---|
LabelLinkCollection()
|
Method Summary | ||
---|---|---|
boolean |
add(LabelLink o)
Used to add a LabelLinks object to the end of the LabelLinkCollection. |
|
boolean |
addAll(Collection<? extends LabelLink> c)
Adds all of the elements in the specified collection to the LabelLinkCollection collection. |
|
void |
clear()
Removes all of the elements from this collection. |
|
boolean |
contains(Object o)
Determines whether the LabelLinkCollection contains a specific element. |
|
boolean |
containsAll(Collection<?> c)
Returns true if the LabelLinkCollection collection contains all of the elements in the specified collection. |
|
void |
copyTo(LabelLink[] array,
int index)
Copies the entire LabelLinkCollection to a compatible one-dimensional Array, starting at the specified index of the target array. |
|
LabelLink |
get(int i)
Returns the element at the specified position in the LabelLinkCollection. |
|
Locale |
getCulture()
Gets the Culture. |
|
com.softwarefx.chartfx.server.maps.MapGallery |
getMapGallery()
Gets the MapGallery. |
|
int |
indexOf(LabelLink labelObj)
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire LabelLinkCollection. |
|
void |
insert(int index,
LabelLink labelObj)
Inserts an element into the LabelLinkCollection at the specified index. |
|
boolean |
isEmpty()
Returns true if this collection contains no elements. |
|
Iterator<LabelLink> |
iterator()
Returns an iterator over the elements in this collection. |
|
boolean |
remove(Object o)
Removes the first occurrence of a specific object from the LabelLinkCollection. |
|
boolean |
removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the LabelLinkCollection collection. |
|
boolean |
retainAll(Collection<?> c)
Retains only the elements in the LabelLinkCollection collection that are contained in the specified collection. |
|
void |
set(int i,
LabelLink value)
Replaces the element at the specified position in the LabelLinkCollection collection with the specified element. |
|
void |
setCulture(Locale value)
Allows you to localize the LabelLinkCollection object for a specific language and region. |
|
void |
setMapGallery(com.softwarefx.chartfx.server.maps.MapGallery value)
Internal Use. |
|
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 LabelLinkCollection()
Method Detail |
---|
public boolean add(LabelLink o)
Used to add a LabelLinks object to the end of the LabelLinkCollection.
You can use the Map.getLabelLinks()
property to access the supported members of the LabelLinkCollection class.
add
in interface Collection<LabelLink>
o
- setCulture(java.util.Locale)
,
contains(java.lang.Object)
,
copyTo(com.softwarefx.chartfx.server.maps.LabelLink[], int)
,
indexOf(com.softwarefx.chartfx.server.maps.LabelLink)
,
insert(int, com.softwarefx.chartfx.server.maps.LabelLink)
,
remove(java.lang.Object)
public boolean addAll(Collection<? extends LabelLink> c)
Adds all of the elements in the specified collection to the LabelLinkCollection collection.
addAll
in interface Collection<LabelLink>
c
- Elements to be inserted into this collection.public void clear()
Removes all of the elements from this collection.
clear
in interface Collection<LabelLink>
public boolean contains(Object o)
Determines whether the LabelLinkCollection contains a specific element.
Returns true if the LabelLinkCollection contains the specified LabelLink item; otherwise, false.
contains
in interface Collection<LabelLink>
o
- copyTo(com.softwarefx.chartfx.server.maps.LabelLink[], int)
,
indexOf(com.softwarefx.chartfx.server.maps.LabelLink)
,
insert(int, com.softwarefx.chartfx.server.maps.LabelLink)
,
remove(java.lang.Object)
public boolean containsAll(Collection<?> c)
Returns true if the LabelLinkCollection collection contains all of the elements in the specified collection.
containsAll
in interface Collection<LabelLink>
c
- Collection to be checked for containment in this collection.public void copyTo(LabelLink[] array, int index)
Copies the entire LabelLinkCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
The specified array must be of a compatible type.
array
- Array that is the destination of the LabelLink objects copied from LabelLinkCollection.index
- The zero-based index in array at which copying begins.copyTo(com.softwarefx.chartfx.server.maps.LabelLink[], int)
,
indexOf(com.softwarefx.chartfx.server.maps.LabelLink)
,
insert(int, com.softwarefx.chartfx.server.maps.LabelLink)
,
remove(java.lang.Object)
public LabelLink get(int i)
Returns the element at the specified position in the LabelLinkCollection.
i
- public Locale getCulture()
Gets the Culture. For more detail see setCulture(java.util.Locale)
.
public com.softwarefx.chartfx.server.maps.MapGallery getMapGallery()
Gets the MapGallery. For more detail see setMapGallery(com.softwarefx.chartfx.server.maps.MapGallery)
.
public int indexOf(LabelLink labelObj)
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire LabelLinkCollection.
This method returns a zero-based index of the first occurrence of value within the entire LabelLinkCollection, if found; otherwise, -1.
labelObj
- The LabelLink object to locate in the LabelLinkCollection.contains(java.lang.Object)
,
copyTo(com.softwarefx.chartfx.server.maps.LabelLink[], int)
,
insert(int, com.softwarefx.chartfx.server.maps.LabelLink)
,
remove(java.lang.Object)
public void insert(int index, LabelLink labelObj)
Inserts an element into the LabelLinkCollection at the specified index.
index
- The zero-based index at which LabelLink should be inserted.labelObj
- The LabelLink object to insert.contains(java.lang.Object)
,
copyTo(com.softwarefx.chartfx.server.maps.LabelLink[], int)
,
indexOf(com.softwarefx.chartfx.server.maps.LabelLink)
,
remove(java.lang.Object)
public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty
in interface Collection<LabelLink>
public Iterator<LabelLink> iterator()
Returns an iterator over the elements in this collection.
iterator
in interface Iterable<LabelLink>
iterator
in interface Collection<LabelLink>
public boolean remove(Object o)
Removes the first occurrence of a specific object from the LabelLinkCollection.
remove
in interface Collection<LabelLink>
o
- contains(java.lang.Object)
,
copyTo(com.softwarefx.chartfx.server.maps.LabelLink[], int)
,
indexOf(com.softwarefx.chartfx.server.maps.LabelLink)
,
insert(int, com.softwarefx.chartfx.server.maps.LabelLink)
public boolean removeAll(Collection<?> c)
Removes all of the elements in the specified collection from the LabelLinkCollection collection.
removeAll
in interface Collection<LabelLink>
c
- Elements to be removed from this collection.public boolean retainAll(Collection<?> c)
Retains only the elements in the LabelLinkCollection collection that are contained in the specified collection.
retainAll
in interface Collection<LabelLink>
c
- Elements to be retained in this collection.public void set(int i, LabelLink value)
Replaces the element at the specified position in the LabelLinkCollection collection with the specified element.
i
- value
- The item to add to the LabelLinkCollection collectionpublic void setCulture(Locale value)
Allows you to localize the LabelLinkCollection object for a specific language and region.
The Map.setCulture(java.util.Locale)
property of the Map class allows you to configure a culture for the entire map, if no attributes are set using this property then Chart FX inherits the current Thread culture.
Map.setCulture(java.util.Locale)
,
LabelLink.setCulture(java.util.Locale)
,
Map
,
LabelLink
public void setMapGallery(com.softwarefx.chartfx.server.maps.MapGallery value)
Internal Use.
public int size()
Returns the number of elements in this collection.
size
in interface Collection<LabelLink>
public Object[] toArray()
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<LabelLink>
public <T> T[] toArray(T[] a)
Returns an array containing all of the elements in this collection in proper sequence.
toArray
in interface Collection<LabelLink>
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |