| Package | Description |
|---|---|
| org.fit.layout.api | |
| org.fit.layout.impl | |
| org.fit.layout.model |
| Modifier and Type | Method and Description |
|---|---|
void |
OutputDisplay.drawBox(Box box)
Draws the box contents on the page depending on the box type.
|
void |
OutputDisplay.drawExtent(Box box)
Draws the box bounds at the output display.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultBox
Default generic box implementation.
|
| Modifier and Type | Field and Description |
|---|---|
protected Box |
DefaultPage.root |
| Modifier and Type | Method and Description |
|---|---|
Box |
DefaultPage.getBoxAt(int x,
int y) |
Box |
DefaultBox.getChildBox(int index) |
Box |
DefaultBox.getParentBox() |
Box |
DefaultPage.getRoot() |
protected Box |
DefaultPage.recursiveGetBoxAt(Box root,
int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
Vector<Box> |
DefaultArea.getAllBoxes()
Obtains all the boxes from this area and all the child areas.
|
Vector<Box> |
DefaultArea.getBoxes()
Returns a vector of boxes that are inside of this area
|
Vector<Box> |
DefaultPage.getBoxesInRegion(Rectangular r) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultArea.addBox(Box box)
Adds a new box to the area.
|
Area |
DefaultAreaTree.createArea(Box box) |
protected String |
DefaultArea.getBoxDescription(Box box)
Obtains a box description used as the default area name when the area
is created from a box.
|
protected Box |
DefaultPage.recursiveGetBoxAt(Box root,
int x,
int y) |
void |
DefaultArea.removeBox(Box box)
Removes the given box from the given area.
|
void |
DefaultPage.setRoot(Box root) |
| Modifier and Type | Method and Description |
|---|---|
Area |
DefaultAreaTree.createArea(List<Box> boxes) |
void |
DefaultArea.removeBoxes(Collection<Box> box)
Removes the given boxes from the given area.
|
| Constructor and Description |
|---|
DefaultArea(Box box) |
| Constructor and Description |
|---|
DefaultArea(List<Box> boxList) |
| Modifier and Type | Method and Description |
|---|---|
Box |
Page.getBoxAt(int x,
int y)
Finds the deepest node in the tree that contains the given point.
|
Box |
Box.getChildBox(int index)
Obtains the n-th child box.
|
Box |
Box.getParentBox()
Obtains the parent box of this box.
|
Box |
Page.getRoot()
Returns the root box of the page.
|
| Modifier and Type | Method and Description |
|---|---|
Vector<Box> |
Area.getAllBoxes()
Obtains all the boxes from this area and all the child areas.
|
Vector<Box> |
Area.getBoxes()
Returns the list of boxes that belong directly to this area.
|
Vector<Box> |
Page.getBoxesInRegion(Rectangular r)
Finds the root boxes of subtrees that are fully contained in the given region based on their visual bounds.
|
| Modifier and Type | Method and Description |
|---|---|
Area |
AreaTree.createArea(Box box) |
| Modifier and Type | Method and Description |
|---|---|
Area |
AreaTree.createArea(List<Box> boxes) |
Copyright © 2018. All rights reserved.