suvi.api.geom
Interface PointableLayout


public interface PointableLayout

Interface for identifying objects by their position in a layout.

The coordinates of the areas must be in the same coordinate system as the associated layout. The client may need to transform coordinates returned by a GUI, for example.

Note: The methods implementing this interface may modify the Rectangle-objects given as parameters.

See Also:
GraphLayout, Graph

Method Summary
 java.util.List intersectingEdges(java.awt.Rectangle area)
          A list of edges that intersect with the specified area.
 java.util.List intersectingLabels(java.awt.Rectangle area)
          A list of labels whose bounds intersect with the specified area.
 java.util.List intersectingNodes(java.awt.Rectangle area)
          A list of nodes whose bounds intersect with the specified area.
 

Method Detail

intersectingNodes

public java.util.List intersectingNodes(java.awt.Rectangle area)

A list of nodes whose bounds intersect with the specified area.


intersectingEdges

public java.util.List intersectingEdges(java.awt.Rectangle area)

A list of edges that intersect with the specified area.


intersectingLabels

public java.util.List intersectingLabels(java.awt.Rectangle area)

A list of labels whose bounds intersect with the specified area.