technology.tabula
Class RectangularTextContainer<T extends HasText>

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Rectangle2D
          extended by java.awt.geom.Rectangle2D.Float
              extended by technology.tabula.Rectangle
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D
Rectangle2D.Double, Rectangle2D.Float
 
Field Summary
 
Fields inherited from class java.awt.geom.Rectangle2D.Float
height, width, x, y
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
RectangularTextContainer(float top, float left, float width, float height)
           
 
Method Summary
abstract  String getText()
           
abstract  String getText(boolean useLineReturns)
           
abstract  List<T> getTextElements()
           
 RectangularTextContainer<T> merge(RectangularTextContainer<T> other)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RectangularTextContainer

public RectangularTextContainer(float top,
                                float left,
                                float width,
                                float height)
Method Detail

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.