DrawableAxes, PolarAxes, DrawablePolarType1, PolarType2public abstract class AbstractPolarAxis extends AbstractAxes implements PolarAxes
| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
autospaceRings |
|
protected double |
dr |
|
protected double |
dtheta |
defaultBottomGutter, defaultLeftGutter, defaultRightGutter, defaultTopGutter, drawingPanel, gridcolor, interiorColor, labelFont, labelFormat, superscriptFont, titleFont, titleLine, visible| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractPolarAxis(DrawingPanel drawingPanel) |
Creates polar axes that will display themselves within the given drawing panel.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
autospaceRings(boolean autospace) |
Automatically sets the spacing of the radial grid.
|
protected void |
drawRAxis(double dr,
double rmax,
DrawingPanel panel,
java.awt.Graphics g) |
Draws the spokes for the polar plot.
|
double |
drawRings(double rmax,
DrawingPanel panel,
java.awt.Graphics g) |
Draws the rings for the polar plot.
|
void |
drawSpokes(double rmax,
DrawingPanel panel,
java.awt.Graphics g) |
Draws the spokes for the polar plot.
|
double |
getDeltaR() |
Gets the spacing of the radial grid.
|
double |
getDeltaTheta() |
Gets the spacing of the radial gridlines.
|
void |
setDeltaR(double dr) |
Sets the spacing of the radial gridlines.
|
void |
setDeltaTheta(double dtheta) |
Sets the spacing of the radial gridlines.
|
void |
setLabelFormat(java.lang.String formatString) |
Method setLabelFormat
|
getInteriorBackground, getTitle, isVisible, resetPanelGutters, resizeFonts, setDefaultGutters, setInteriorBackground, setTitle, setVisiblegetInteriorBackground, getTitle, getXLabel, getYLabel, resizeFonts, setShowMajorXGrid, setShowMajorYGrid, setShowMinorXGrid, setShowMinorYGrid, setTitle, setVisible, setXLabel, setYLabelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetInteriorBackgroundprotected double dr
protected double dtheta
protected boolean autospaceRings
protected AbstractPolarAxis(DrawingPanel drawingPanel)
drawingPanel - DrawingPanelpublic void autospaceRings(boolean autospace)
autospaceRings in interface PolarAxesautoscaleR - public double getDeltaR()
public void setDeltaR(double dr)
public double getDeltaTheta()
getDeltaTheta in interface PolarAxespublic void setDeltaTheta(double dtheta)
setDeltaTheta in interface PolarAxesdtheta - in degreepublic void setLabelFormat(java.lang.String formatString)
formatString - protected void drawRAxis(double dr,
double rmax,
DrawingPanel panel,
java.awt.Graphics g)
panel - g - public double drawRings(double rmax,
DrawingPanel panel,
java.awt.Graphics g)
public void drawSpokes(double rmax,
DrawingPanel panel,
java.awt.Graphics g)
drawSpokes in interface PolarAxespanel - g -