Class RectTree
- java.lang.Object
-
- org.eclipse.gef.cloudio.internal.ui.util.RectTree
-
public class RectTree extends java.lang.ObjectA two-dimensional tree structure to store non-overlapping rectangles.
-
-
Field Summary
Fields Modifier and Type Field Description static shortBACKGROUNDstatic shortEMPTYstatic shortMISC
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfits(CloudMatrix mainTree)org.eclipse.gef.cloudio.internal.ui.util.RectTree.RectNodegetRoot()voidinsert(SmallRect r, short id)voidmove(int x, int y)voidplace(CloudMatrix mainTree, short id)voidreleaseRects()voidreset()
-
-
-
Constructor Detail
-
RectTree
public RectTree(SmallRect root, int minResolution)
-
-
Method Detail
-
insert
public void insert(SmallRect r, short id)
-
move
public void move(int x, int y)
-
fits
public boolean fits(CloudMatrix mainTree)
-
place
public void place(CloudMatrix mainTree, short id)
-
releaseRects
public void releaseRects()
-
getRoot
public org.eclipse.gef.cloudio.internal.ui.util.RectTree.RectNode getRoot()
-
reset
public void reset()
-
-