com.ds.fw.graph.gv.data.figure
Class FwGVFigure

java.lang.Object
  |
  +--com.ds.fw.types.FwSimpleObject
        |
        +--com.ds.fw.types.FwComponent
              |
              +--com.ds.fw.graph.gv.data.figure.FwGVFigure
All Implemented Interfaces:
java.lang.Cloneable, FwCopyableIF, FwDisplayableIF, FwSimpleObjectIF, java.io.Serializable
Direct Known Subclasses:
FwGVFigureArc, FwGVFigureBezier, FwGVFigureClosedCurve, FwGVFigureCurve, FwGVFigureEllipse, FwGVFigureImage, FwGVFigureLine, FwGVFigurePie, FwGVFigurePolygon, FwGVFigureRectangle, FwGVFigureString

public class FwGVFigure
extends FwComponent

See Also:
Serialized Form

Field Summary
 long drawingType
           
 int status
           
 
Constructor Summary
FwGVFigure()
           
 
Method Summary
 boolean getBorderFigure()
           
 double getDeep(double z, double zC, double zCWidth, double zV, double zVWidth, double zStep, double zStart)
           
 long getDrawingType()
           
 com.ds.fw.graph.FwBrush getFigureBrush()
           
 long getFigureBrushIndex()
           
 com.ds.fw.graph.FwPen getFigurePen()
           
 long getFigurePenIndex()
           
 boolean getFillFigure()
           
 double getHeight(double y, double yC, double yCHeight, double yV, double yVHeight, double yStep, double yStart)
           
 com.ds.fw.graph.FwPoint getPoint(com.ds.fw.graph.FwPoint point, com.ds.fw.graph.FwRectangle reClient, double xV, double xVWidth, double yV, double yVHeight, double xStep, double yStep, double xStart, double yStart)
           
 com.ds.fw.graph.FwPointF getPointF(com.ds.fw.graph.FwPointF point, com.ds.fw.graph.FwRectangle reClient, double xV, double xVWidth, double yV, double yVHeight, double xStep, double yStep, double xStart, double yStart)
           
 com.ds.fw.graph.FwPoint[] getPoints(com.ds.fw.graph.FwPoint[] points, com.ds.fw.graph.FwRectangle reClient, double xV, double xVWidth, double yV, double yVHeight, double xStep, double yStep, double xStart, double yStart)
           
 com.ds.fw.graph.FwRectangle getRectangle(com.ds.fw.graph.FwRectangle rect, java.awt.Rectangle reClient, double xV, double xVWidth, double yV, double yVHeight, double xStep, double yStep, double xStart, double yStart)
           
 com.ds.fw.graph.FwRectangleF getRectangleF(com.ds.fw.graph.FwRectangleF rect, java.awt.Rectangle reClient, double xV, double xVWidth, double yV, double yVHeight, double xStep, double yStep, double xStart, double yStart)
           
 int getStatus()
           
 int getType()
           
 double getWidth(double x, double xC, double xCWidth, double xV, double xVWidth, double xStep, double xStart)
           
 double getX(double x, double xC, double xCWidth, double xV, double xVWidth, double xStep, double xStart)
           
 double getY(double y, double yC, double yCHeight, double yV, double yVHeight, double yStep, double yStart)
           
 double getZ(double z, double zC, double zCWidth, double zV, double zVWidth, double zStep, double zStart)
           
 void InitComponent()
           
 com.ds.fw.graph.FwPoint mirrorYPoint(com.ds.fw.graph.FwPoint point, com.ds.fw.graph.FwRectangle reClient)
           
 com.ds.fw.graph.FwPoint[] mirrorYPoints(com.ds.fw.graph.FwPoint[] points, com.ds.fw.graph.FwRectangle reClient)
           
 com.ds.fw.graph.FwRectangle mirrorYRectangle(com.ds.fw.graph.FwRectangle rect, java.awt.Rectangle reClient)
           
 com.ds.fw.graph.FwRectangleF mirrorYRectangleF(com.ds.fw.graph.FwRectangleF rect, java.awt.Rectangle reClient)
           
protected  void OnTypeChanged(com.ds.fw.types.FwEventArgs e)
           
 void Paint(com.ds.fw.graph.FwRectangle re, double xV, double xVWidth, double yV, double yVHeight, double xStep, double yStep, double xStart, double yStart, java.awt.Graphics g, com.ds.fw.graph.gv.data.FwGVModelDataFigure md)
           
 void setBorderFigure(boolean value)
           
 void setDrawingType(long value)
           
 void setFigureBrush(com.ds.fw.graph.FwBrush value)
           
 void setFigureBrushIndex(long value)
           
 void setFigurePen(com.ds.fw.graph.FwPen value)
           
 void setFigurePenIndex(long value)
           
 void setFillFigure(boolean value)
           
 void setStatus(int value)
           
 void setType(int value)
           
 
Methods inherited from class com.ds.fw.types.FwSimpleObject
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, printStackTrace, toString, toStringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

drawingType

public long drawingType

status

public int status
Constructor Detail

FwGVFigure

public FwGVFigure()
Method Detail

Paint

