|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.chart.render.Axis3DRenderer
public class Axis3DRenderer
A class that renderers a three dimensional 'platform'-like axis.
Constructor Summary | |
---|---|
Axis3DRenderer()
Create an Axis3DRenderer |
Method Summary | |
---|---|
double |
getAngle()
Returns the angle in degrees currently used for the z axis lines in the Axis3DRenderer |
int |
getBreadth()
Returns the breadth of the axis |
double |
getDepthProportion()
|
int |
getFrontHeight()
Returns the height of the front of the 3D axis, either by simply returning the value provided in the setter, or if null, by calculating a value based on the frontHeightProportion. |
ZAlignment |
getZAlignment()
|
void |
renderAxis(Graphics g,
int x,
int y,
int length,
Orientation orientation)
When rendering horizontally the supplied y coordinate is the centre of the rendered breadth |
void |
setAngle(double angle)
Specify the angle in degrees for the z axis lines in the 3D axis 'platform'. |
void |
setBreadth(int breadth)
Specify the breadth of the axis |
void |
setDepthProportion(double depthProportion)
Specify how much of the available breadth the axis will use. |
void |
setFrontHeight(Integer frontHeight)
This method enables you to specify the front height of the 3D axis in terms of pixels. |
void |
setFrontHeightProportion(double frontHeightProportion)
Set a height for the front of the 3D axis as a proportion of the available space. |
void |
setZAlignment(ZAlignment zAlignment)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Axis3DRenderer()
Method Detail |
---|
public double getAngle()
public void setAngle(double angle)
angle
- the angle in degrees for the z axis linespublic double getDepthProportion()
public void setDepthProportion(double depthProportion)
depthProportion
- specifies depth as a proportion of the available spacepublic int getBreadth()
getBreadth
in interface AxisRenderer
public void setBreadth(int breadth)
setBreadth
in interface AxisRenderer
breadth
- the new breadth of the axispublic int getFrontHeight()
public void setFrontHeight(Integer frontHeight)
frontHeight
- the height of the front of the axis in pixels, or null if it is to be
calculated from the frontHeightProportion.public void setFrontHeightProportion(double frontHeightProportion)
frontHeightProportion
- the height of the front of the 3D axis as a proportion of the available spacepublic ZAlignment getZAlignment()
public void setZAlignment(ZAlignment zAlignment)
public void renderAxis(Graphics g, int x, int y, int length, Orientation orientation)
renderAxis
in interface AxisRenderer
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |