: Interface NonTerminal

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

## Interface NonTerminal

All Known Implementing Classes:
  Cross, Ground, Motor, Pin

public interface NonTerminal
extends Paintable

All the objects who want to be NonTerminal must implement this interface.

Method Summary
`java.util.Vector` | `getChildren()` This method should return a vector containing the children of this object.
`Polygon[]` | `getPolygonalBoundsArray()` This method should return the polygonal array bounds of this non-terminal object.
`Rectangle` | `getRectangularBounds()` This method should return the Rectangular bounds of this non-terminal object.

Methods inherited from interface Paintable
`getType, paint, paint, paintOriginal, setGraphicsContext`

Method Detail

### getRectangularBounds

    public Rectangle getRectangularBounds()

  This method should return the Rectangular bounds of this non-terminal object.

### getPolygonalBoundsArray

    public Polygon[] getPolygonalBoundsArray()

  This method should return the polygonal array bounds of this non-terminal object. This is a rough approximation of the constituents of the object.

### getChildren

    public java.util.Vector getChildren()

  This method should return a vector containing the children of this object. Children are the Terminal or NonTerminal constituents of this object.

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