|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.application.console.snapin.DefaultObjectEntryCollection
Provides the icons associated with a specified ObjectEntry or ObjectType.
Snap-ins must implement this interface to provide the icons for a specified ObjectEntry or object type. Two types of getDisplayIcon() method are provided: One associated with a specified ObjectEntry, and the other associated with a specified namespace and object type. The icon for the object is displayed next to the display name for the object.
Constructor Summary | |
DefaultObjectEntryCollection()
Creates an empty collection. |
|
DefaultObjectEntryCollection(ObjectEntry oe)
Creates a collection from a single entry. |
|
DefaultObjectEntryCollection(ObjectEntry[] oes)
Creates a collection from an array of entries. |
|
DefaultObjectEntryCollection(ObjectEntry[] oes,
boolean allowDuplicates)
Creates a collection that allows duplicates from an array of entries. |
|
DefaultObjectEntryCollection(ObjectEntry oe,
boolean allowDuplicates)
Creates a collection from a single object that may allow duplicates. |
Method Summary | |
void |
addEntries(ObjectEntry[] oes,
boolean allowDuplicates)
|
void |
addEntries(ObjectEntryEnumeration oee,
boolean allowDuplicates)
Adds objects to a collection, allowing duplicates. |
void |
addEntry(ObjectEntry oe,
boolean allowDuplicates)
|
ObjectEntryEnumeration |
elements()
Returns an enumeration representing the contained selection. |
ObjectEntry |
getFirstElement()
Returns the first element in the enumeration. |
boolean |
hasMultipleElements()
Returns true if the selection has more than one element in it. |
boolean |
hasNoElements()
Returns true if the selection has zero elements in it. |
boolean |
hasSingleElement()
Returns true if the selection has a single element in it. |
boolean |
hasSomeElements()
Returns true if the selection has at least one element in it. |
void |
removeEntries(ObjectEntry[] oes,
boolean removeDuplicates)
|
void |
removeEntries(ObjectEntryEnumeration oee,
boolean removeDuplicates)
|
void |
removeEntry(ObjectEntry oe,
boolean removeDuplicates)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultObjectEntryCollection()
public DefaultObjectEntryCollection(ObjectEntry oe)
public DefaultObjectEntryCollection(ObjectEntry[] oes)
public DefaultObjectEntryCollection(ObjectEntry[] oes, boolean allowDuplicates)
public DefaultObjectEntryCollection(ObjectEntry oe, boolean allowDuplicates)
Method Detail |
public void addEntries(ObjectEntry[] oes, boolean allowDuplicates)
public void addEntries(ObjectEntryEnumeration oee, boolean allowDuplicates)
public void addEntry(ObjectEntry oe, boolean allowDuplicates)
public ObjectEntryEnumeration elements()
elements
in interface ObjectEntryCollection
public ObjectEntry getFirstElement()
getFirstElement
in interface ObjectEntryCollection
public boolean hasMultipleElements()
hasMultipleElements
in interface ObjectEntryCollection
public boolean hasNoElements()
hasNoElements
in interface ObjectEntryCollection
public boolean hasSingleElement()
hasSingleElement
in interface ObjectEntryCollection
public boolean hasSomeElements()
hasSomeElements
in interface ObjectEntryCollection
public void removeEntries(ObjectEntry[] oes, boolean removeDuplicates)
public void removeEntries(ObjectEntryEnumeration oee, boolean removeDuplicates)
public void removeEntry(ObjectEntry oe, boolean removeDuplicates)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |