JComponentPack 1.3.0

com.zfqjava.chart
Class WallNode

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

public class WallNode
extends GridNode

WallNode provides a Wall ndoe. WallNode is immutable.


Constructor Summary
WallNode()
          Constructs a Wall node.
 
Method Summary
protected  GridNode createBackNode()
          Creates the back node.
protected  GridNode createBottomNode()
          Creates the bottom node.
protected  GridNode createSideNode()
          Creates the side node.
 void doLayout()
          Layout the children nodes.
protected  void drawShape(Graphics2D g, Shape s)
           
 GridNode getBackNode()
          Returns the back node.
 GridNode getBottomNode()
          Returns the bottom node.
 GridNode getSideNode()
          Returns the side node.
 void setGridSize(int gridWidth, int gridHeight)
          Sets the grid size for this grid node.
 
Methods inherited from class com.zfqjava.chart.GridNode
createPaintShape, getGridHeight, getGridMode, getGridWidth, getOriginX, getOriginY, setGridHeight, setGridMode, setGridWidth, setOriginLocation
 
Methods inherited from class com.zfqjava.chart.AbstractNode
addHandle, addHandle, addLink, addNode, addNode, addNode, addNode, clone, configureShape, configureShape, contains, contains, contains, createHandles, 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

WallNode

public WallNode()
Constructs a Wall node.

Method Detail

setGridSize

public void setGridSize(int gridWidth,
                        int gridHeight)
Description copied from class: GridNode
Sets the grid size for this grid node.

Overrides:
setGridSize in class GridNode
Parameters:
gridWidth - the grid width
gridHeight - the grid height

createBackNode

protected GridNode createBackNode()
Creates the back node.

Returns:
the back node

createSideNode

protected GridNode createSideNode()
Creates the side node.

Returns:
the side node

createBottomNode

protected GridNode createBottomNode()
Creates the bottom node.

Returns:
the bottom node

getBackNode

public GridNode getBackNode()
Returns the back node.

Returns:
the back node

getSideNode

public GridNode getSideNode()
Returns the side node.

Returns:
the side node

getBottomNode

public GridNode getBottomNode()
Returns the bottom node.

Returns:
the bottom node

drawShape

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

doLayout

public void doLayout()
Description copied from interface: Node
Layout the children nodes.

Specified by:
doLayout in interface Node
Overrides:
doLayout in class AbstractNode

JComponentPack 1.3.0

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