Package | Description |
---|---|
org.fit.layout.cssbox |
Modifier and Type | Field and Description |
---|---|
BoxNode |
BoxNode.nearestParent
Potential nearest parent node in the box tree
|
Modifier and Type | Method and Description |
---|---|
protected BoxNode |
CSSBoxTreeBuilder.buildTree(org.fit.cssbox.layout.ElementBox rootbox) |
BoxNode |
BoxNode.getChildBox(int index)
Returns a specified child box.
|
BoxNode |
BoxNode.getParentBox() |
Modifier and Type | Method and Description |
---|---|
boolean |
BoxNode.contentEncloses(BoxNode childNode)
Checks if another node is fully located inside the content bounds of this box.
|
void |
BoxNode.expandToEnclose(BoxNode child)
Expands the box node in order to fully enclose another box
|
boolean |
BoxNode.visuallyEncloses(BoxNode childNode)
Checks if another node is located inside the visual bounds of this box.
|
boolean |
BoxNode.visuallyEncloses1(BoxNode childNode)
Checks if another node is fully located inside the content bounds of this box.
|
Modifier and Type | Method and Description |
---|---|
void |
BoxNode.markNodesInside(java.util.Vector<BoxNode> list,
boolean full)
Takes a list of nodes and selects the nodes that are located directly inside
of this node's box.
|
void |
BoxNode.takeChildren(java.util.Vector<BoxNode> list)
Goes through the parent's children, takes all the nodes that are inside of this node
and makes them the children of this node.
|