|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ca.aura.ui.swt.actions.WhiteBoardEngine
Constructor Summary | |
WhiteBoardEngine(WhiteBoardView wb,
Graph g)
default |
Method Summary | |
protected Rectangle |
getBounds(Point midPoint,
Point dimensions)
get the bounds based on the midpoint and the dimennsions of an object |
protected Point |
getMidPoint(Control control)
get the midpoint of a control |
protected double |
getRotationDegree(java.lang.Object obj,
Graph g)
get the rotation degree |
void |
layout(java.lang.Object obj)
|
protected double |
length(Point p1,
double x2,
double y2)
length between two points |
protected double |
offsetX(double x,
double rad,
double amount)
get the x offset |
protected double |
offsetY(double y,
double rad,
double amount)
get the y offset |
protected Point |
rotate(Point midpoint,
double radian,
double radius)
rotate a point |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WhiteBoardEngine(WhiteBoardView wb, Graph g)
Method Detail |
public void layout(java.lang.Object obj)
protected double getRotationDegree(java.lang.Object obj, Graph g)
protected Rectangle getBounds(Point midPoint, Point dimensions)
protected Point getMidPoint(Control control)
protected Point rotate(Point midpoint, double radian, double radius)
protected double length(Point p1, double x2, double y2)
protected double offsetX(double x, double rad, double amount)
protected double offsetY(double y, double rad, double amount)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |