org.rr0.is.presentation.view.report.applet.draw
Class ArcShape

org.rr0.is.presentation.view.report.applet.draw.DrawShape
  |
  +--org.rr0.is.presentation.view.report.applet.draw.ArcShape

public class ArcShape
extends DrawShape

Author:
Jerôme Beau
Version: 22 sept. 2003 21:49:45

Field Summary
 private intarcAngle
           
 private intcenterX
           
 private intcenterY
           
 private intellipseHeight
           
 private intellipseWidth
           
 private intellipseY
           
 private PolygonShapepolygonVersion
           
 private intstartAngle
           

Fields inherited from class org.rr0.is.presentation.view.report.applet.draw.DrawShape
angle, bounds, component, CORNER_SIZE, HALF_CORNER_SIZE, selected

Constructor Summary
ArcShape(Component component)
           

Method Summary
 Objectclone()
           
 protected voidcompute()
           
 intgetArcAngle()
           
 intgetCenterX()
           
 intgetCenterY()
           
 intgetStartAngle()
           
 voidpaint(Graphics g, Color someColor, Rectangle bounds)
           
 voidscaleHeight(double heightRatio)
           
 voidscaleWidth(double widthRatio)
           
 voidsetArcAngle(int arcAngle)
           
 voidsetCenterX(int centerX)
           
 voidsetCenterY(int centerY)
           
 voidsetEllipseHeight(int i)
           
 voidsetEllipseWidth(int i)
           
 voidsetEllipseY(int ellipseY)
           
 voidsetHeight(int height)
           
 voidsetStartAngle(int startAngle)
           
 voidsetWidth(int width)
           
 voidsetX(int x)
           
 voidsetY(int y)
           
 StringtoSVGPathData()
           

Methods inherited from class org.rr0.is.presentation.view.report.applet.draw.DrawShape
getBounds, getColor, getHeight, getSize, getTransparency, getWidth, getX, getY, isSelected, paint, paint, paintSelection, scale, setAngle, setColor, setHaloScale, setLocation, setSelected, setTransparency, toUUDF

Field Detail

arcAngle

private int arcAngle

centerX

private int centerX

centerY

private int centerY

ellipseHeight

private int ellipseHeight

ellipseWidth

private int ellipseWidth

ellipseY

private int ellipseY

polygonVersion

private PolygonShape polygonVersion

startAngle

private int startAngle
Constructor Detail

ArcShape

public ArcShape(Component component)
Method Detail

clone

public Object clone()
throws java.lang.CloneNotSupportedException

compute

protected void compute()

getArcAngle

public int getArcAngle()

getCenterX

public int getCenterX()

getCenterY

public int getCenterY()

getStartAngle

public int getStartAngle()

paint

public void paint(Graphics g, Color someColor, Rectangle bounds)

scaleHeight

public void scaleHeight(double heightRatio)

scaleWidth

public void scaleWidth(double widthRatio)

setArcAngle

public void setArcAngle(int arcAngle)

setCenterX

public void setCenterX(int centerX)

setCenterY

public void setCenterY(int centerY)

setEllipseHeight

public void setEllipseHeight(int i)

setEllipseWidth

public void setEllipseWidth(int i)

setEllipseY

public void setEllipseY(int ellipseY)

setHeight

public void setHeight(int height)

setStartAngle

public void setStartAngle(int startAngle)

setWidth

public void setWidth(int width)

setX

public void setX(int x)

setY

public void setY(int y)

toSVGPathData

public String toSVGPathData()

Association Links

to Class org.rr0.is.presentation.view.report.applet.draw.PolygonShape