JComponentPack 1.5.0

com.zfqjava.chart.geom
Class PyramidNode

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

public class PyramidNode
extends AbstractNode

PyramidNode provides a pyramid node.


Constructor Summary
PyramidNode()
           
 
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.
protected  void drawShape(Graphics2D g, Shape s)
           
 
Methods inherited from class com.zfqjava.chart.AbstractNode
addHandle, addHandle, addLink, addNode, addNode, addNode, addNode, clone, configureShape, contains, contains, contains, createHandles, doLayout, 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

PyramidNode

public PyramidNode()
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

drawShape

protected void drawShape(Graphics2D g,
                         Shape s)
Overrides:
drawShape in class AbstractNode

JComponentPack 1.5.0

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