| Package | Description |
|---|---|
| com.orsoncharts | |
| com.orsoncharts.legend |
Classes related to chart legends.
|
| com.orsoncharts.table |
Classes and interfaces for constructing tables for display to the user.
|
| Modifier and Type | Method and Description |
|---|---|
static TableElement |
TitleUtils.createTitle(java.lang.String title)
Creates a chart title using the default font and alignment.
|
static TableElement |
TitleUtils.createTitle(java.lang.String title,
java.awt.Font titleFont,
java.lang.String subtitle,
java.awt.Font subtitleFont,
HAlign alignment)
Creates a chart title and subtitle using the specified fonts and
alignment.
|
static TableElement |
TitleUtils.createTitle(java.lang.String title,
java.lang.String subtitle)
Creates a chart title and subtitle using default fonts and left
alignment.
|
static TableElement |
TitleUtils.createTitle(java.lang.String title,
java.lang.String subtitle,
Anchor2D anchor)
Creates a chart title and subtitle (optional) using default fonts and
alignment that is standard for the specified anchor point (that is, left
alignment when the title is anchored left, center alignment when the
title is anchored centrally, and right alignment when the title is
anchored to the right).
|
TableElement |
Chart3D.getTitle()
Returns the chart title.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OnDrawHandler.afterDraw(TableElement element,
java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D bounds) |
void |
OnDrawHandler.beforeDraw(TableElement element,
java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D bounds) |
void |
Chart3D.setTitle(TableElement title)
Sets the chart title and sends a
Chart3DChangeEvent to all
registered listeners. |
| Modifier and Type | Class and Description |
|---|---|
class |
ColorScaleElement
A
TableElement that displays a ColorScale. |
| Modifier and Type | Method and Description |
|---|---|
TableElement |
StandardLegendBuilder.createLegend(Plot3D plot,
Anchor2D anchor,
Orientation orientation,
ChartStyle style)
Creates and returns a legend (instance of
TableElement) that
provides a visual key for the data series in the specified plot. |
TableElement |
LegendBuilder.createLegend(Plot3D plot,
Anchor2D anchor,
Orientation orientation,
ChartStyle style)
Creates a legend for the specified plot.
|
TableElement |
ColorScaleLegendBuilder.createLegend(Plot3D plot,
Anchor2D anchor,
Orientation orientation,
ChartStyle style)
Creates a new color scale legend with the specified orientation.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ContainerElement
A
TableElement that contains other elements (provides the
addElement() method). |
| Modifier and Type | Class and Description |
|---|---|
class |
FlowElement
A table element that displays a list of sub-elements in a flow layout.
|
class |
GridElement
A table element that contains a grid of elements.
|
class |
ShapeElement
A table element that displays a shape.
|
class |
TextElement
A table element consisting of some text that will be drawn on one line.
|
class |
VerticalFlowElement
A table element that displays a list of sub-elements in a vertical flow
layout.
|
| Modifier and Type | Method and Description |
|---|---|
TableElement |
ElementInfo.getElement()
Returns the element.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TableElement> |
VerticalFlowElement.getElements()
Returns a (new) list containing the elements in this flow layout.
|
java.util.List<TableElement> |
FlowElement.getElements()
Returns a (new) list containing the elements in this flow layout.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VerticalFlowElement.addElement(TableElement element)
Adds a sub-element to the list.
|
void |
FlowElement.addElement(TableElement element)
Adds a sub-element to the list.
|
void |
ContainerElement.addElement(TableElement element)
Adds a sub-element to the container element.
|
void |
TableElementOnDraw.afterDraw(TableElement element,
java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D bounds)
A callback method that is called after an element is drawn.
|
void |
TableElementOnDraw.beforeDraw(TableElement element,
java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D bounds)
A callback method that is called before an element is drawn.
|
void |
GridElement.setElement(TableElement element,
java.lang.Comparable<?> rowKey,
java.lang.Comparable<?> columnKey)
Adds (or updates) a cell in the grid.
|
void |
TableElementVisitor.visit(TableElement element)
Performs the visitor's operation on the table element.
|
void |
TableElementStyler.visit(TableElement element) |
| Constructor and Description |
|---|
ElementInfo(TableElement element,
java.awt.geom.Dimension2D dimension)
Creates a new instance.
|