|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGDocumentFragmentBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGSvg
org.eclipse.tptp.platform.report.chart.svg.internal.part.Part
org.eclipse.tptp.platform.report.chart.svg.internal.part.Axis
public abstract class Axis
| Field Summary | |
|---|---|
protected AxisDefinition |
axisDef
axis definition (a pointer to the input DOM) |
protected double |
axisHeight
height of axis |
protected double |
axisWidth
width of axis |
protected DataValue |
dataValueDef
Data value definition (a pointer to the input DOM) |
protected double |
labelDegrees
degrees of label text - horizontal or vertical |
protected UnitDefinition |
majorUnitDef
Major Unit definition from input |
protected int |
marginForMax
|
protected UnitDefinition |
minorUnitDef
Minor Unit definition from input |
protected NLString |
nls
An object for retriving translated text |
protected boolean |
showMajorGridLines
A flag to indicate whether major grid lines should be shown |
protected boolean |
showMajorTicks
A flag to indicate whether major tick marks should be shown |
protected boolean |
showMinorGridLines
A flag to indicate whether minor grid lines should be shown |
protected boolean |
showMinorTicks
A flag to indicate whether minor tick marks should be shown |
| Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.Part |
|---|
height, input, width, x, y |
| Fields inherited from interface org.eclipse.tptp.platform.report.chart.svg.internal.part.IGraphicTypeConstants |
|---|
AREA_CHART, HBAR_CHART, HBAR_CHART3D, HSTACKBAR_CHART, HSTACKBAR_CHART3D, LINE_CHART, METER, PIE_CHART, PIE_CHART3D, SCATTER_CHART, STACK_AREA_CHART, VBAR_CHART, VBAR_CHART3D, VSTACKBAR_CHART, VSTACKBAR_CHART3D |
| Constructor Summary | |
|---|---|
Axis(Chart input,
double x,
double y,
double width,
double height,
NLString nls)
|
|
Axis(Chart input,
NLString nls,
double labelDegrees)
|
|
| Method Summary | |
|---|---|
double |
axisExtendedLength()
Returns the extra length of the axes in cases where additional padding is needed |
abstract double |
getAxisHeight()
Gets the Height of the axis part |
abstract double |
getAxisLength()
Gets length of axis |
abstract short |
getAxisOrientation()
Gets the orientation of the axis |
abstract double |
getAxisWidth()
Gets the width of the axis part |
double |
getLabelDegrees()
|
int |
getMarginForMax()
|
boolean |
isShowMajorGridLines()
determines if major grid lines should be drawn |
boolean |
isShowMinorGridLines()
determines if minor grid lines should be drawn |
abstract void |
setAxisLength(double length)
Sets length of axis |
abstract void |
setCrossPoint(double x,
double y)
Sets the coordinates of the point where this axis meets with another axis. |
void |
setLabelDegrees(double labelDegrees)
|
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.Part |
|---|
constructPart, doImplementation |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGSvg |
|---|
addDefinition, addDefinition, addStyle, doImplementation, doImplementation, doImplementation, getImplementation |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGDocumentFragmentBase |
|---|
getHeight, getPreserveAspectRatio, getViewbox, getWidth, getXCoordinate, getYCoordinate, setHeight, setPreserveAspectRatio, setViewbox, setWidth, setXCoordinate, setYCoordinate |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase |
|---|
getChildren, getDesc, getTitle, setChildren, setDesc, setTitle |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase |
|---|
getIdentifier, getStyle, getStyleClass, getTagName, getVisibility, setIdentifier, setStyle, setStyleClass, setTagName, setVisibility |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double labelDegrees
protected double axisWidth
protected int marginForMax
protected double axisHeight
protected UnitDefinition majorUnitDef
protected UnitDefinition minorUnitDef
protected boolean showMajorGridLines
protected boolean showMinorGridLines
protected boolean showMajorTicks
protected boolean showMinorTicks
protected AxisDefinition axisDef
protected DataValue dataValueDef
protected NLString nls
| Constructor Detail |
|---|
public Axis(Chart input,
NLString nls,
double labelDegrees)
input -
public Axis(Chart input,
double x,
double y,
double width,
double height,
NLString nls)
input - x - y - width - height - | Method Detail |
|---|
public abstract double getAxisLength()
public abstract void setAxisLength(double length)
length - public abstract double getAxisWidth()
public abstract double getAxisHeight()
public abstract void setCrossPoint(double x,
double y)
x - y - public boolean isShowMajorGridLines()
public boolean isShowMinorGridLines()
public abstract short getAxisOrientation()
public double axisExtendedLength()
public int getMarginForMax()
public double getLabelDegrees()
public void setLabelDegrees(double labelDegrees)
labelDegrees - The labelDegrees to set.
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||