public class P2DAxisView extends P2DComponentView implements P2DAxisViewInterface
P2DAxisLineView
,
P2DAxisTitleView
,
P2DAxisTickvalueView
,
Serialized FormModifier 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, uninstall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVersion, release
public static final java.lang.String version
public void draw(P2DComponentInterface component, P2DContainerInterface container, java.awt.Graphics2D g2)
draw
in interface P2DViewInterface
draw
in class P2DComponentView
container
- the toplevel container.g
- The graphical context.public void drawGrid(P2DComponentInterface component, java.awt.Graphics2D g, P2DRange1DInterface range)
drawGrid
in interface P2DAxisViewInterface
g
- The graphical context.range
- The range for the grid.