|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.erichseifert.gral.AbstractDrawable
de.erichseifert.gral.PlotArea
de.erichseifert.gral.plots.XYPlot.XYPlotArea2D
public static class XYPlot.XYPlotArea2D
Class that represents the drawing area of an XYPlot
.
Field Summary | |
---|---|
static Settings.Key |
GRID_MAJOR_COLOR
Key for specifying the Paint instance to be used
to paint the grid lines of major ticks. |
static Settings.Key |
GRID_MAJOR_X
Key for specifying a Boolean value which decides
whether the horizontal grid lines at major ticks along the x-axis are drawn. |
static Settings.Key |
GRID_MAJOR_Y
Key for specifying a Boolean value which decides
whether the vertical grid lines at major ticks along the y-axis are drawn. |
static Settings.Key |
GRID_MINOR_COLOR
Key for specifying the Paint instance to be used
to paint the grid lines of minor ticks. |
static Settings.Key |
GRID_MINOR_X
Key for specifying a Boolean value which decides
whether the horizontal grid lines at minor ticks along the x-axis are drawn. |
static Settings.Key |
GRID_MINOR_Y
Key for specifying a Boolean value which decides
whether the vertical grid lines at minor ticks along the y-axis are drawn. |
Fields inherited from class de.erichseifert.gral.PlotArea |
---|
BACKGROUND, BORDER, COLOR |
Constructor Summary | |
---|---|
XYPlot.XYPlotArea2D(XYPlot plot)
Creates a new instance with default settings and initializes it with a plot serving as data provider. |
Method Summary | |
---|---|
void |
draw(DrawingContext context)
Draws the Drawable with the specified
Graphics2D object. |
Methods inherited from class de.erichseifert.gral.PlotArea |
---|
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault, settingChanged |
Methods inherited from class de.erichseifert.gral.AbstractDrawable |
---|
getBounds, getHeight, getPreferredSize, getWidth, getX, getY, setBounds, setBounds |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Settings.Key GRID_MAJOR_X
Boolean
value which decides
whether the horizontal grid lines at major ticks along the x-axis are drawn.
public static final Settings.Key GRID_MAJOR_Y
Boolean
value which decides
whether the vertical grid lines at major ticks along the y-axis are drawn.
public static final Settings.Key GRID_MAJOR_COLOR
Paint
instance to be used
to paint the grid lines of major ticks.
public static final Settings.Key GRID_MINOR_X
Boolean
value which decides
whether the horizontal grid lines at minor ticks along the x-axis are drawn.
public static final Settings.Key GRID_MINOR_Y
Boolean
value which decides
whether the vertical grid lines at minor ticks along the y-axis are drawn.
public static final Settings.Key GRID_MINOR_COLOR
Paint
instance to be used
to paint the grid lines of minor ticks.
Constructor Detail |
---|
public XYPlot.XYPlotArea2D(XYPlot plot)
plot
- Data provider.Method Detail |
---|
public void draw(DrawingContext context)
Drawable
Drawable
with the specified
Graphics2D
object.
context
- Environment used for drawing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |