Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.togethersoft.openapi.util.enum
Class AbstractButtonEnumerationAdapter

public class AbstractButtonEnumerationAdapter
implements AbstractButtonEnumeration

Minimal implementation of enumeration of `AbstractButton`s .

Author:
  TogetherSoft

Constructor Summary
`AbstractButtonEnumerationAdapter(Enumeration source)` Creates new enumeration from existing.

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.

Constructor Detail

### AbstractButtonEnumerationAdapter

    public AbstractButtonEnumerationAdapter(Enumeration source)

  Creates new enumeration from existing.
  Parameters:
    source - Source enumeration

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD