FreeHEP API
Version current

org.freehep.graphicsio
Class VectorGraphicsIO

java.lang.Object
  extended byjava.awt.Graphics
      extended byjava.awt.Graphics2D
          extended byorg.freehep.graphics2d.VectorGraphics
              extended byorg.freehep.graphics2d.AbstractVectorGraphics
                  extended byorg.freehep.graphicsio.VectorGraphicsIO
All Implemented Interfaces:
VectorGraphicsConstants
Direct Known Subclasses:
AbstractVectorGraphicsIO

public abstract class VectorGraphicsIO
extends AbstractVectorGraphics

This class provides specifies added methods for VectorGraphicsIO. All added methods are declared abstract.

Version:
$Id: VectorGraphicsIO.java,v 1.2 2002/10/30 23:23:47 duns Exp $
Author:
Charles Loomis, Mark Donszelmann
Source Code:
VectorGraphicsIO.java

Field Summary
 
Fields inherited from interface org.freehep.graphics2d.VectorGraphicsConstants
NUMBER_OF_HORIZ_ALIGNMENTS, NUMBER_OF_SYMBOLS, NUMBER_OF_VERTICAL_ALIGNMENTS, SYMBOL_BOX, SYMBOL_CIRCLE, SYMBOL_CROSS, SYMBOL_DIAMOND, SYMBOL_DN_TRIANGLE, SYMBOL_HLINE, SYMBOL_PLUS, SYMBOL_STAR, SYMBOL_UP_TRIANGLE, SYMBOL_VLINE, TEXT_BASELINE, TEXT_BOTTOM, TEXT_CENTER, TEXT_LEFT, TEXT_RIGHT, TEXT_TOP
 
Constructor Summary
VectorGraphicsIO()
           
VectorGraphicsIO(VectorGraphicsIO graphics)
           
 
Method Summary
static void copyResourceTo(Object object, String fileName, PrintStream os)
          copies the full file referenced by filenam onto the os (PrintWriter).
static void copyResourceTo(Object object, String fileName, PrintWriter os)
           
abstract  Dimension getSize()
           
abstract  void printComment(String comment)
           
 
Methods inherited from class org.freehep.graphics2d.AbstractVectorGraphics
clearRect, createShape, createShape, drawArc, drawArc, drawLine, drawLine, drawOval, drawOval, drawPolygon, drawPolygon, drawPolyline, drawPolyline, drawRect, drawRect, drawRoundRect, drawRoundRect, drawString, drawString, drawString, drawString, drawString, drawString, drawSymbol, drawSymbol, drawSymbol, fillAndDraw, fillAndDrawSymbol, fillAndDrawSymbol, fillArc, fillArc, fillOval, fillOval, fillPolygon, fillPolygon, fillRect, fillRect, fillRoundRect, fillRoundRect, fillSymbol, fillSymbol, fillSymbol, getBackground, getColor, getColorMode, getCreator, getFont, getPaint, getPrintColor, getProperties, getProperty, getPropertyColor, getPropertyDimension, getPropertyDouble, getPropertyInsets, getPropertyInt, getPropertyRectangle, initProperties, isDeviceIndependent, isProperty, rotate, setBackground, setColor, setColorMode, setCreator, setDeviceIndependent, setFont, setLineWidth, setLineWidth, setPaint, setProperties, translate
 
Methods inherited from class org.freehep.graphics2d.VectorGraphics
addRenderingHints, clearRect, clip, clipRect, clipRect, copyArea, create, create, create, create, dispose, draw, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawRenderableImage, drawRenderedImage, drawString, drawString, drawString, drawString, endExport, fill, getClip, getClipBounds, getClipBounds, getComposite, getDeviceConfiguration, getFontMetrics, getFontRenderContext, getRenderingHint, getRenderingHints, getStroke, getSymbol, getTextAlignment, getTransform, getXalignment, getYalignment, hit, rotate, scale, setClip, setClip, setClip, setComposite, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, startExport, toString, transform, translate
 
Methods inherited from class java.awt.Graphics2D
draw3DRect, fill3DRect
 
Methods inherited from class java.awt.Graphics
drawBytes, drawChars, drawPolygon, fillPolygon, finalize, getClipRect, getFontMetrics, hitClip
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VectorGraphicsIO

public VectorGraphicsIO()

VectorGraphicsIO

public VectorGraphicsIO(VectorGraphicsIO graphics)
Method Detail

getSize

public abstract Dimension getSize()

printComment

public abstract void printComment(String comment)
Specified by:
printComment in class VectorGraphics

copyResourceTo

public static void copyResourceTo(Object object,
                                  String fileName,
                                  PrintStream os)
copies the full file referenced by filenam onto the os (PrintWriter). The file location is relative to the current class

Parameters:
object - from which to refer to resource file
fileName - name of file to be copied
os - output to copy the file to

copyResourceTo

public static void copyResourceTo(Object object,
                                  String fileName,
                                  PrintWriter os)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.