Package | Description |
---|---|
org.fit.layout.api | |
org.fit.layout.cssbox | |
org.fit.layout.impl | |
org.fit.layout.logical | |
org.fit.layout.model | |
org.fit.layout.tools | |
org.fit.segm.grouping | |
org.fit.segm.grouping.op |
Modifier and Type | Method and Description |
---|---|
void |
OutputDisplay.drawRectangle(Rectangular rect,
java.awt.Color color)
Draws the given rectangle with the specified color.
|
Modifier and Type | Field and Description |
---|---|
protected Rectangular |
BoxNode.bounds
The total bounds of the box node.
|
protected Rectangular |
BoxNode.content
The total content bounds of the node.
|
protected Rectangular |
BoxNode.visual
Visual bounds of the node.
|
Modifier and Type | Method and Description |
---|---|
Rectangular |
BoxNode.getBounds() |
Rectangular |
BoxNode.getContentBounds() |
Rectangular |
BoxNode.getVisualBounds()
Returns the bounds of the box as they visually appear to the user.
|
Modifier and Type | Method and Description |
---|---|
Rectangular |
AreaGrid.getAreaBoundsAbsolute(int x1,
int y1,
int x2,
int y2)
Computes the absolute coordinates of the specified area in the grid.
|
Rectangular |
AreaGrid.getAreaBoundsAbsolute(Rectangular area)
Computes the absolute coordinates of the specified area in the grid.
|
Rectangular |
DefaultContentRect.getBounds() |
Rectangular |
AreaGrid.getCellBoundsAbsolute(int x,
int y)
Computes the absolute coordinates of the specified grid cell.
|
Rectangular |
AreaGrid.getCellBoundsRelative(int x,
int y)
Computes the coordinates of the specified grid cell relatively to the area top left corner.
|
Rectangular |
DefaultBox.getContentBounds() |
Rectangular |
DefaultArea.getContentBounds() |
Rectangular |
DefaultArea.getGridPosition() |
Rectangular |
DefaultGridTopology.getPosition() |
Rectangular |
DefaultBox.getVisualBounds() |
Modifier and Type | Method and Description |
---|---|
Area |
DefaultArea.createSuperArea(Rectangular gp,
java.util.List<Area> selected,
java.lang.String name) |
Rectangular |
AreaGrid.getAreaBoundsAbsolute(Rectangular area)
Computes the absolute coordinates of the specified area in the grid.
|
java.util.Vector<Box> |
DefaultPage.getBoxesInRegion(Rectangular r) |
void |
DefaultContentRect.setBounds(Rectangular bounds) |
void |
DefaultBox.setContentBounds(Rectangular contentBounds) |
void |
DefaultArea.setGridPosition(Rectangular pos)
Sets the position in the parent area grid for this area
|
void |
DefaultBox.setVisualBounds(Rectangular visualBounds) |
Constructor and Description |
---|
DefaultArea(Rectangular r) |
Modifier and Type | Field and Description |
---|---|
Rectangular |
LogicalTreeBuilder.TreeCreationStatus.pos |
Modifier and Type | Method and Description |
---|---|
Rectangular |
ContentRect.getBounds()
Obtains the pixel position within in the page.
|
Rectangular |
Box.getBounds()
Returns the logical bounds of the box node.
|
Rectangular |
Box.getContentBounds()
Returns the content bounds.
|
Rectangular |
AreaTopology.getPosition()
Obtains the position of the area in its parent area.
|
Rectangular |
Box.getVisualBounds()
Returns the bounds of the box as they visually appear to the user.
|
Rectangular |
Rectangular.hsplit(Rectangular other)
If this rectangle intersets with the other one, splits this rectangle horizontally so that it does not intersect with the other one anymore.
|
Rectangular |
Rectangular.intersection(Rectangular other) |
Rectangular |
Rectangular.replaceX(Rectangular other)
Replaces the X coordinates of the rectangle with the X coordinates of another one.
|
Rectangular |
Rectangular.replaceY(Rectangular other)
Replaces the Y coordinates of the rectangle with the Y coordinates of another one.
|
Rectangular |
Rectangular.vsplit(Rectangular other)
If this rectangle intersets with the other one, splits this rectangle horizontally so that it does not intersect with the other one anymore.
|
Modifier and Type | Method and Description |
---|---|
void |
Rectangular.copy(Rectangular src) |
Area |
Area.createSuperArea(Rectangular gp,
java.util.List<Area> selected,
java.lang.String name)
Creates a new subarea from a specified region of the area and moves the selected child
nodes to the new area.
|
boolean |
Rectangular.encloses(Rectangular other)
Checks if this rectangle entirely contains another rectangle.
|
boolean |
Rectangular.enclosesX(Rectangular other)
Checks if this rectangle entirely contains the X coordinates of another rectangle.
|
boolean |
Rectangular.enclosesY(Rectangular other)
Checks if this rectangle entirely contains the Y coordinates of another rectangle.
|
void |
Rectangular.expandToEnclose(Rectangular other) |
java.util.Vector<Box> |
Page.getBoxesInRegion(Rectangular r)
Finds the root boxes of subtrees that intersect with the given region.
|
Rectangular |
Rectangular.hsplit(Rectangular other)
If this rectangle intersets with the other one, splits this rectangle horizontally so that it does not intersect with the other one anymore.
|
Rectangular |
Rectangular.intersection(Rectangular other) |
boolean |
Rectangular.intersects(Rectangular other) |
boolean |
Rectangular.intersectsX(Rectangular other) |
boolean |
Rectangular.intersectsY(Rectangular other) |
Rectangular |
Rectangular.replaceX(Rectangular other)
Replaces the X coordinates of the rectangle with the X coordinates of another one.
|
Rectangular |
Rectangular.replaceY(Rectangular other)
Replaces the Y coordinates of the rectangle with the Y coordinates of another one.
|
Rectangular |
Rectangular.vsplit(Rectangular other)
If this rectangle intersets with the other one, splits this rectangle horizontally so that it does not intersect with the other one anymore.
|
Constructor and Description |
---|
Rectangular(Rectangular src) |
Modifier and Type | Method and Description |
---|---|
void |
OutputDisplayImpl.drawRectangle(Rectangular rect,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
Area |
AreaImpl.createSuperArea(Rectangular gp,
java.util.List<Area> selected,
java.lang.String name) |
static Area |
AreaUtils.createSuperAreaFromVerticalRegion(Area root,
Rectangular region) |
java.util.Vector<AreaImpl> |
AreaImpl.getChildNodesInside(Rectangular r)
Returns the child areas whose absolute coordinates intersect with the specified rectangle.
|
boolean |
AreaImpl.isAreaEmpty(Rectangular r)
Check if there are some children in the given subarea of the area.
|
void |
AreaImpl.joinArea(AreaImpl other,
Rectangular pos,
boolean horizontal)
Joins this area with another area and updates the layout in the grid to the given values.
|
Constructor and Description |
---|
AreaImpl(Rectangular r)
Creates an empty area of a given size
|
Modifier and Type | Class and Description |
---|---|
class |
Separator |
Constructor and Description |
---|
Separator(short type,
Rectangular rect) |