public void Paint(com.ds.fw.graph.FwRectangle re,
                  double xV,
                  double xVWidth,
                  double yV,
                  double yVHeight,
                  double xStep,
                  double yStep,
                  double xStart,
                  double yStart,
                  java.awt.Graphics g,
                  com.ds.fw.graph.gv.data.FwGVModelDataFigure md)

getX

public double getX(double x,
                   double xC,
                   double xCWidth,
                   double xV,
                   double xVWidth,
                   double xStep,
                   double xStart)

getY

public double getY(double y,
                   double yC,
                   double yCHeight,
                   double yV,
                   double yVHeight,
                   double yStep,
                   double yStart)

getZ

public double getZ(double z,
                   double zC,
                   double zCWidth,
                   double zV,
                   double zVWidth,
                   double zStep,
                   double zStart)

getWidth

public double getWidth(double x,
                       double xC,
                       double xCWidth,
                       double xV,
                       double xVWidth,
                       double xStep,
                       double xStart)

getHeight

public double getHeight(double y,
                        double yC,
                        double yCHeight,
                        double yV,
                        double yVHeight,
                        double yStep,
                        double yStart)

getDeep

public double getDeep(double z,
                      double zC,
                      double zCWidth,
                      double zV,
                      double zVWidth,
                      double zStep,
                      double zStart)

getRectangle

public com.ds.fw.graph.FwRectangle getRectangle(com.ds.fw.graph.FwRectangle rect,
                                                java.awt.Rectangle reClient,
                                                double xV,
                                                double xVWidth,
                                                double yV,
                                                double yVHeight,
                                                double xStep,
                                                double yStep,
                                                double xStart,
                                                double yStart)

getRectangleF

public com.ds.fw.graph.FwRectangleF getRectangleF(com.ds.fw.graph.FwRectangleF rect,
                                                  java.awt.Rectangle reClient,
                                                  double xV,
                                                  double xVWidth,
                                                  double yV,
                                                  double yVHeight,
                                                  double xStep,
                                                  double yStep,
                                                  double xStart,
                                                  double yStart)

mirrorYRectangle

public com.ds.fw.graph.FwRectangle mirrorYRectangle(com.ds.fw.graph.FwRectangle rect,
                                                    java.awt.Rectangle reClient)

mirrorYRectangleF

public com.ds.fw.graph.FwRectangleF mirrorYRectangleF(com.ds.fw.graph.FwRectangleF rect,
                                                      java.awt.Rectangle reClient)

getPoint

public com.ds.fw.graph.FwPoint getPoint(com.ds.fw.graph.FwPoint point,
                                        com.ds.fw.graph.FwRectangle reClient,
                                        double xV,
                                        double xVWidth,
                                        double yV,
                                        double yVHeight,
                                        double xStep,
                                        double yStep,
                                        double xStart,
                                        double yStart)

getPointF

public com.ds.fw.graph.FwPointF getPointF(com.ds.fw.graph.FwPointF point,
                                          com.ds.fw.graph.FwRectangle reClient,
                                          double xV,
                                          double xVWidth,
                                          double yV,
                                          double yVHeight,
                                          double xStep,
                                          double yStep,
                                          double xStart,
                                          double yStart)

mirrorYPoint

public com.ds.fw.graph.FwPoint mirrorYPoint(com.ds.fw.graph.FwPoint point,
                                            com.ds.fw.graph.FwRectangle reClient)

mirrorYPoints

public com.ds.fw.graph.FwPoint[] mirrorYPoints(com.ds.fw.graph.FwPoint[] points,
                                               com.ds.fw.graph.FwRectangle reClient)

getPoints

public com.ds.fw.graph.FwPoint[] getPoints(com.ds.fw.graph.FwPoint[] points,
                                           com.ds.fw.graph.FwRectangle reClient,
                                           double xV,
                                           double xVWidth,
                                           double yV,
                                           double yVHeight,
                                           double xStep,
                                           double yStep,
                                           double xStart,
                                           double yStart)

InitComponent

public void InitComponent()
Overrides:
InitComponent in class FwComponent

OnTypeChanged

protected void OnTypeChanged(com.ds.fw.types.FwEventArgs e)

getType

public int getType()

setType

public void setType(int value)

getStatus

public int getStatus()

setStatus

public void setStatus(int value)

getDrawingType

public long getDrawingType()

setDrawingType

public void setDrawingType(long value)

getFigurePen

public com.ds.fw.graph.FwPen getFigurePen()

setFigurePen

public void setFigurePen(com.ds.fw.graph.FwPen value)

getFigurePenIndex

public long getFigurePenIndex()

setFigurePenIndex

public void setFigurePenIndex(long value)

getFigureBrush

public com.ds.fw.graph.FwBrush getFigureBrush()

setFigureBrush

public void setFigureBrush(com.ds.fw.graph.FwBrush value)

getFigureBrushIndex

public long getFigureBrushIndex()

setFigureBrushIndex

public void setFigureBrushIndex(long value)

getFillFigure

public boolean getFillFigure()

setFillFigure

public void setFillFigure(boolean value)

getBorderFigure

public boolean getBorderFigure()

setBorderFigure

public void setBorderFigure(boolean value)