public class P2DAxisView extends P2DComponentView implements P2DAxisViewInterface
P2DAxisLineView,
P2DAxisTitleView,
P2DAxisTickvalueView,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
version |
| Constructor and Description |
|---|
P2DAxisView() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(P2DComponentInterface component,
P2DContainerInterface container,
java.awt.Graphics2D g2)
Draw the text.
|
void |
drawGrid(P2DComponentInterface component,
java.awt.Graphics2D g,
P2DRange1DInterface range)
Draw the grid of the axis.
|
drawBackground, drawChildren, drawFrame, getVersion, initialize, install, paint, paint, release, release, revalidate, uninstallclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVersion, releasepublic static final java.lang.String version
public void draw(P2DComponentInterface component, P2DContainerInterface container, java.awt.Graphics2D g2)
draw in interface P2DViewInterfacedraw in class P2DComponentViewcontainer - the toplevel container.g - The graphical context.public void drawGrid(P2DComponentInterface component, java.awt.Graphics2D g, P2DRange1DInterface range)
drawGrid in interface P2DAxisViewInterfaceg - The graphical context.range - The range for the grid.