public interface Area extends ContentRect, AreaTreeNode<Area>, Taggable
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.Vector<Box> |
getAllBoxes()
Obtains all the boxes from this area and all the child areas.
|
java.util.Vector<Box> |
getBoxes()
Returns the list of boxes that belong directly to this area.
|
java.awt.Color |
getEffectiveBackgroundColor()
Obtains the effective background color visible under the area.
|
java.lang.String |
getText()
Returns the complete text contained in this area and its sub area.
|
java.lang.String |
getText(java.lang.String separator)
Returns the complete text contained in this area and its sub area.
|
AreaTopology |
getTopology()
Returns the topology of this area.
|
boolean |
isHorizontalSeparator()
Checks whether the area can be interpreted as a horizontal separator.
|
boolean |
isReplaced()
Checks whether this area is formed by replaced boxes.
|
boolean |
isSeparator()
Checks whether the area can be interpreted as any kind of separator.
|
boolean |
isVerticalSeparator()
Checks whether the area can be interpreted as a vertical separator.
|
getBackgroundColor, getBorderCount, getBottomBorder, getBounds, getFontSize, getFontStyle, getFontWeight, getId, getLeftBorder, getLineThrough, getPage, getRightBorder, getTopBorder, getUnderline, hasBottomBorder, hasLeftBorder, hasRightBorder, hasTopBorder, isBackgroundSeparatedgetHeight, getWidth, getX1, getX2, getY1, getY2addAttribute, appendChild, appendChildren, getAttribute, getDepth, getChildArea, getChildAreas, getChildCount, getIndex, getLeafCount, getNextSibling, getParentArea, getPreviousSibling, insertChild, isLeaf, removeAllChildren, removeChildaddTag, getMostSupportedTag, getTags, getTagSupport, hasTag, hasTag, removeTagjava.util.Vector<Box> getBoxes()
java.util.Vector<Box> getAllBoxes()
java.lang.String getText()
java.lang.String getText(java.lang.String separator)
separator - the string separating the individual areasboolean isReplaced()
true if the area contains replaced boxes onlyAreaTopology getTopology()
java.awt.Color getEffectiveBackgroundColor()
boolean isHorizontalSeparator()
true when this area is a horizontal separatorboolean isVerticalSeparator()
true when this area is a vertical separatorboolean isSeparator()
true when this area is a separatorArea createSuperArea(Rectangular gp, java.util.List<Area> selected, java.lang.String name)
gp - the subarea boundsselected - nodes to be moved to the new areaname - the name (identification) of the new area