org.jscience.architecture.traffic
Interface Selectable

All Superinterfaces:
SelectionStarter
All Known Implementing Classes:
Automobile, Bicycle, Bus, Car, CustomRoaduser, Drivelane, EdgeNode, Junction, NetTunnel, Node, NonTLJunction, PacCar, Road, Roaduser, SpecialNode

public interface Selectable
extends SelectionStarter

DOCUMENT ME!


Method Summary
 java.awt.Rectangle getBounds()
          Returns the bounding box of this Selectable
 java.awt.Point getCenterPoint()
          Returns the center point of this selectable
 java.awt.Shape getComplexBounds()
          Returns a complex bounding box of this Selectable
 int getDistance(java.awt.Point p)
          Returns the distance of given point to this Selectable
 java.awt.Point getSelectionPoint()
          Returns the center point of this Selectable
 java.awt.Point[] getSelectionPoints()
          Returns the selection points of this Selectable
 boolean isSelectable()
          Returns true if this Selectable should be selectable
 
Methods inherited from interface org.jscience.architecture.traffic.SelectionStarter
getChildren, hasChildren
 

Method Detail

getBounds

java.awt.Rectangle getBounds()
Returns the bounding box of this Selectable

Returns:
DOCUMENT ME!

getComplexBounds

java.awt.Shape getComplexBounds()
Returns a complex bounding box of this Selectable

Returns:
DOCUMENT ME!

getSelectionPoint

java.awt.Point getSelectionPoint()
Returns the center point of this Selectable

Returns:
DOCUMENT ME!

getSelectionPoints

java.awt.Point[] getSelectionPoints()
Returns the selection points of this Selectable

Returns:
DOCUMENT ME!

getCenterPoint

java.awt.Point getCenterPoint()
Returns the center point of this selectable

Returns:
DOCUMENT ME!

getDistance

int getDistance(java.awt.Point p)
Returns the distance of given point to this Selectable

Parameters:
p - DOCUMENT ME!
Returns:
DOCUMENT ME!

isSelectable

boolean isSelectable()
Returns true if this Selectable should be selectable

Returns:
DOCUMENT ME!