All Packages Class Hierarchy This Package Previous Next Index
Class figPac.fSubFigure
java.lang.Object
|
+----figPac.fSubFigure
- public class fSubFigure
- extends Object
- implements fElement, lblFiler
An fSubFigure is to be thought of as a part of a Figure that is
itself a sequence of figure elements. The main difference between a
figure and its subfigures is the coordinate system. Each Figure comes
with a coordinate map, called usr2pxl that converts Figure coordinates
(called user coordinates) to screen coordinates (called pixel coordinates).
On the other hand each fSubFigure comes with a coordinate map that
converts subfigure coordinates (called patch coordinates) to the coordinate
system of the parent of the subfigure (which may be the main Figure or
may be a larger fSubFigure that contains the current fSubFigure).
As well each fSubFigure comes with its own table, env, of drawing environment
variables. Entries in this table override, for the subfigure, corresponding
entries in the parent's env table. Entries in the parent's table which do not
have corresponding entries in the subfigure table are inherited by the subfigure.
-
basePatch2parent
- Each time the subfigure is drawn, the map from the coordinate system of the
subfigure to that of its parent is initalized to basePatch2parent.
-
elements
- The list of figure elements
-
env
- The table of environment variables.
-
parent2dvc
- The map from the coordinate system of the parent of the subfigure to that of the
display device.
-
patch2dvc
- The map from the coordinate system of the subfigure to that of the
display device.
-
fSubFigure()
- This method creates an empty subfigure.
-
fSubFigure(fElement)
- This method creates a subfigure that contains a single figure element.
-
fSubFigure(Figure)
- This method creates a subfigure that contains all current figure element
of the Figure fig.
-
append(fElement)
- Appends a new figure element to the subfigure.
-
drawgfx(Figure, Hashtable, V2V)
-
-
drawps(Figure, Hashtable, V2V)
-
-
fArrow(double, double, double, double)
- Shortform for append(new fArrow(double x1, double y1, double x2, double y2) )
-
fArrow(double[], double[])
- Shortform for append(new fArrow(double from[], double to[]) )
-
fArrowhead(double, double, double)
- Shortform for append(new fArrowhead(double x, double y, double angle) )
-
fArrowhead(double, double, double, double)
- Shortform for append(new fArrowhead(double xcentre, double ycentre, double xto, double yto) )
-
fArrowhead(double[], double)
- Shortform for append(new fArrowhead(double centre[], double angle) )
-
fArrowhead(double[], double[])
- Shortform for append(new fArrowhead(double centre[], double[] to) )
-
fAxes()
- Shortform for append(new fAxes() )
-
fAxes(String, String)
- Shortform for append(new fAxes(String xlabel, String ylabel) )
-
fAxes(String, String, double, double, double, double)
- Shortform for append(new fAxes(String xlabel, String ylabel,
double xmin, double xmax, double ymin, double ymax) )
-
fAxes(String, String, double, double, double, double, double, double, double, double, int, int)
- Shortform for append(new fAxes(String xlabel, String ylabel,
double xmin, double xmax, double ymin, double ymax,
double xintvl, double yintvl,
double firstXtick, double firstYtick,
int xprec, int yprec) )
-
fCurve(S2S)
- Shortform for append(new fCurve(S2S F) )
-
fCurve(S2S, double, double)
- Shortform for append(new fCurve(S2S F, double xmin, double xmax) )
-
fCurve(S2S, double, double, long)
- Shortform for append(new fCurve(S2S F, double xmin, double xmax, long type) )
-
fCurve(S2S, long)
- Shortform for append(new fCurve(S2S F, long type) )
-
fCurve(S2V)
- Shortform for append(new fCurve(S2V XY))
-
fCurve(S2V, double, double)
- Shortform for append(new fCurve(S2V XY, double tmin, double tmax) )
-
fCurve(S2V, double, double, long)
- Shortform for append(new fCurve(S2V XY, double tmin, double tmax, long type) )
-
fCurve(S2V, long)
- Shortform for append(new fCurve(S2V XY, long type) )
-
fDisk(double, double, double)
- Shortform for append(new fDisk(double x, double y, double radius) )
-
fDisk(double, double, double, double)
- Shortform for append(new fDisk(double x, double y, double a, double b) )
-
fDisk(double, double, double, double, long)
- Shortform for append(new fDisk(double x, double y, double a, double b, long type) )
-
fDisk(double, double, double, long)
- Shortform for append(new fDisk(double x, double y, double radius, long type) )
-
fEnv(Object, double)
- Shortform for append(new fEnv(Object key, double value) )
-
fEnv(Object, int)
- Shortform for append(new fEnv(Object key, int value) )
-
fEnv(Object, Object)
- Shortform for append(new fEnv(Object key, Object value) )
-
fLabel(double, double, String)
- Shortform for append(new fLabel(double x, double y, String str) )
-
fLabel(double, double, String, String)
- Shortform for append(new fLabel(double x, double y, String just, String str) )
-
fLine(double, double, double, double)
- Shortform for append(new fLine(double x1, double y1, double x2,double y2) )
-
fLine(double[], double[])
- Shortform for append(new fLine(double from[], double to[]) )
-
fPolygon(double[], double[], int)
- Shortform for append(new fPolygon(double[] xlist, double[] ylist, int nopoints) )
-
fPolygon(double[], double[], int, long)
- Shortform for append(new fPolygon(double[] xlist, double[] ylist, int nopoints, long type) )
-
fPolygon(double[], double[], int, long, Color)
- Shortform for append(new fPolygon(double[] xlist, double[] ylist, int nopoints, long type, Color color) )
-
fPolygon(double[][])
- Shortform for append(new fPolygon(double[][] list) )
-
fPolygon(double[][], int)
- Shortform for append(new fPolygon(double[][] list, int nopoints) )
-
fPolygon(double[][], int, long)
- Shortform for append(new fPolygon(double[][] list, int nopoints, long type) )
-
fPolygon(double[][], int, long, Color)
- Shortform for append(new fPolygon(double[][] list, int nopoints, long type, Color color) )
-
fRotate(double)
- Shortform for append(new fRotate(double angle) )
-
fScale(double, double)
- Shortform for append(new fScale(double xfactor, double yfactor) )
-
fSetPatch2parent(V2V)
- Shortform for append(new fSetPatch2parent(V2V coordmap) )
-
fSquiggle(double, double, double, double)
- Shortform for append(new fSquiggle(double x1, double y1, double x2,double y2) )
-
fSquiggle(double, double, double, double, double, int)
- Shortform for append(new fSquiggle(double x1, double y1, double x2,double y2, double height, int nobumps) )
-
fSquiggle(double[], double[], double, int)
- Shortform for append(new fSquiggle(double from[], double to[], double height, int nobumps) )
-
fSquiggle(S2V, S2V, double, double, double, int)
- Shortform for append(new fSquiggle(S2V centerline, S2V normal , double tmin, double tmax, double height, int nobumps)
-
fSquiggle(S2V, S2V, double, int)
- Shortform for append(new fSquiggle(S2V centerline, S2V normal , double height, int nobumps) )
-
fTeXlabel(double, double, String)
- Shortform for append(new fTeXlabel(double x, double y, String str) )
-
fTeXlabel(double, double, String, String)
- Shortform for append(new fTeXlabel(double x, double y, String just, String str) )
-
fTeXlabel(double, double, String, String, String)
- Shortform for append(new fTeXlabel(double x, double y, String just, String str, String screenStr) )
-
fTranslate(double, double)
- Shortform for append(new fTtranslate(double x, double y) )
-
rotate(double)
- Rotates basePatch2parent - the initial patch2parent coordinate map that is used each
time the subfigure is drawn.
-
scale(double, double)
- Scales basePatch2parent - the initial patch2parent coordinate map that is used each
time the subfigure is drawn.
-
setBasePatch2parent(V2V)
- Sets the basePatch2parent to the specified V2V.
-
translate(double, double)
- Translates basePatch2parent - the initial patch2parent coordinate map that is used each
time the subfigure is drawn.
-
writeLbl(Figure, Hashtable, V2V)
-
elements
public Vector elements
- The list of figure elements
env
public Hashtable env
- The table of environment variables.
basePatch2parent
public V2V basePatch2parent
- Each time the subfigure is drawn, the map from the coordinate system of the
subfigure to that of its parent is initalized to basePatch2parent.
parent2dvc
public V2V parent2dvc
- The map from the coordinate system of the parent of the subfigure to that of the
display device.
patch2dvc
public V2V patch2dvc
- The map from the coordinate system of the subfigure to that of the
display device. It is the composition of patch2parent with parent2dvc.
fSubFigure
public fSubFigure()
- This method creates an empty subfigure.
fSubFigure
public fSubFigure(fElement element)
- This method creates a subfigure that contains a single figure element.
fSubFigure
public fSubFigure(Figure fig)
- This method creates a subfigure that contains all current figure element
of the Figure fig.
append
public void append(fElement nextelement)
- Appends a new figure element to the subfigure.
setBasePatch2parent
public void setBasePatch2parent(V2V coordmap)
- Sets the basePatch2parent to the specified V2V.
translate
public void translate(double x,
double y)
- Translates basePatch2parent - the initial patch2parent coordinate map that is used each
time the subfigure is drawn.
rotate
public void rotate(double angle)
- Rotates basePatch2parent - the initial patch2parent coordinate map that is used each
time the subfigure is drawn.
scale
public void scale(double xfactor,
double yfactor)
- Scales basePatch2parent - the initial patch2parent coordinate map that is used each
time the subfigure is drawn.
fArrow
public void fArrow(double from[],
double to[])
- Shortform for append(new fArrow(double from[], double to[]) )
fArrow
public void fArrow(double x1,
double y1,
double x2,
double y2)
- Shortform for append(new fArrow(double x1, double y1, double x2, double y2) )
fArrowhead
public void fArrowhead(double centre[],
double angle)
- Shortform for append(new fArrowhead(double centre[], double angle) )
fArrowhead
public void fArrowhead(double x,
double y,
double angle)
- Shortform for append(new fArrowhead(double x, double y, double angle) )
fArrowhead
public void fArrowhead(double centre[],
double to[])
- Shortform for append(new fArrowhead(double centre[], double[] to) )
fArrowhead
public void fArrowhead(double xcentre,
double ycentre,
double xto,
double yto)
- Shortform for append(new fArrowhead(double xcentre, double ycentre, double xto, double yto) )
fAxes
public void fAxes()
- Shortform for append(new fAxes() )
fAxes
public void fAxes(String xlabel,
String ylabel)
- Shortform for append(new fAxes(String xlabel, String ylabel) )
fAxes
public void fAxes(String xlabel,
String ylabel,
double xmin,
double xmax,
double ymin,
double ymax)
- Shortform for append(new fAxes(String xlabel, String ylabel,
double xmin, double xmax, double ymin, double ymax) )
fAxes
public void fAxes(String xlabel,
String ylabel,
double xmin,
double xmax,
double ymin,
double ymax,
double xintvl,
double yintvl,
double firstXtick,
double firstYtick,
int xprec,
int yprec)
- Shortform for append(new fAxes(String xlabel, String ylabel,
double xmin, double xmax, double ymin, double ymax,
double xintvl, double yintvl,
double firstXtick, double firstYtick,
int xprec, int yprec) )
fCurve
public void fCurve(S2S F,
double xmin,
double xmax,
long type)
- Shortform for append(new fCurve(S2S F, double xmin, double xmax, long type) )
fCurve
public void fCurve(S2S F)
- Shortform for append(new fCurve(S2S F) )
fCurve
public void fCurve(S2S F,
double xmin,
double xmax)
- Shortform for append(new fCurve(S2S F, double xmin, double xmax) )
fCurve
public void fCurve(S2S F,
long type)
- Shortform for append(new fCurve(S2S F, long type) )
fCurve
public void fCurve(S2V XY,
double tmin,
double tmax,
long type)
- Shortform for append(new fCurve(S2V XY, double tmin, double tmax, long type) )
fCurve
public void fCurve(S2V XY)
- Shortform for append(new fCurve(S2V XY))
fCurve
public void fCurve(S2V XY,
double tmin,
double tmax)
- Shortform for append(new fCurve(S2V XY, double tmin, double tmax) )
fCurve
public void fCurve(S2V XY,
long type)
- Shortform for append(new fCurve(S2V XY, long type) )
fDisk
public void fDisk(double x,
double y,
double radius)
- Shortform for append(new fDisk(double x, double y, double radius) )
fDisk
public void fDisk(double x,
double y,
double a,
double b)
- Shortform for append(new fDisk(double x, double y, double a, double b) )
fDisk
public void fDisk(double x,
double y,
double radius,
long type)
- Shortform for append(new fDisk(double x, double y, double radius, long type) )
fDisk
public void fDisk(double x,
double y,
double a,
double b,
long type)
- Shortform for append(new fDisk(double x, double y, double a, double b, long type) )
fEnv
public void fEnv(Object key,
Object value)
- Shortform for append(new fEnv(Object key, Object value) )
fEnv
public void fEnv(Object key,
int value)
- Shortform for append(new fEnv(Object key, int value) )
fEnv
public void fEnv(Object key,
double value)
- Shortform for append(new fEnv(Object key, double value) )
fLabel
public void fLabel(double x,
double y,
String str)
- Shortform for append(new fLabel(double x, double y, String str) )
fLabel
public void fLabel(double x,
double y,
String just,
String str)
- Shortform for append(new fLabel(double x, double y, String just, String str) )
fLine
public void fLine(double from[],
double to[])
- Shortform for append(new fLine(double from[], double to[]) )
fLine
public void fLine(double x1,
double y1,
double x2,
double y2)
- Shortform for append(new fLine(double x1, double y1, double x2,double y2) )
fPolygon
public void fPolygon(double list[][])
- Shortform for append(new fPolygon(double[][] list) )
fPolygon
public void fPolygon(double list[][],
int nopoints)
- Shortform for append(new fPolygon(double[][] list, int nopoints) )
fPolygon
public void fPolygon(double list[][],
int nopoints,
long type)
- Shortform for append(new fPolygon(double[][] list, int nopoints, long type) )
fPolygon
public void fPolygon(double list[][],
int nopoints,
long type,
Color color)
- Shortform for append(new fPolygon(double[][] list, int nopoints, long type, Color color) )
fPolygon
public void fPolygon(double xlist[],
double ylist[],
int nopoints)
- Shortform for append(new fPolygon(double[] xlist, double[] ylist, int nopoints) )
fPolygon
public void fPolygon(double xlist[],
double ylist[],
int nopoints,
long type)
- Shortform for append(new fPolygon(double[] xlist, double[] ylist, int nopoints, long type) )
fPolygon
public void fPolygon(double xlist[],
double ylist[],
int nopoints,
long type,
Color color)
- Shortform for append(new fPolygon(double[] xlist, double[] ylist, int nopoints, long type, Color color) )
fRotate
public void fRotate(double angle)
- Shortform for append(new fRotate(double angle) )
fScale
public void fScale(double xfactor,
double yfactor)
- Shortform for append(new fScale(double xfactor, double yfactor) )
fSetPatch2parent
public void fSetPatch2parent(V2V coordmap)
- Shortform for append(new fSetPatch2parent(V2V coordmap) )
fSquiggle
public void fSquiggle(double x1,
double y1,
double x2,
double y2)
- Shortform for append(new fSquiggle(double x1, double y1, double x2,double y2) )
fSquiggle
public void fSquiggle(double from[],
double to[],
double height,
int nobumps)
- Shortform for append(new fSquiggle(double from[], double to[], double height, int nobumps) )
fSquiggle
public void fSquiggle(double x1,
double y1,
double x2,
double y2,
double height,
int nobumps)
- Shortform for append(new fSquiggle(double x1, double y1, double x2,double y2, double height, int nobumps) )
fSquiggle
public void fSquiggle(S2V centerline,
S2V normal,
double height,
int nobumps)
- Shortform for append(new fSquiggle(S2V centerline, S2V normal , double height, int nobumps) )
fSquiggle
public void fSquiggle(S2V centerline,
S2V normal,
double tmin,
double tmax,
double height,
int nobumps)
- Shortform for append(new fSquiggle(S2V centerline, S2V normal , double tmin, double tmax, double height, int nobumps)
fTeXlabel
public void fTeXlabel(double x,
double y,
String str)
- Shortform for append(new fTeXlabel(double x, double y, String str) )
fTeXlabel
public void fTeXlabel(double x,
double y,
String just,
String str)
- Shortform for append(new fTeXlabel(double x, double y, String just, String str) )
fTeXlabel
public void fTeXlabel(double x,
double y,
String just,
String str,
String screenStr)
- Shortform for append(new fTeXlabel(double x, double y, String just, String str, String screenStr) )
fTranslate
public void fTranslate(double x,
double y)
- Shortform for append(new fTtranslate(double x, double y) )
drawgfx
public void drawgfx(Figure fig,
Hashtable parentEnv,
V2V parent2dvc)
drawps
public String drawps(Figure fig,
Hashtable parentEnv,
V2V parent2dvc)
writeLbl
public String writeLbl(Figure fig,
Hashtable parentEnv,
V2V parent2dvc)
All Packages Class Hierarchy This Package Previous Next Index