RbDe rbde-349 (20120127151154)

edu.mssm.crover.domain2d
Interface ConstrainedPoint

All Known Implementing Classes:
ReflexPoint

public interface ConstrainedPoint


Method Summary
 void attachAt(ConstrainedPoint dest)
           
 boolean beingEdited()
           
 void deltaConstraint(ConstrainedPoint dest, ConstrainedPoint deltaMove)
           
 void deltaExtraConstraint(ConstrainedPoint dest, ConstrainedPoint deltaMove, ConstrainedPoint substract)
           
 void dispose()
          Dispose resources used by this point.
 void edit()
           
 Point2D getPoint()
           
 double getX()
           
 double getY()
           
 void keepInside(ConstrainedPoint size)
          Adds constraints to keep the point inside the limits of a window with origin (0,0) and size given by the argument (x=width, y=height).
 void setLocation(double x, double y)
           
 void setLocation(Point2D p)
           
 void startInteraction()
           
 void stay()
          Constrain this point to be at position (dest.x + delta_move.x, dest.y + delta_move.y).
 void stopInteraction()
           
 void suggestLocation(double x, double y)
           
 void suggestLocation(Point2D p)
           
 void unedit()
           
 void unstay()
           
 

Method Detail

getX

double getX()

getY

double getY()

beingEdited

boolean beingEdited()

startInteraction

void startInteraction()

stopInteraction

void stopInteraction()

edit

void edit()

unedit

void unedit()

setLocation

void setLocation(Point2D p)

setLocation

void setLocation(double x,
                 double y)

suggestLocation

void suggestLocation(Point2D p)

suggestLocation

void suggestLocation(double x,
                     double y)

getPoint

Point2D getPoint()

attachAt

void attachAt(ConstrainedPoint dest)

stay

void stay()
Constrain this point to be at position (dest.x + delta_move.x, dest.y + delta_move.y).


unstay

void unstay()

deltaConstraint

void deltaConstraint(ConstrainedPoint dest,
                     ConstrainedPoint deltaMove)

keepInside

void keepInside(ConstrainedPoint size)
Adds constraints to keep the point inside the limits of a window with origin (0,0) and size given by the argument (x=width, y=height).


deltaExtraConstraint

void deltaExtraConstraint(ConstrainedPoint dest,
                          ConstrainedPoint deltaMove,
                          ConstrainedPoint substract)

dispose

void dispose()
Dispose resources used by this point.


RbDe rbde-349 (20120127151154)

Copyright © 2003-2012 Institute for Computational Biomedicine, All Rights Reserved.