|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.chart.AbstractNode
com.zfqjava.chart.GridNode
public class GridNode
GridNode provides a Grid ndoe.
GridNode is immutable.
| Constructor Summary | |
|---|---|
GridNode()
Constructs a Grid node. |
|
GridNode(GridMode gridMode)
Constructs a Grid node. |
|
| Method Summary | |
|---|---|
protected Shape |
createPaintShape()
Creates the paint shape. |
protected void |
drawShape(Graphics2D g,
Shape s)
|
int |
getGridHeight()
Returns the grid height. |
GridMode |
getGridMode()
Returns the grid mode for this grid node. |
int |
getGridWidth()
Returns the grid width. |
int |
getOriginX()
Returns the origin x coordinate. |
int |
getOriginY()
Returns the origin y coordinate. |
void |
setGridHeight(int gridHeight)
Sets the grid height. |
void |
setGridMode(GridMode gridMode)
Sets the grid mode for this grid node. |
void |
setGridSize(int gridWidth,
int gridHeight)
Sets the grid size for this grid node. |
void |
setGridWidth(int gridWidth)
Sets the grid width. |
void |
setOriginLocation(int x,
int y)
Sets the origin coordinate. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GridNode()
public GridNode(GridMode gridMode)
| Method Detail |
|---|
protected Shape createPaintShape()
AbstractNode
createPaintShape in class AbstractNode
public void setOriginLocation(int x,
int y)
x - the the origin x coordinatey - the the origin y coordinatepublic int getOriginX()
public int getOriginY()
public void setGridMode(GridMode gridMode)
gridMode - the grid modegetGridMode()public GridMode getGridMode()
setGridMode(com.zfqjava.chart.GridMode)
public void setGridSize(int gridWidth,
int gridHeight)
gridWidth - the grid widthgridHeight - the grid heightpublic void setGridWidth(int gridWidth)
gridWidth - the grid widthgetGridWidth()public int getGridWidth()
setGridWidth(int)public void setGridHeight(int gridHeight)
gridHeight - the grid heightgetGridHeight()public int getGridHeight()
setGridHeight(int)
protected void drawShape(Graphics2D g,
Shape s)
drawShape in class AbstractNode
|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||