Package technology.tabula
Class RectangularTextContainer<T extends Rectangle & HasText>
java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Float
technology.tabula.Rectangle
technology.tabula.RectangularTextContainer<T>
- All Implemented Interfaces:
Shape,Serializable,Cloneable,HasText
public class RectangularTextContainer<T extends Rectangle & HasText> extends Rectangle implements HasText
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D
Rectangle2D.Double, Rectangle2D.Float -
Field Summary
Fields Modifier and Type Field Description protected List<T>textElementsFields inherited from class technology.tabula.Rectangle
ILL_DEFINED_ORDER, VERTICAL_COMPARISON_THRESHOLD -
Constructor Summary
Constructors Modifier Constructor Description protectedRectangularTextContainer(float top, float left, float width, float height) -
Method Summary
Modifier and Type Method Description StringgetText()StringgetText(boolean useLineReturns)List<T>getTextElements()RectangularTextContainer<T>merge(RectangularTextContainer<T> other)voidsetTextElements(List<T> textElements)StringtoString()Methods inherited from class technology.tabula.Rectangle
boundingBoxOf, compareTo, getArea, getBottom, getLeft, getPoints, getRight, getTop, horizontallyOverlaps, horizontalOverlap, isLtrDominant, merge, overlapRatio, setBottom, setLeft, setRight, setTop, verticallyOverlaps, verticalOverlap, verticalOverlapRatioMethods inherited from class java.awt.geom.Rectangle2D.Float
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect, setRectMethods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, unionMethods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
-
Field Details
-
Constructor Details
-
RectangularTextContainer
protected RectangularTextContainer(float top, float left, float width, float height)
-
-
Method Details