JComponentPack 1.5.0

com.zfqjava.chart.geom
Class ArcNode

java.lang.Object
  extended by com.zfqjava.chart.AbstractNode
      extended by com.zfqjava.chart.geom.ArcNode
All Implemented Interfaces:
Node, Cloneable

public class ArcNode
extends AbstractNode

ArcNode provides a rectangle node.


Constructor Summary
ArcNode()
           
 
Method Summary
protected  void configureShape(Shape s, int x, int y, int width, int height)
          Configure the shape when the node's bounds has been changed.
protected  Shape createPaintShape()
          Creates the paint shape.
 int getArcType()
           
 void setAngleExtent(double extent)
           
 void setAngleStart(double start)
           
 void setArcType(int type)
           
 
Methods inherited from class com.zfqjava.chart.AbstractNode
addHandle, addHandle, addLink, addNode, addNode, addNode, addNode, clone, configureShape, contains, contains, contains, createHandles, doLayout, drawShape, fillShape, findNodeAt, getBounds, getCellBounds, getCenterX, getCenterY, getChart, getCursor, getDrawComposite, getDrawPaint, getFillComposite, getFillPaint, getFont, getHandleCount, getHandleList, getHeight, getLayout, getLinkCount, getLinkList, getLock, getMargin, getName, getNode, getNodeCount, getNodeList, getPaintBounds, getPaintShape, getPreferredSize, getShadowComposite, getShadowPaint, getShadowTransform, getStroke, getToolTipText, getToolTipText, getTransform, getUserObject, getWidth, getX, getY, indexOfNode, intersects, intersects, isAdjustable, isCellable, isDrawable, isEditable, isEmpty, isFillable, isGroupable, isLinkable, isMovable, isPreferredSizeSet, isResizable, isRotatable, isSelectable, isShadowable, isVisible, paint, paintNodes, paramString, removeAllNode, removeHandle, removeHandle, removeLink, removeNode, removeNode, removeNode, repaint, repaint, repaint, revalidate, setAdjustable, setBounds, setBounds, setCellable, setCenterLocation, setChart, setCursor, setDrawable, setDrawComposite, setDrawPaint, setEditable, setFillable, setFillComposite, setFillPaint, setFont, setGroupable, setLayout, setLinkable, setLocation, setMargin, setMovable, setName, setPaintShape, setPreferredSize, setResizable, setRotatable, setSelectable, setShadowable, setShadowComposite, setShadowPaint, setShadowTransform, setSize, setStroke, setToolTipText, setTransform, setUserObject, setVisible, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArcNode

public ArcNode()
Method Detail

createPaintShape

protected Shape createPaintShape()
Description copied from class: AbstractNode
Creates the paint shape.

Overrides:
createPaintShape in class AbstractNode
Returns:
the paint shape

configureShape

protected void configureShape(Shape s,
                              int x,
                              int y,
                              int width,
                              int height)
Description copied from class: AbstractNode
Configure the shape when the node's bounds has been changed.

Overrides:
configureShape in class AbstractNode
Parameters:
s - the paint shape of this node.
x - the x location
y - the y location
width - the width
height - the height

setArcType

public void setArcType(int type)

getArcType

public int getArcType()

setAngleStart

public void setAngleStart(double start)

setAngleExtent

public void setAngleExtent(double extent)

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.