Package | Description |
---|---|
org.eclipse.gef4.cloudio.ui.layout |
This package defines the contract (
ILayouter ) for algorithms that
perform placement of words within a
TagCloud , as well as a related default
implementation (DefaultLayouter ). |
org.eclipse.gef4.cloudio.ui.util |
This package provides a two-dimensional tree structure to store
non-overlapping rectangles (
RectTree
), a custom rectangle implementation with short precision (
SmallRect ), and a representation of
the drawable area within a TagCloud (
CloudMatrix ). |
Modifier and Type | Method and Description |
---|---|
boolean |
ILayouter.layout(Point initial,
Word word,
Rectangle cloudArea,
CloudMatrix cloudMatrix)
Places the given word within the defined rectangle, starting at the
initial position.
|
boolean |
DefaultLayouter.layout(Point offset,
Word word,
Rectangle cloudArea,
CloudMatrix mainTree)
Tries to position the given word in the given area.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RectTree.fits(CloudMatrix mainTree) |
void |
RectTree.place(CloudMatrix mainTree,
short id) |
Copyright (c) 2000, 2012 itemis AG and others. All rights reserved.