public class ChartBox3D extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChartBox3D.ChartBoxFace
A special subclass of
Face that is used by the ChartBox3D
so that when faces are sorted by z-order, the chart box sides are always
drawn first (furthest in the background). |
| Constructor and Description |
|---|
ChartBox3D(double xLength,
double yLength,
double zLength,
double xOffset,
double yOffset,
double zOffset,
java.awt.Color color)
Creates a new chart box with the specified attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Object3D |
createObject3D()
Creates an
Object3D that contains the six faces for the
chart box, plus the vertices for the tick marks along the edges of
each face. |
ChartBox3D.ChartBoxFace |
faceA()
Returns face A (the bottom face, in the XZ axis plane).
|
ChartBox3D.ChartBoxFace |
faceB()
Returns face B (the front face, in the XY axis plane).
|
ChartBox3D.ChartBoxFace |
faceC()
Returns face C (the top face, in the XZ axis plane).
|
ChartBox3D.ChartBoxFace |
faceD()
Returns face D (the rear face, in the XY axis plane).
|
ChartBox3D.ChartBoxFace |
faceE()
Returns face E (the left face, in the YZ axis plane).
|
ChartBox3D.ChartBoxFace |
faceF()
Returns face F (the right face, in the YZ axis plane).
|
java.util.List<MarkerData> |
getXMarkers()
Returns the marker data for the x-axis markers, if any.
|
java.util.List<TickData> |
getXTicks()
Returns the list of tick data items for the x-axis.
|
java.util.List<MarkerData> |
getYMarkers()
Returns the marker data for the y-axis markers, if any.
|
java.util.List<TickData> |
getYTicks()
Returns the list of tick data items for the y-axis.
|
java.util.List<MarkerData> |
getZMarkers()
Returns the marker data for the z-axis markers, if any.
|
java.util.List<TickData> |
getZTicks()
Returns the list of tick data items for the z-axis.
|
void |
setXMarkers(java.util.List<MarkerData> markers)
Sets the list of marker data items for the x-axis.
|
void |
setXTicks(java.util.List<TickData> ticks)
Sets the list of tick data items for the x-axis.
|
void |
setYMarkers(java.util.List<MarkerData> markers)
Sets the list of marker data items for the y-axis.
|
void |
setYTicks(java.util.List<TickData> ticks)
Sets the list of tick data items for the y-axis.
|
void |
setZMarkers(java.util.List<MarkerData> markers)
Sets the list of marker data items for the x-axis.
|
void |
setZTicks(java.util.List<TickData> ticks)
Sets the list of tick data items for the z-axis.
|
public ChartBox3D(double xLength, double yLength, double zLength, double xOffset, double yOffset, double zOffset, java.awt.Color color)
xLength - the x-dimension.yLength - the y-dimension.zLength - the z-dimension.xOffset - the x-offset.yOffset - the y-offset.zOffset - the z-offset.color - the color for the sides of the box (null not
permitted).public java.util.List<TickData> getXTicks()
null).public void setXTicks(java.util.List<TickData> ticks)
ticks - the tick data (null not permitted).public java.util.List<TickData> getYTicks()
null).public void setYTicks(java.util.List<TickData> ticks)
ticks - the tick data (null not permitted).public java.util.List<TickData> getZTicks()
null).public void setZTicks(java.util.List<TickData> ticks)
ticks - the tick data (null not permitted).public java.util.List<MarkerData> getXMarkers()
null).public void setXMarkers(java.util.List<MarkerData> markers)
markers - the list of marker data items (null not
permitted).public java.util.List<MarkerData> getYMarkers()
null).public void setYMarkers(java.util.List<MarkerData> markers)
markers - the list of marker data items (null not
permitted).public java.util.List<MarkerData> getZMarkers()
null).public void setZMarkers(java.util.List<MarkerData> markers)
markers - the list of marker data items (null not
permitted).public ChartBox3D.ChartBoxFace faceA()
public ChartBox3D.ChartBoxFace faceB()
public ChartBox3D.ChartBoxFace faceC()
public ChartBox3D.ChartBoxFace faceD()
public ChartBox3D.ChartBoxFace faceE()
public ChartBox3D.ChartBoxFace faceF()
public Object3D createObject3D()
Object3D that contains the six faces for the
chart box, plus the vertices for the tick marks along the edges of
each face.