com.novell.application.console.snapin
Class BaseDefaultVirtualEnumeration

java.lang.Object
  |
  +--com.novell.application.console.snapin.BaseDefaultVirtualEnumeration
Direct Known Subclasses:
DefaultBrowserObjectEntryEnumeration, DefaultIndexedObjectEntryEnumeration, DefaultVirtualObjectEntryEnumeration

public class BaseDefaultVirtualEnumeration
extends java.lang.Object

Provides a base implementation upon which all versions of the virtual ObjectEntryEnumeration classes are built.

Contains shared data and methods which all default implementations of ObjectEntryEnumeration use.

See Also:
DefaultBrowserObjectEntryEnumeration, DefaultIndexedObjectEntryEnumeration, DefaultVirtualObjectEntryEnumeration, ObjectEntryEnumeration

Field Summary
protected  java.util.Vector m_enumerationData
          Vector that holds the enumeration elements.
protected  int m_iEnumerationIndex
          Current index into the data.
protected  Shell m_shell
          Reference back to the shell.
 
Constructor Summary
BaseDefaultVirtualEnumeration(ObjectEntryEnumeration oee, Shell shell)
          Constructs a BaseDefaultVirtualEnumeration object.
 
Method Summary
 void refresh()
          Indicates that the enumeration needs to flush any cached data.
 void setBlockSize(int size)
          Sets the block size at which the consumer of the enumeration will request entries from the enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_enumerationData

protected java.util.Vector m_enumerationData
Vector that holds the enumeration elements.

m_iEnumerationIndex

protected int m_iEnumerationIndex
Current index into the data.

m_shell

protected Shell m_shell
Reference back to the shell.
Constructor Detail

BaseDefaultVirtualEnumeration

public BaseDefaultVirtualEnumeration(ObjectEntryEnumeration oee,
                                     Shell shell)
Constructs a BaseDefaultVirtualEnumeration object.
Parameters:
oee - The ObjectEntryEnumeration object used to populate this enumeration.
shell - The instance of the Shell that will be used to get object names.
See Also:
ObjectEntryEnumeration
Method Detail

setBlockSize

public void setBlockSize(int size)
Sets the block size at which the consumer of the enumeration will request entries from the enumeration.

IMPORTANT: Since this implementation of VirtualObjectEntryEnumeration does not use a variable cache, this method is not implemented.

Parameters:
size - The block size.

refresh

public void refresh()
Indicates that the enumeration needs to flush any cached data.

IMPORTANT: Since this implementation of VirtualObjectEntryEnumeration does not use a variable cache, this method is not implemented.



API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.