Method Summary |
|
public boolean | add(Object o) Adds the specified object to this Collection . |
public boolean | addAll(Collection c) Adds all of the elements in the specified Collection
to this Collection . |
public void | addPropertyChangeListener(PropertyChangeListener listener) Add a PropertyChangeListener to the listener list. |
public void | addPropertyChangeListener(String propertyName, PropertyChangeListener listener) Add a PropertyChangeListener for a specific property. |
public synchronized boolean | addSink(Object sink) Adds a sink to the set of sinks. |
public void | clear() Removes all of the elements from this Collection . |
public boolean | contains(Object o) Returns true if this Collection
contains the specified object. |
public boolean | containsAll(Collection c) Returns true if this Collection contains
all of the elements in the specified Collection . |
public Object | get(int index) Returns the element at the given index in imageCollection .
If imageCollection is a List then the call is
forwarded to imageCollection ; otherwise an array is created
by applying toArray() to imageCollection and
the indicated element of that array is returned. |
public CollectionImageFactory | getImageFactory() If this CollectionImage was created by a
CollectionImageFactory then return a reference to
that factory; otherwise return null . |
public Object | getProperty(String name) Returns the specified property. |
public Object | getProperty(String name, Collection collection) Returns the specified property. |
public Class | getPropertyClass(String name) Returns the class expected to be returned by a request for
the property with the specified name. |
public String[] | getPropertyNames() Returns an array of String s recognized as names by this
property source. |
public String[] | getPropertyNames(String prefix) Returns an array of String s recognized as names by
this property source that begin with the supplied prefix. |
public synchronized Set | getSinks() Retrieves the set of sinks or null if
there are none. |
public boolean | isEmpty() Returns true if this Collection
contains no elements. |
public Iterator | iterator() Returns an Iterator over the elements in this
Collection . |
public boolean | remove(Object o) Removes the specified object from this Collection . |
public boolean | removeAll(Collection c) Removes all this collection's elements that are also contained in the
specified Collection . |
public void | removeProperty(String name) Removes the named property from the CollectionImage . |
public void | removePropertyChangeListener(PropertyChangeListener listener) Remove a PropertyChangeListener from the listener list. |
public void | removePropertyChangeListener(String propertyName, PropertyChangeListener listener) Remove a PropertyChangeListener for a specific property. |
public synchronized boolean | removeSink(Object sink) Removes a sink from the set of sinks. |
public synchronized void | removeSinks() Removes all sinks from the set of sinks. |
public boolean | retainAll(Collection c) Retains only the elements in this Collection that are
contained in the specified Collection . |
public void | setImageFactory(CollectionImageFactory imageFactory) Sets the imageFactory instance variable to the supplied
value. |
public void | setProperty(String name, Object value) Sets a property on a CollectionImage . |
public int | size() Returns the number of elements in this Collection . |
public Object[] | toArray() Returns an array containing all of the elements in this
Collection . |
public Object[] | toArray(Object[] a) Returns an array containing all of the elements in this collection
whose runtime type is that of the specified array. |