javax.swing.text.html
Class MuxingAttributeSet.MuxingAttributeNameEnumeration

java.lang.Object
  extended byjavax.swing.text.html.MuxingAttributeSet.MuxingAttributeNameEnumeration
All Implemented Interfaces:
Enumeration
Enclosing class:
MuxingAttributeSet

private class MuxingAttributeSet.MuxingAttributeNameEnumeration
extends Object
implements Enumeration

An Enumeration of the Attribute names in a MuxingAttributeSet. This may return the same name more than once.


Field Summary
private  int attrIndex
          Index into attrs the current Enumeration came from.
private  Enumeration currentEnum
          Enumeration from attrs.
 
Constructor Summary
(package private) MuxingAttributeSet.MuxingAttributeNameEnumeration()
           
 
Method Summary
 boolean hasMoreElements()
          Tests if this enumeration contains more elements.
 Object nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
(package private)  void updateEnum()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attrIndex

private int attrIndex
Index into attrs the current Enumeration came from.


currentEnum

private Enumeration currentEnum
Enumeration from attrs.

Constructor Detail

MuxingAttributeSet.MuxingAttributeNameEnumeration

MuxingAttributeSet.MuxingAttributeNameEnumeration()
Method Detail

hasMoreElements

public boolean hasMoreElements()
Description copied from interface: Enumeration
Tests if this enumeration contains more elements.

Specified by:
hasMoreElements in interface Enumeration
Returns:
true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElement

public Object nextElement()
Description copied from interface: Enumeration
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Specified by:
nextElement in interface Enumeration
Returns:
the next element of this enumeration.

updateEnum

void updateEnum()