Package | Description |
---|---|
de.erichseifert.gral.plots |
Plot related classes like axis and plot area management.
|
de.erichseifert.gral.plots.areas |
Classes for drawing areas in plots.
|
de.erichseifert.gral.plots.axes |
Classes for managing and drawing axes in plots.
|
de.erichseifert.gral.plots.legends |
Classes for rendering different kind of legends.
|
de.erichseifert.gral.plots.lines |
Classes for rendering data series connected by lines.
|
de.erichseifert.gral.plots.points |
Classes for rendering point shapes in a plot.
|
de.erichseifert.gral.plots.settings |
Classes for managing user-defined settings.
|
Modifier and Type | Field and Description |
---|---|
static Key |
Label.ALIGNMENT_TEXT
Key for specifying a
Number value for the alignment of text
with multiple lines. 0 means left, 1 means right. |
static Key |
Label.ALIGNMENT_X
Key for specifying a
Number value for the horizontal alignment
within the bounding rectangle. 0 means left, 1 means right. |
static Key |
Label.ALIGNMENT_Y
Key for specifying a
Number value for the vertical alignment
within the bounding rectangle. 0 means top, 1 means bottom. |
static Key |
PlotArea.BACKGROUND
Key for specifying the
Paint instance to be used to
paint the background of the plot area. |
static Key |
Plot.BACKGROUND
Key for specifying the
Paint instance to be used to
paint the background of the plot. |
static Key |
BoxPlot.BoxWhiskerRenderer.BAR_CENTER_COLOR
Key for specifying the
Paint instance to be used
to paint the lines of the center bar. |
static Key |
BoxPlot.BoxWhiskerRenderer.BAR_CENTER_STROKE
Key for specifying the
Stroke instance to be used
to paint the lines of the center bar. |
static Key |
BarPlot.BAR_HEIGHT_MIN
Key for specifying a
Number value for the minimum height of the
bars in view units (e.g. pixels on screen). |
static Key |
BarPlot.BAR_WIDTH
Key for specifying a
Number value for the width of the bars in
axis coordinates. |
static Key |
BoxPlot.BoxWhiskerRenderer.BAR_WIDTH
Key for specifying a
Number value for the relative width of
the bottom and top bars. |
static Key |
PlotArea.BORDER
Key for specifying the
Stroke instance to be used to
paint the border of the plot area. |
static Key |
Plot.BORDER
Key for specifying the
Stroke instance to be used to
paint the border of the plot. |
static Key |
BoxPlot.BoxWhiskerRenderer.BOX_BACKGROUND
Key for specifying an instance of
ColorMapper that will be used
to paint the background of the box. |
static Key |
BoxPlot.BoxWhiskerRenderer.BOX_BORDER
Key for specifying the
Stroke instance to be used
to paint the border of the box and the lines of the bars. |
static Key |
BoxPlot.BoxWhiskerRenderer.BOX_COLOR
Key for specifying the
Paint instance to be used
to paint the border of the box and the lines of bars. |
static Key |
BoxPlot.BoxWhiskerRenderer.BOX_WIDTH
Key for specifying a
Number value for the relative width
of the box. |
static Key |
PiePlot.CENTER
Key for specifying
Point2D instance defining the
center of the pie. |
static Key |
PlotArea.CLIPPING
Key for specifying an
Insets2D
instance that defines the clipping of the plotted data relative to
the plot area. |
static Key |
PiePlot.CLOCKWISE
Key for specifying a
Boolean value which decides whether the
segments should be ordered clockwise (true ) or counterclockwise
(false ). |
static Key |
PlotArea.COLOR
Key for specifying the
Paint instance to be used to
fill the border of the plot area. |
static Key |
Plot.COLOR
Key for specifying the
Paint instance to be used to
fill the border of the plot. |
static Key |
Label.COLOR
Key for specifying the
Paint instance to be used to
paint the label shape. |
static Key |
RasterPlot.COLORS
Key for specifying an instance of
ColorMapper used for mapping the
pixel values to colors. |
static Key |
BoxPlot.BoxWhiskerRenderer.COLUMN_BAR_BOTTOM
Key for specifying the
Integer value which specifies the
index of the column that is used for the bottom bar. |
static Key |
BoxPlot.BoxWhiskerRenderer.COLUMN_BAR_CENTER
Key for specifying the
Integer value which specifies the
index of the column that is used for the center bar. |
static Key |
BoxPlot.BoxWhiskerRenderer.COLUMN_BAR_TOP
Key for specifying the
Integer value which specifies the
index of the column that is used for the top bar. |
static Key |
BoxPlot.BoxWhiskerRenderer.COLUMN_BOX_BOTTOM
Key for specifying the
Integer value which specifies the
index of the column that is used for the bottom edge of the box. |
static Key |
BoxPlot.BoxWhiskerRenderer.COLUMN_BOX_TOP
Key for specifying the
Integer value which specifies the
index of the column that is used for the bottom edge of the box. |
static Key |
BoxPlot.BoxWhiskerRenderer.COLUMN_POSITION
Key for specifying the
Integer value which specifies the
index of the column that is used for the horizontal position of a box. |
static Key |
RasterPlot.RasterRenderer.COLUMN_VALUE
Key for specifying the
Integer which specifies the
index of the column that is used for the value of a point. |
static Key |
RasterPlot.RasterRenderer.COLUMN_X
Key for specifying the
Integer which specifies the
index of the column that is used for the x coordinate of a point. |
static Key |
RasterPlot.RasterRenderer.COLUMN_Y
Key for specifying the
Integer which specifies the
index of the column that is used for the y coordinate of a point. |
static Key |
RasterPlot.DISTANCE
Key for specifying a
Dimension2D instance which
defines the horizontal and vertical distance of the raster pixels. |
static Key |
Label.FONT
Key for specifying the
Font instance used to display
the text of this label. |
static Key |
PiePlot.PieSliceRenderer.GAP
Key for specifying a
Number value for the width of gaps
between the segments. |
static Key |
XYPlot.XYPlotArea2D.GRID_MAJOR_COLOR
Key for specifying the
Paint instance to be used
to paint the grid lines of major ticks. |
static Key |
XYPlot.XYPlotArea2D.GRID_MAJOR_X
Key for specifying a
Boolean value which decides whether
horizontal grid lines at major ticks along x-axis are drawn. |
static Key |
XYPlot.XYPlotArea2D.GRID_MAJOR_Y
Key for specifying a
Boolean value which decides whether
vertical grid lines at major ticks along y-axis are drawn. |
static Key |
XYPlot.XYPlotArea2D.GRID_MINOR_COLOR
Key for specifying the
Paint instance to be used
to paint the grid lines of minor ticks. |
static Key |
XYPlot.XYPlotArea2D.GRID_MINOR_X
Key for specifying a
Boolean value which decides whether
horizontal grid lines at minor ticks along x-axis are drawn. |
static Key |
XYPlot.XYPlotArea2D.GRID_MINOR_Y
Key for specifying a
Boolean value which decides whether
vertical grid lines at minor ticks along y-axis are drawn. |
static Key |
Plot.LEGEND
Key for specifying a
Boolean value to set whether the legend
should be shown. |
static Key |
Plot.LEGEND_DISTANCE
Key for specifying a
Number value that defines the spacing
between the plot area and the legend. |
static Key |
Plot.LEGEND_LOCATION
Key for specifying a
Location value for
the positioning of the legend. |
static Key |
RasterPlot.OFFSET
Key for specifying a
Point2D instance which defines
the horizontal and vertical offset of the raster from the origin. |
static Key |
BarPlot.PAINT_ALL_BARS
Key for specifying a
Boolean value which defines whether
painting should happen over all bars at once, otherwise each bar will be
filled independently. |
static Key |
PiePlot.RADIUS
Key for specifying a
Number value for the radius of the pie
relative to the plot area size. |
static Key |
PiePlot.PieSliceRenderer.RADIUS_INNER
Key for specifying a
Number value for the inner radius of
the pie relative to the radius set in the plot. |
static Key |
PiePlot.PieSliceRenderer.RADIUS_OUTER
Key for specifying a
Number value for the outer radius of
the pie relative to the radius set in the plot. |
static Key |
Label.ROTATION
Key for specifying a
Number value for the rotation of this
label in degrees. |
static Key |
PiePlot.START
Key for specifying a
Number value for the starting angle of the
first segment in degrees. |
static Key |
BarPlot.BarRenderer.STROKE
Key for specifying a
Stroke instance used to paint
the outline of the point shape. |
static Key |
BarPlot.BarRenderer.STROKE_COLOR
Key for specifying a
Paint instance used to fill
the point shape. |
static Key |
Plot.TITLE
Key for specifying the
String instance for the title of the
plot. |
static Key |
Plot.TITLE_FONT
Key for specifying the
Font instance that is used to
display the title of the plot. |
static Key |
BoxPlot.BoxWhiskerRenderer.WHISKER_COLOR
Key for specifying the
Paint instance to be used
to paint the lines of the whiskers. |
static Key |
BoxPlot.BoxWhiskerRenderer.WHISKER_STROKE
Key for specifying the
Stroke instance to be used
to paint the lines of the whiskers. |
static Key |
Label.WORD_WRAP
Key for specifying a
Boolean value whether the words of the
text should be wrapped to fit the size of the label. |
Modifier and Type | Method and Description |
---|---|
<T> T |
StylableDrawable.getSetting(Key key)
Returns the setting with the specified key.
|
<T> T |
StylableContainer.getSetting(Key key)
Returns the setting with the specified key.
|
<T> void |
StylableDrawable.removeSetting(Key key)
Removes the setting with the specified key.
|
<T> void |
StylableContainer.removeSetting(Key key)
Removes the setting with the specified key.
|
<T> void |
StylableDrawable.removeSettingDefault(Key key)
Removes the default setting with the specified key.
|
<T> void |
StylableContainer.removeSettingDefault(Key key)
Removes the default setting with the specified key.
|
<T> void |
StylableDrawable.setSetting(Key key,
T value)
Sets the setting with the specified key to the specified value.
|
<T> void |
StylableContainer.setSetting(Key key,
T value)
Sets the setting with the specified key to the specified value.
|
protected <T> void |
BoxPlot.BoxWhiskerRenderer.setSetting(Key key,
T value,
boolean isDefault) |
<T> void |
StylableDrawable.setSettingDefault(Key key,
T value)
Sets a default value for the setting with the specified key.
|
<T> void |
StylableContainer.setSettingDefault(Key key,
T value)
Sets a default value for the setting with the specified key.
|
Modifier and Type | Field and Description |
---|---|
static Key |
AreaRenderer.COLOR
Key for specifying the
Paint instance used to fill the
area shape. |
static Key |
AreaRenderer.GAP
Key for specifying a
Number value for the gap between the area
and a data point. |
static Key |
AreaRenderer.GAP_ROUNDED
Key for specifying a
Boolean value that decides whether the
gaps should have rounded corners. |
static Key |
LineAreaRenderer2D.STROKE
Key for specifying the
Stroke instance that is used
draw the lines from the data points to the axis. |
Modifier and Type | Field and Description |
---|---|
static Key |
AxisRenderer.INTERSECTION
Key for specifying a
Number value for the intersection point of
axis. |
static Key |
AxisRenderer.LABEL
Key for specifying the
String instance for the label text of
the axis. |
static Key |
AxisRenderer.LABEL_COLOR
Key for specifying the
Paint instance to be used to
paint the axis label. |
static Key |
AxisRenderer.LABEL_DISTANCE
Key for specifying a
Number value for the distance from the
axis to the label. |
static Key |
AxisRenderer.LABEL_FONT
Key for specifying the
Font instance to be used to
display the axis label text. |
static Key |
AxisRenderer.LABEL_ROTATION
Key for specifying a
Number value for the rotation of the axis
label in degrees. |
static Key |
AxisRenderer.SHAPE
Key for specifying the
Shape instance that defines the
shape of the axis. |
static Key |
AxisRenderer.SHAPE_COLOR
Key for specifying
Paint instance to be used to paint
the axis, its ticks and its labels. |
static Key |
AxisRenderer.SHAPE_DIRECTION_SWAPPED
Key for specifying a
Boolean value which decides
whether the axis direction will be changed. |
static Key |
AxisRenderer.SHAPE_NORMAL_ORIENTATION_CLOCKWISE
Key for specifying a
Boolean value which decides whether normal
vector is calculated using clockwise (true ) or counterclockwise
rotation (false ). |
static Key |
AxisRenderer.SHAPE_STROKE
Key for specifying the
Stroke instance which define
the shape of the axis. |
static Key |
AxisRenderer.SHAPE_VISIBLE
Key for specifying a
Boolean value which decides whether the
shape of the axis will be drawn. |
static Key |
AxisRenderer.TICK_LABELS
Key for specifying a
Boolean value whether tick labels will be
shown. |
static Key |
AxisRenderer.TICK_LABELS_DISTANCE
Key for specifying a
Number value for the distance of labels to
their ticks. |
static Key |
AxisRenderer.TICK_LABELS_FORMAT
Key for specifying the
Format instance which converts
the tick values to labels. |
static Key |
AxisRenderer.TICK_LABELS_OUTSIDE
Key for specifying a
Boolean value which decides whether the
tick labels are drawn outside of the plot. |
static Key |
AxisRenderer.TICK_LABELS_ROTATION
Key for specifying a
Number value for the rotation of the tick
labels in degrees. |
static Key |
AxisRenderer.TICKS
Key for specifying a
Boolean value which decides
whether major ticks are drawn. |
static Key |
AxisRenderer.TICKS_ALIGNMENT
Key for specifying a
Number value for the alignment
of major ticks: 0.0 means outside, 0.5 means centered, 1.0 means inside. |
static Key |
AxisRenderer.TICKS_AUTO_SPACING
Key for specifying a
Boolean value which decides whether the
interval for major and minor ticks is chosen automatically. |
static Key |
AxisRenderer.TICKS_COLOR
Key for specifying the
Paint instance to be used to
paint the shapes of major ticks. |
static Key |
AxisRenderer.TICKS_CUSTOM
|
static Key |
AxisRenderer.TICKS_FONT
Key for specifying the
Font instance to be used to
display the text of major ticks. |
static Key |
AxisRenderer.TICKS_LENGTH
Key for specifying a
Number value for the length of major tick
strokes. |
static Key |
AxisRenderer.TICKS_MINOR
Key for specifying a
Boolean value which decides whether minor
ticks are drawn. |
static Key |
AxisRenderer.TICKS_MINOR_ALIGNMENT
Key for specifying a
Number value for the alignment of minor
ticks: 0.0 means outside, 0.5 means centered, 1.0 means inside. |
static Key |
AxisRenderer.TICKS_MINOR_COLOR
Key for specifying the
Paint instance to be used to
paint the the shapes of minor ticks. |
static Key |
AxisRenderer.TICKS_MINOR_COUNT
Key for specifying an
Integer value for the count of minor
ticks. |
static Key |
AxisRenderer.TICKS_MINOR_LENGTH
Key for specifying a
Number value for the length of minor tick
strokes. |
static Key |
AxisRenderer.TICKS_MINOR_STROKE
Key for specifying the
Stroke instance which is used
to draw all minor ticks. |
static Key |
AxisRenderer.TICKS_SPACING
Key for specifying a
Number value for the interval
for major ticks. |
static Key |
AxisRenderer.TICKS_STROKE
Key for specifying the
Stroke instance which is used
to draw all major ticks. |
Modifier and Type | Field and Description |
---|---|
static Key |
Legend.ALIGNMENT_X
Key for specifying a
Number value describing the horizontal
alignment of the legend relative to the plot area. |
static Key |
Legend.ALIGNMENT_Y
Key for specifying a
Number value describing the vertical
alignment of the legend relative to the plot area. |
static Key |
Legend.BACKGROUND
Key for specifying the
Paint instance to be used to
paint the background. |
static Key |
Legend.BORDER
Key for specifying the
Stroke instance to be used to
paint the border of the legend. |
static Key |
Legend.COLOR
Key for specifying the
Paint instance to be used to
fill the border of the legend. |
static Key |
Legend.FONT
Key for specifying the
Font instance to be used to
display the legend labels. |
static Key |
Legend.GAP
Key for specifying a
Insets2D instance defining the
horizontal and vertical gap between items. |
static Key |
ValueLegend.LABEL_COLUMN
Key for specifying a
Integer value for the index of
the column that contains the labels for the values. |
static Key |
ValueLegend.LABEL_FORMAT
Key for specifying the
Format instance to be used to
format the displayed data values. |
static Key |
Legend.ORIENTATION
Key for specifying a
Orientation
instance defining the direction of the legend's items. |
static Key |
Legend.SYMBOL_SIZE
Key for specifying a
Insets2D instance defining the
size of the legend's symbols. |
Modifier and Type | Field and Description |
---|---|
static Key |
DiscreteLineRenderer2D.ASCENDING_POINT
Key for specifying a
Number value for the relative distance
between two points, i.e. the "step" of a stair. |
static Key |
DiscreteLineRenderer2D.ASCENT_DIRECTION
Key for specifying an instance of
Orientation which indicates the primary
direction of the "steps". |
static Key |
LineRenderer.COLOR
Key for specifying the
Paint instance to be used to
paint the line shape. |
static Key |
LineRenderer.GAP
Key for specifying a
Number value for the gap between the line
and a point. |
static Key |
LineRenderer.GAP_ROUNDED
Key for specifying a
Boolean value which decides whether the
gaps should have rounded corners. |
static Key |
SmoothLineRenderer2D.SMOOTHNESS
Key for specifying a
Number value for the smoothness of the
line. |
static Key |
LineRenderer.STROKE
Key for specifying the
Stroke instance to be used to
define the line shape. |
Modifier and Type | Field and Description |
---|---|
static Key |
LabelPointRenderer.ALIGNMENT_X
Key for specifying a
Number value for the horizontal alignment
relative to the data point. 0 means left, 1 means right. |
static Key |
LabelPointRenderer.ALIGNMENT_Y
Key for specifying a
Number value for the vertical alignment
relative to the data point. 0 means top, 1 means bottom. |
static Key |
PointRenderer.COLOR
Key for specifying an instance either of
ColorMapper or
Paint that will be used to paint the point shapes. |
static Key |
SizeablePointRenderer.COLUMN
Key for specifying the
Integer which specifies the index of the
column that is used for point sizes. |
static Key |
LabelPointRenderer.COLUMN
Key for specifying the
Integer which specifies the index of the
column that is used for point sizes. |
static Key |
PointRenderer.ERROR_COLOR
Key for specifying the
Paint instance to be used to
paint the error bars. |
static Key |
PointRenderer.ERROR_COLUMN_BOTTOM
Key for specifying a
Integer value for the index of
the column that contains the lower error value. |
static Key |
PointRenderer.ERROR_COLUMN_TOP
Key for specifying a
Integer value for the index of
the column that contains the upper error value. |
static Key |
PointRenderer.ERROR_DISPLAYED
Key for specifying a
Boolean value whether the error
value is displayed. |
static Key |
PointRenderer.ERROR_SHAPE
Key for specifying an instance either of
ColorMapper or
Paint that will be used to paint the error bars. |
static Key |
PointRenderer.ERROR_STROKE
Key for specifying the
Stroke instance defining the
error bars. |
static Key |
LabelPointRenderer.FONT
Key for specifying a
Font instance for the font of
this label. |
static Key |
LabelPointRenderer.FORMAT
Key for specifying the
Format instance which
specifies how the labels will be displayed. |
static Key |
PointRenderer.SHAPE
Key for specifying the
Shape instance defining the
form of the point. |
static Key |
PointRenderer.VALUE_ALIGNMENT_X
Key for specifying a
Number value that positions
the value horizontally. |
static Key |
PointRenderer.VALUE_ALIGNMENT_Y
Key for specifying a
Number value that positions
the value vertically. |
static Key |
PointRenderer.VALUE_COLOR
Key for specifying the
Paint instance to be used to
paint the value. |
static Key |
PointRenderer.VALUE_COLUMN
Key for specifying a
Integer value for the index of
the column that contains the displayed values. |
static Key |
PointRenderer.VALUE_DISPLAYED
Key for specifying a
Boolean value whether the data
value of a point is displayed or not. |
static Key |
PointRenderer.VALUE_DISTANCE
Key for specifying a
Number value for the distance
of values to the point. |
static Key |
PointRenderer.VALUE_FONT
Key for specifying an instance either of
ColorMapper or
Paint that will be used to paint the value text. |
static Key |
PointRenderer.VALUE_FORMAT
Key for specifying the
Format instance to be used to
format the displayed data values. |
static Key |
PointRenderer.VALUE_LOCATION
Key for specifying a
Location value for
the positioning of the data value relative to the data point. |
static Key |
PointRenderer.VALUE_ROTATION
Key for specifying a
Number value for setting the
rotation of the value in degrees. |
Modifier and Type | Method and Description |
---|---|
protected <T> void |
AbstractPointRenderer.setSetting(Key key,
T value,
boolean isDefault) |
Modifier and Type | Method and Description |
---|---|
Key |
SettingChangeEvent.getKey()
Returns the key of the changed setting.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Key> |
SettingsUtils.getKeys(Class<?> cls)
Returns all static fields of a specified class that represent settings
keys as pairs of (name, key).
|
Modifier and Type | Method and Description |
---|---|
<T> T |
BasicSettingsStorage.getSetting(Key key)
Returns the setting with the specified key.
|
<T> T |
SettingsStorage.getSetting(Key key)
Returns the setting with the specified key.
|
boolean |
BasicSettingsStorage.hasSetting(Key key)
Returns
true if there is a setting for the specified key. |
boolean |
BasicSettingsStorage.hasSettingDefault(Key key)
Returns
true if there is a default setting for the
specified key. |
protected void |
BasicSettingsStorage.notifySettingChanged(Key key,
Object valueOld,
Object valueNew,
boolean defaultSetting)
Invokes the settingChanged method on all registered listeners.
|
<T> void |
BasicSettingsStorage.removeSetting(Key key)
Removes the setting with the specified key.
|
<T> void |
SettingsStorage.removeSetting(Key key)
Removes the setting with the specified key.
|
<T> void |
BasicSettingsStorage.removeSettingDefault(Key key)
Removes the default setting with the specified key.
|
<T> void |
SettingsStorage.removeSettingDefault(Key key)
Removes the default setting with the specified key.
|
<T> void |
BasicSettingsStorage.setSetting(Key key,
T value)
Sets the setting with the specified key to the specified value.
|
<T> void |
SettingsStorage.setSetting(Key key,
T value)
Sets the setting with the specified key to the specified value.
|
protected <T> void |
BasicSettingsStorage.setSetting(Key key,
T value,
boolean isDefault)
Sets the setting or default setting with the specified key to a new
value.
|
<T> void |
BasicSettingsStorage.setSettingDefault(Key key,
T value)
Sets a default value for the setting with the specified key.
|
<T> void |
SettingsStorage.setSettingDefault(Key key,
T value)
Sets a default value for the setting with the specified key.
|
Constructor and Description |
---|
SettingChangeEvent(Object source,
Key key,
Object valOld,
Object valNew,
boolean defaultSetting)
Creates a new event object with the specified values.
|
Copyright © 2009-2013. All Rights Reserved.