rvl.swv
Class FigFile

java.lang.Object
  extended by rvl.swv.FigFile

public class FigFile
extends java.lang.Object

This class contains the essential information for a graphics that is created by a statistical engine.


Field Summary
static int BMP
          BMP graph format
static int EPS
          EPS graph format
static int GIF
          GIF graph format
static int JPG
          JPG graph format
static int NULL
          no graph format
static int PDF
          PDF graph format
static int PNG
          PNG graph format
static int PS
          PostScript graph format
static int TIF
          TIF graph format
 
Constructor Summary
FigFile(java.lang.String fileName, int format, double width, double height, int pages)
          Constructor
 
Method Summary
static java.lang.String extFor(int id)
          Return usual filename extension associated with the built-in constant.
static int fmtID(java.lang.String name)
          Return internal constant for given name
 int getConvert()
           
 java.lang.String getFileName()
           
 int getFormat()
           
 double getHeight()
           
 int getPages()
           
 double getWidth()
           
 void setConvert(int c)
           
 void setFileName(java.lang.String name)
           
 void setFormat(int fmt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final int NULL
no graph format

See Also:
Constant Field Values

PDF

public static final int PDF
PDF graph format

See Also:
Constant Field Values

JPG

public static final int JPG
JPG graph format

See Also:
Constant Field Values

PNG

public static final int PNG
PNG graph format

See Also:
Constant Field Values

PS

public static final int PS
PostScript graph format

See Also:
Constant Field Values

TIF

public static final int TIF
TIF graph format

See Also:
Constant Field Values

GIF

public static final int GIF
GIF graph format

See Also:
Constant Field Values

BMP

public static final int BMP
BMP graph format

See Also:
Constant Field Values

EPS

public static final int EPS
EPS graph format

See Also:
Constant Field Values
Constructor Detail

FigFile

public FigFile(java.lang.String fileName,
               int format,
               double width,
               double height,
               int pages)
Constructor

Method Detail

fmtID

public static int fmtID(java.lang.String name)
Return internal constant for given name


extFor

public static java.lang.String extFor(int id)
Return usual filename extension associated with the built-in constant.
For example, extFor(FigFile.JPG) returns "jpg"


setFormat

public void setFormat(int fmt)

getFormat

public int getFormat()

setFileName

public void setFileName(java.lang.String name)

getFileName

public java.lang.String getFileName()

getPages

public int getPages()

getWidth

public double getWidth()

getHeight

public double getHeight()

setConvert

public void setConvert(int c)

getConvert

public int getConvert()