Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jpicedt.format.pstricks
Class PicRectangleFormatter  view PicRectangleFormatter download PicRectangleFormatter.java

java.lang.Object
  extended byjpicedt.format.pstricks.PicRectangleFormatter
All Implemented Interfaces:
jpicedt.graphic.io.formatter.Formatter, jpicedt.graphic.model.PicObjectConstants, PstricksConstants

public class PicRectangleFormatter
extends java.lang.Object
implements jpicedt.graphic.io.formatter.Formatter, jpicedt.graphic.model.PicObjectConstants, PstricksConstants

Pstricks formatter for PicRectangle objects.

Version:
$Id: PicRectangleFormatter.java,v 1.2 2002/08/05 16:44:10 reynal Exp $

Field Summary
private  PstricksFormatter factory
           
private  jpicedt.graphic.model.PicRectangle obj
          the Element this formatter acts upon
 
Fields inherited from interface jpicedt.graphic.model.PicObjectConstants
CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MaxAttributeNameIndex, MIDDLE, NONE, OUTER, POLYGON_DOTS, POLYGON_SOLID, POLYGON_STYLE, PS_POINT, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, VLINES, VLINES_FILLED
 
Fields inherited from interface jpicedt.format.pstricks.PstricksConstants
CR_LF, DEFAULT_FILE_WRAPPER_EPILOG, DEFAULT_FILE_WRAPPER_PROLOG, KEY_FILE_WRAPPER_EPILOG, KEY_FILE_WRAPPER_PROLOG, PST_ARROWS, PST_ARROWS_LEFT, PST_ARROWS_RIGHT, PST_COLORNAMES, PST_COLORS
 
Constructor Summary
PicRectangleFormatter(jpicedt.graphic.model.PicRectangle obj, PstricksFormatter factory)
           
 
Method Summary
 java.lang.String format()
          PsTricks formating algorithm ex : \psframe[framearc=0.5,linecolor=red,linewidth=0.2,fillstyle=solid,fillcolor=blue](2,2)(5,7)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

obj

private jpicedt.graphic.model.PicRectangle obj
the Element this formatter acts upon


factory

private PstricksFormatter factory
Constructor Detail

PicRectangleFormatter

public PicRectangleFormatter(jpicedt.graphic.model.PicRectangle obj,
                             PstricksFormatter factory)
Method Detail

format

public java.lang.String format()
PsTricks formating algorithm ex : \psframe[framearc=0.5,linecolor=red,linewidth=0.2,fillstyle=solid,fillcolor=blue](2,2)(5,7)

Specified by:
format in interface jpicedt.graphic.io.formatter.Formatter