public class DefaultBrowserObjectEntryEnumeration extends BaseDefaultVirtualEnumeration implements BrowserObjectEntryEnumeration
m_enumerationData, m_iEnumerationIndex, m_shellAPPROXIMATECOUNT, BASECOUNT, EXACTCOUNT, PARTIALCOUNT, UNKNOWNCOUNT| Constructor and Description |
|---|
DefaultBrowserObjectEntryEnumeration(ObjectEntryEnumeration oee,
Shell shell)
Constructs the
DefaultBrowserObjectEntryEnumeration object. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
findEntry, getCount, getCountReliability, getDisplayNameForObject, refresh, setBlockSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrefresh, setBlockSizepublic 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.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 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 next()
ObjectEntry element from the enumeration.next in interface ObjectEntryEnumerationObjectEntry element from the enumeration.
If no next element exists, null is returned.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 previous()
previous in interface BrowserObjectEntryEnumerationObjectEntry object previous to the entry at the
current enumeration cursor position. If no previous element exists,
returns null.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.