FreeHEP API
Version current

org.freehep.graphics2d
Class GenericTagHandler

java.lang.Object
  extended byorg.freehep.graphics2d.TagHandler
      extended byorg.freehep.graphics2d.GenericTagHandler

public class GenericTagHandler
extends TagHandler

Version:
$Id: GenericTagHandler.java,v 1.4 2002/08/24 00:04:12 duns Exp $
Author:
Mark Donszelmann
Source Code:
GenericTagHandler.java

Constructor Summary
GenericTagHandler(Graphics2D graphics)
           
 
Method Summary
protected  String closeTag(String tag)
           
protected  String openTag(String tag)
          handles bold , italic , superscript , subscript , vertical , overline and typewriter
 void print(TagString s, double x, double y)
           
 Rectangle2D stringSize(TagString s)
           
protected  String text(String text)
           
 
Methods inherited from class org.freehep.graphics2d.TagHandler
defaultEntity, entity, main, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericTagHandler

public GenericTagHandler(Graphics2D graphics)
Method Detail

print

public void print(TagString s,
                  double x,
                  double y)

stringSize

public Rectangle2D stringSize(TagString s)

openTag

protected String openTag(String tag)
handles bold , italic , superscript , subscript , vertical , overline and typewriter

Overrides:
openTag in class TagHandler

closeTag

protected String closeTag(String tag)
Overrides:
closeTag in class TagHandler

text

protected String text(String text)
Overrides:
text in class TagHandler

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.