technology.tabula
Class RectangularTextContainer<T extends 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, Comparable<Rectangle>
- Direct Known Subclasses:
- Cell, TextChunk
public abstract class RectangularTextContainer<T extends HasText>
- extends Rectangle
- See Also:
- Serialized Form
| Methods inherited from class technology.tabula.Rectangle |
boundingBoxOf, compareTo, getArea, getBottom, getLeft, getPoints, getRight, getTop, horizontallyOverlaps, horizontalOverlapRatio, merge, overlapRatio, setBottom, setLeft, setRight, setTop, verticallyOverlaps, verticalOverlap, verticalOverlapRatio |
| Methods inherited from class java.awt.geom.Rectangle2D.Float |
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect, setRect |
| Methods inherited from class java.awt.geom.Rectangle2D |
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union |
| Methods 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 |
RectangularTextContainer
public RectangularTextContainer(float top,
float left,
float width,
float height)
toString
public String toString()
- Overrides:
toString in class Rectangle
merge
public RectangularTextContainer<T> merge(RectangularTextContainer<T> other)
getText
public abstract String getText()
getText
public abstract String getText(boolean useLineReturns)
getTextElements
public abstract List<T> getTextElements()
Copyright © 2015. All rights reserved.