javax.swing.text
Class StyleContext.KeyEnumeration

java.lang.Object
  extended byjavax.swing.text.StyleContext.KeyEnumeration
All Implemented Interfaces:
Enumeration
Enclosing class:
StyleContext

class StyleContext.KeyEnumeration
extends Object
implements Enumeration

An enumeration of the keys in a SmallAttributeSet.


Field Summary
(package private)  Object[] attr
           
(package private)  int i
           
 
Constructor Summary
(package private) StyleContext.KeyEnumeration(Object[] attr)
           
 
Method Summary
 boolean hasMoreElements()
          Tests if this enumeration contains more elements.
 Object nextElement()
          Returns the next element of this enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attr

Object[] attr

i

int i
Constructor Detail

StyleContext.KeyEnumeration

StyleContext.KeyEnumeration(Object[] attr)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Tests if this enumeration contains more elements.

Specified by:
hasMoreElements in interface Enumeration
Returns:
true if this enumeration contains more elements; false otherwise.
Since:
JDK1.0

nextElement

public Object nextElement()
Returns the next element of this enumeration.

Specified by:
nextElement in interface Enumeration
Returns:
the next element of this enumeration.
Throws:
NoSuchElementException - if no more elements exist.
Since:
JDK1.0