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 PointEnumerationAdapter

public class PointEnumerationAdapter
implements PointEnumeration

Adaptes existing enumeration to the enumeration of AWT `Point`s.

Author:
  TogetherSoft

Constructor Summary
`PointEnumerationAdapter(Enumeration source)` Creates new enumeration of AWT `Point`s from existing enumeration.

Method Summary
`boolean` | `hasMoreElements()` Checks is there more elements in enumeration after counter.
`Object` | `nextElement()` Returns next element from enumeration as a `Object`.
`Point` | `nextPoint()` Returns next element from enumeration as a AWT `Point`.

Constructor Detail

### PointEnumerationAdapter

    public PointEnumerationAdapter(Enumeration source)

  Creates new enumeration of AWT `Point`s from existing enumeration.

Method Detail

### hasMoreElements

    public boolean hasMoreElements()

  Checks is there more elements in enumeration after counter.
  Returns: `true` if there, `false` else.

### nextElement

    public Object nextElement()

  Returns next element from enumeration as a `Object`.
  Returns: next element from enumeration as a `Object`.

### nextPoint

    public Point nextPoint()

  Returns next element from enumeration as a AWT `Point`.
  Returns: next element from enumeration as a AWT `Point`.

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