com.togethersoft.openapi.util.enum
Class AbstractButtonEnumerationAdapter
- public class AbstractButtonEnumerationAdapter
- implements AbstractButtonEnumeration
Minimal implementation of enumeration of AbstractButtons .
- Author:
- TogetherSoft
- Since: Together 4.0
| Field Summary |
private Enumeration | mySource |
| Method Summary |
boolean | hasMoreElements() Checks is there more elements in enumeration. |
AbstractButton | nextAbstractButton() Returns next element from enumeration as an AbstractButton. |
Object | nextElement() Returns next element from enumeration as an Object. |
mySource
private Enumeration mySource
AbstractButtonEnumerationAdapter
public AbstractButtonEnumerationAdapter(Enumeration source)
- Creates new enumeration from existing.
- Parameters:
- source Source enumeration
hasMoreElements
public boolean hasMoreElements()
- Checks is there more elements in enumeration.
- Returns:
true if there is more elements, false else.
nextAbstractButton
public AbstractButton nextAbstractButton()
- Returns next element from enumeration as an
AbstractButton.
nextElement
public Object nextElement()
- Returns next element from enumeration as an Object.
to Class java.util.Enumeration