Package | Description |
---|---|
org.fit.layout.api | |
org.fit.layout.cssbox | |
org.fit.layout.impl | |
org.fit.layout.model | |
org.fit.layout.tools | |
org.fit.segm.grouping |
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 |
BoxNode
A node of a tree of visual blocks.
|
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 |
---|---|
java.util.Vector<Box> |
DefaultArea.getAllBoxes()
Obtains all the boxes from this area and all the child areas.
|
java.util.Vector<Box> |
DefaultArea.getBoxes()
Returns a vector of boxes that are inside of this area
|
java.util.Vector<Box> |
DefaultPage.getBoxesInRegion(Rectangular r) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultArea.addBox(Box box)
Adds a new box to the area.
|
protected Box |
DefaultPage.recursiveGetBoxAt(Box root,
int x,
int y) |
void |
DefaultPage.setRoot(Box root) |
Constructor and Description |
---|
DefaultArea(Box box) |
Constructor and Description |
---|
DefaultArea(java.util.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 |
---|---|
java.util.Vector<Box> |
Area.getAllBoxes()
Obtains all the boxes from this area and all the child areas.
|
java.util.Vector<Box> |
Area.getBoxes()
Returns the list of boxes that belong directly to this area.
|
java.util.Vector<Box> |
Page.getBoxesInRegion(Rectangular r)
Finds the root boxes of subtrees that intersect with the given region.
|
Modifier and Type | Method and Description |
---|---|
void |
OutputDisplayImpl.drawBox(Box box) |
void |
OutputDisplayImpl.drawExtent(Box box) |
Constructor and Description |
---|
BoxTreeModel(Box root) |
Modifier and Type | Method and Description |
---|---|
protected void |
AreaImpl.addBox(Box box)
Adds a new box to the area and updates the area bounds.
|
void |
AreaImpl.chooseBox(Box node)
Add the box node to the area if its bounds are inside of the area bounds.
|
static boolean |
SegmentationAreaTree.isVisuallySeparated(Box box) |
Constructor and Description |
---|
AreaImpl(Box box)
Creates an area from a single box.
|
Constructor and Description |
---|
AreaImpl(java.util.Vector<Box> boxList)
Creates an area from a a list of boxes.
|