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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D
Rectangle2D.Double, Rectangle2D.Float -
Field Summary
FieldsFields inherited from class technology.tabula.Rectangle
ILL_DEFINED_ORDER, VERTICAL_COMPARISON_THRESHOLDFields inherited from class java.awt.geom.Rectangle2D.Float
height, width, x, yFields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRectangularTextContainer(float top, float left, float width, float height) -
Method Summary
Modifier and TypeMethodDescriptiongetText()getText(boolean useLineReturns) merge(RectangularTextContainer<T> other) voidsetTextElements(List<T> textElements) toString()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
-
textElements
-
-
Constructor Details
-
RectangularTextContainer
protected RectangularTextContainer(float top, float left, float width, float height)
-
-
Method Details