| Package | Description |
|---|---|
| org.fit.layout.api | |
| org.fit.layout.gui | |
| org.fit.layout.impl | |
| org.fit.layout.model |
| Modifier and Type | Method and Description |
|---|---|
void |
OutputDisplay.drawRectangle(Rectangular rect,
Color color)
Draws the given rectangle with the specified color.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RectangleSelectionListener.rectangleCreated(Rectangular rect) |
void |
Browser.setSelection(Rectangular rect)
Graphically selects a rectangular area in the browser window.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangular |
AreaGrid.getAbsolutePosition()
Obtains the absolute position where the grid is placed within the page.
|
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 |
DefaultGridTopology.getPosition(Area a) |
Rectangular |
DefaultGridTopology.getTopologyPosition() |
Rectangular |
DefaultBox.getVisualBounds() |
| Modifier and Type | Method and Description |
|---|---|
Area |
DefaultAreaTree.createArea(Rectangular r) |
Area |
DefaultArea.createSuperArea(Rectangular gp,
List<Area> selected,
String name) |
Rectangular |
AreaGrid.getAreaBoundsAbsolute(Rectangular area)
Computes the absolute coordinates of the specified area in the grid.
|
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 |
DefaultGridTopology.setPosition(Area a,
Rectangular gp) |
void |
DefaultBox.setVisualBounds(Rectangular visualBounds) |
| Constructor and Description |
|---|
AreaGrid(Rectangular position,
List<Area> areas,
AreaTopology targetTopology)
Constructs a grid from the list of areas.
|
DefaultArea(Rectangular r) |
| 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()
Deprecated.
Use
AreaTopology.getPosition(Area) instead. |
Rectangular |
AreaTopology.getPosition(Area area)
Obtains the position of the given area within this topology.
|
Rectangular |
AreaTopology.getTopologyPosition()
Obtains the absolute position of the whole topology within the page.
|
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)
Computes the intersection of this rectangle with another one.
|
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.union(Rectangular other)
Computes the union of this rectangle with 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 |
AreaTree.createArea(Rectangular r) |
Area |
Area.createSuperArea(Rectangular gp,
List<Area> selected,
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) |
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.
|
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)
Computes the intersection of this rectangle with another one.
|
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.
|
void |
AreaTopology.setPosition(Area area,
Rectangular gp)
Sets the position of the given area in this topology.
|
Rectangular |
Rectangular.union(Rectangular other)
Computes the union of this rectangle with 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) |
Copyright © 2016. All rights reserved.