public interface CategoryAxis3D extends Axis3D
CategoryPlot3D
for the row and column axes. Most of the methods in this interface are
intended to be called by the plot that the axis is assigned to, they won't
normally be called by external code.| Modifier and Type | Method and Description |
|---|---|
void |
configureAsColumnAxis(CategoryPlot3D plot)
Configure the axis as a column axis for the specified plot.
|
void |
configureAsRowAxis(CategoryPlot3D plot)
Configure the axis as a row axis for the specified plot.
|
java.util.List<MarkerData> |
generateMarkerData()
Returns a list of marker data instances for the markers that fall
within the current axis range.
|
java.util.List<TickData> |
generateTickDataForColumns(CategoryDataset3D dataset)
Generates the tick data for the axis (assumes the axis is being used
as the row axis).
|
java.util.List<TickData> |
generateTickDataForRows(CategoryDataset3D dataset)
Generates the tick data for the axis (assumes the axis is being used
as the row axis).
|
double |
getCategoryValue(java.lang.Comparable<?> category)
Returns the numerical value along the axis that corresponds to the
specified category.
|
double |
getCategoryWidth()
Returns the width of a single category in units corresponding to
the current axis range.
|
CategoryMarker |
getMarker(java.lang.String key)
Returns the marker with the specified key, if there is one.
|
boolean |
isColumnAxis()
Returns
true if this axis is being used as the column axis
in a plot, and false otherwise. |
boolean |
isRowAxis()
Returns
true if this axis is being used as the row axis
in a plot, and false otherwise. |
addChangeListener, draw, getLabelColor, getLabelFont, getRange, getTickLabelColor, getTickLabelFont, isInverted, isVisible, removeChangeListener, setInverted, setLabelColor, setLabelFont, setRange, setRange, setTickLabelColor, setTickLabelFont, setVisible, translateToWorldreceiveboolean isRowAxis()
true if this axis is being used as the row axis
in a plot, and false otherwise.boolean isColumnAxis()
true if this axis is being used as the column axis
in a plot, and false otherwise.void configureAsRowAxis(CategoryPlot3D plot)
plot - the plot (null not permitted).void configureAsColumnAxis(CategoryPlot3D plot)
plot - the plot (null not permitted).double getCategoryWidth()
double getCategoryValue(java.lang.Comparable<?> category)
Double.NaN.category - the category (null not permitted).java.util.List<TickData> generateTickDataForRows(CategoryDataset3D dataset)
dataset - the dataset (null not permitted).java.util.List<TickData> generateTickDataForColumns(CategoryDataset3D dataset)
dataset - the dataset (null not permitted).java.util.List<MarkerData> generateMarkerData()
CategoryMarker getMarker(java.lang.String key)
key - the key (null not permitted).null).