net.nexttext
Class TextObjectRoot

java.lang.Object
  extended by net.nexttext.TextObject
      extended by net.nexttext.TextObjectGroup
          extended by net.nexttext.TextObjectRoot
All Implemented Interfaces:
Locatable

public class TextObjectRoot
extends TextObjectGroup

The TextObjectRoot is just like a regular TextObjectGroup except that it contains a reference to the Book it belongs too.

As such, one can get to the Book from any TextObject by moving up the hierarchy until the instance of TextObjectRoot is found.


Method Summary
 
Methods inherited from class net.nexttext.TextObjectGroup
attachChild, attachChild, getHeight, getLeftMostChild, getLocalBoundingPolygon, getNumChildren, getRightMostChild, getString, glyphIterator, iterator, toString
 
Methods inherited from class net.nexttext.TextObject
attachToLeft, attachToRight, detach, getAbsoluteCoordinateSystem, getBook, getBoundingPolygon, getBounds, getCenter, getColor, getColorAbsolute, getLeftSibling, getLocation, getParent, getPosition, getPositionAbsolute, getProperty, getPropertyNames, getRelativeBoundingPolygon, getRelativeCoordinateSystem, getRightSibling, getRotation, getStroke, getStrokeAbsolute, getStrokeColor, getStrokeColorAbsolute, init, initProperties, invalidateLocalBoundingPolygon, isFilled, isStroked
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait