auc.simulator.relatcoord
Interface CoordManageable

All Known Implementing Classes:
FieldDrawingArea, SimulatorDrawingPanel

public interface CoordManageable

Each component that needs a relative coordinate manager has to implement this interface. CoordManager object retrieves component size from it.


Method Summary
 CoordManager getCoordManager()
          Returns the coord manager applicable to the managed component.
 java.awt.Dimension getSize()
          Returns the size of the component that implements this interface (in absolute coordinates).
 

Method Detail

getSize

public java.awt.Dimension getSize()
Returns the size of the component that implements this interface (in absolute coordinates).
Returns:
the size of the component.

getCoordManager

public CoordManager getCoordManager()
Returns the coord manager applicable to the managed component.
Returns:
component's coordinate manager.