Package placement
Class QPRectanglePlacement
java.lang.Object
java.util.Observable
placement.QPRectanglePlacement
- All Implemented Interfaces:
Observer
,RectanglePlacement
public class QPRectanglePlacement extends Observable implements RectanglePlacement, Observer
-
Constructor Summary
Constructors Constructor Description QPRectanglePlacement(boolean split, boolean completeConstraints, boolean orthogonalOrdering, boolean mosekPlacement, double xgap, double ygap, boolean animate)
-
Method Summary
Modifier and Type Method Description void
addObserver(Observer o)
void
place(ArrayList<Rectangle2D> rectangles)
void
update(Observable arg0, Object arg1)
Methods inherited from class java.util.Observable
countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
-
Constructor Details
-
QPRectanglePlacement
public QPRectanglePlacement(boolean split, boolean completeConstraints, boolean orthogonalOrdering, boolean mosekPlacement, double xgap, double ygap, boolean animate)- Parameters:
completeConstraints
-animate
-
-
-
Method Details
-
addObserver
- Overrides:
addObserver
in classObservable
-
update
-
place
- Specified by:
place
in interfaceRectanglePlacement
-