|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.application.console.snapin.BaseDefaultVirtualEnumeration
com.novell.application.console.snapin.DefaultBrowserObjectEntryEnumeration
| Field Summary |
| Fields inherited from class com.novell.application.console.snapin.BaseDefaultVirtualEnumeration |
m_enumerationData, m_iEnumerationIndex, m_shell |
| Fields inherited from interface com.novell.application.console.snapin.CountableObjectEntryEnumeration |
APPROXIMATECOUNT, BASECOUNT, EXACTCOUNT, PARTIALCOUNT, UNKNOWNCOUNT |
| Constructor Summary | |
DefaultBrowserObjectEntryEnumeration(ObjectEntryEnumeration oee,
Shell shell)
Constructs the DefaultBrowserObjectEntryEnumeration object. |
|
| Method Summary | |
boolean |
hasMoreElements()
Determines whether this enumeration has more elements based on the current list cursor position. |
int |
moveFirst()
Moves the enumeration cursor to the first entry in the enumeration. |
int |
moveLast()
Moves the enumeration cursor to the last entry in the enumeration. |
int |
moveTo(java.lang.String target)
Moves the enumeration cursor position to the entry that most closely matches the specified target name. |
ObjectEntry |
next()
Returns the next ObjectEntry element from the enumeration. |
java.lang.Object |
nextElement()
Returns the next Object element from the enumeration. |
ObjectEntry |
previous()
Returns the previous entry in the enumeration and moves the enumeration cursor to the previous entry. |
| Methods inherited from class com.novell.application.console.snapin.BaseDefaultVirtualEnumeration |
getCount, getCountReliability, refresh, setBlockSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.novell.application.console.snapin.BrowserObjectEntryEnumeration |
refresh, setBlockSize |
| Constructor Detail |
public DefaultBrowserObjectEntryEnumeration(ObjectEntryEnumeration oee,
Shell shell)
DefaultBrowserObjectEntryEnumeration object.
oee - The ObjectEntryEnumeration object used to populate this enumeration.shell - The instance of the Shell that will be used to get object names.| Method Detail |
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationtrue if there is at least one more element to be returned from the
nextElement() method, false otherwise.public int moveFirst()
moveFirst in interface BrowserObjectEntryEnumerationpublic int moveLast()
moveLast in interface BrowserObjectEntryEnumerationpublic int moveTo(java.lang.String target)
If an exact match is not found, then the enumeration cursor position is moved to the entry that most closely matches the target name.
moveTo in interface BrowserObjectEntryEnumerationtarget - The name of the entry to which the enumeration cursor position will be moved.
public ObjectEntry next()
ObjectEntry element from the enumeration.
next in interface ObjectEntryEnumerationObjectEntry element from the enumeration.
If no next element exists, null is returned.public java.lang.Object nextElement()
Object element from the enumeration.
nextElement in interface java.util.EnumerationObject element from the enumeration.
If no next element exists, null is returned.public ObjectEntry previous()
previous in interface BrowserObjectEntryEnumerationObjectEntry object previous to the entry at the
current enumeration cursor position. If no previous element exists,
returns null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||