com.lizardtech.djvu.anno
Class Text

java.lang.Object
  extended by com.lizardtech.djvu.DjVuObject
      extended by com.lizardtech.djvu.anno.Rect
          extended by com.lizardtech.djvu.anno.Text
All Implemented Interfaces:
DjVuInterface, Hyperlink

public class Text
extends Rect

Implements text map areas.


Field Summary
static java.lang.String TEXT_TAG
          Tag name for this map type.
 
Fields inherited from class com.lizardtech.djvu.anno.Rect
ARROW_TAG, BGCOLOR_TAG, BORDER_AVIS_TAG, HILITE_TAG, LINE_ARROW_TAG, LINE_CLR_TAG, LINE_WIDTH_TAG, LINECOLOR_TAG, MAP_LINE, MAP_OVAL, MAP_POLY, MAP_RECT, MAP_TEXT, MAPAREA_TAG, NO_BORDER, NO_BORDER_TAG, NO_HILITE, OPACITY_TAG, PUSHPIN_TAG, RECT_TAG, SHADOW_EIN_BORDER, SHADOW_EIN_BORDER_TAG, SHADOW_EOUT_BORDER, SHADOW_EOUT_BORDER_TAG, SHADOW_IN_BORDER, SHADOW_IN_BORDER_TAG, SHADOW_OUT_BORDER, SHADOW_OUT_BORDER_TAG, SOLID_BORDER, SOLID_BORDER_TAG, TARGET_SELF, TEXTCOLOR_TAG, URL_TAG, XOR_BORDER, XOR_BORDER_TAG, XOR_HILITE
 
Fields inherited from class com.lizardtech.djvu.DjVuObject
hasReferences
 
Constructor Summary
Text()
          Creates a new Oval object.
 
Method Summary
static Text createText(DjVuInterface ref)
          Creates an instance of Text with the options interherited from the specified reference.
 int getMapType()
          Query the map type.
 java.lang.String getShapeName()
          Returns "text"
 
Methods inherited from class com.lizardtech.djvu.anno.Rect
computeArray, contains, createRect, get_shape_name, getBgColor, getBorderColor, getBorderType, getBorderWidth, getBounds, getComment, getHiliteColor, getInfoHeight, getInfoWidth, getLineColor, getLineWidth, getOpacity, getPoints, getScaledHeight, getScaledWidth, getTarget, getTextColor, getURL, getXCoordinates, getYCoordinates, init, isArrow, isBorderAlwaysVisible, isEmpty, isPushpin, isValid, isVisible, map, move, reset, resize, rotateArea, setArrow, setBgColor, setBorderAlwaysVisible, setBorderColor, setBorderType, setBorderWidth, setComment, setHiliteColor, setLineColor, setLineWidth, setOpacity, setPageSize, setPushpin, setTarget, setTextColor, setURL, setVisible, transform, unmap
 
Methods inherited from class com.lizardtech.djvu.DjVuObject
checkLockTime, create, create, createSoftReference, createWeakReference, getDjVuOptions, getFromReference, invoke, setDjVuOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_TAG

public static final java.lang.String TEXT_TAG
Tag name for this map type.

See Also:
Constant Field Values
Constructor Detail

Text

public Text()
Creates a new Oval object.

Method Detail

getMapType

public int getMapType()
Query the map type.

Overrides:
getMapType in class Rect
Returns:
MAP_TEXT

createText

public static Text createText(DjVuInterface ref)
Creates an instance of Text with the options interherited from the specified reference.

Parameters:
ref - Object to interherit DjVuOptions from.
Returns:
a new instance of Text.

getShapeName

public java.lang.String getShapeName()
Returns "text"

Returns:
TEXT_TAG