Revision 3309M

org.pathvisio.view
Interface Adjustable

All Known Implementing Classes:
GeneProduct, GraphicsShape, Label, Line, SelectionBox, Shape, State, VAnchor, VPoint

public interface Adjustable

Any object that has handles and can be adjusted by them


Method Summary
 void adjustToHandle(Handle h, double vx, double vy)
          Transforms this object to fit to the coordinates passed on by the given handle
 java.awt.geom.Rectangle2D getVBounds()
          only needs to be implemented for Handles that are not type Handle.DIRECTION_FREE
 double getVHeight()
           
 double getVWidth()
          only needs to be implemented for Handles that are not type Handle.DIRECTION_FREE
 

Method Detail

adjustToHandle

void adjustToHandle(Handle h,
                    double vx,
                    double vy)
Transforms this object to fit to the coordinates passed on by the given handle

Parameters:
h - The Handle to adjust to

getVBounds

java.awt.geom.Rectangle2D getVBounds()
only needs to be implemented for Handles that are not type Handle.DIRECTION_FREE


getVWidth

double getVWidth()
only needs to be implemented for Handles that are not type Handle.DIRECTION_FREE


getVHeight

double getVHeight()

Generated September 9 2010