diva.sketch.toolbox
Class BulletedList

java.lang.Object
  extended by diva.util.xml.AbstractXmlBuilder
      extended by diva.sketch.toolbox.TextAnnotations
          extended by diva.sketch.toolbox.BulletedList
All Implemented Interfaces:
TypedData, XmlBuilder

public class BulletedList
extends TextAnnotations

Native class that defines a collection of TextLine's. It also defines the avg x-height and character width.

Version:
$Revision: 1.3 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu), Niraj Shah (niraj@eecs.berkeley.edu)

Field Summary
static Type type
          The static type associated with this typed data.
 
Fields inherited from class diva.sketch.toolbox.TextAnnotations
CHAR_HEIGHT, CHAR_WIDTH
 
Constructor Summary
BulletedList(double ch, double cw)
           
 
Method Summary
 double getCharHeight()
           
 double getCharWidth()
           
 Type getType()
          Return the uniquely identifying type associated with this piece of data.
 String toString()
           
 
Methods inherited from class diva.sketch.toolbox.TextAnnotations
build, equals, generate, setCharHeight, setCharWidth
 
Methods inherited from class diva.util.xml.AbstractXmlBuilder
getDelegate, setDelegate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface diva.util.xml.XmlBuilder
setDelegate
 

Field Detail

type

public static final Type type
The static type associated with this typed data.

Constructor Detail

BulletedList

public BulletedList(double ch,
                    double cw)
Method Detail

getType

public Type getType()
Description copied from interface: TypedData
Return the uniquely identifying type associated with this piece of data.


getCharHeight

public double getCharHeight()
Overrides:
getCharHeight in class TextAnnotations

getCharWidth

public double getCharWidth()
Overrides:
getCharWidth in class TextAnnotations

toString

public String toString()
Overrides:
toString in class TextAnnotations


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.