|
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
org.eclipse.tptp.platform.report.chart.svg.internal.part.AxisCategory
org.eclipse.tptp.platform.report.chart.svg.internal.part.AxisCategoryVertical
public class AxisCategoryVertical
Implementation of vertical category axis
| Field Summary | |
|---|---|
protected boolean |
left
position of the vertical axis. |
protected double |
maxLabelLength
The maximum number of characters of the labels |
| Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.AxisCategory |
|---|
categoryList, data, groupBoundaryPositions, groupDataPositions, labelOrientation, numOfCategories, title |
| Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.Axis |
|---|
axisDef, axisHeight, axisWidth, dataValueDef, labelDegrees, majorUnitDef, marginForMax, minorUnitDef, nls, showMajorGridLines, showMajorTicks, showMinorGridLines, showMinorTicks |
| 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 | |
|---|---|
AxisCategoryVertical(Chart input,
boolean isLTR,
NLString nls)
|
|
AxisCategoryVertical(Chart input,
boolean isLTR,
short labelOrientation,
NLString nls)
|
|
AxisCategoryVertical(Chart input,
boolean isLTR,
short labelOrientation,
NLString nls,
double labelDegrees)
|
|
| Method Summary | |
|---|---|
protected void |
constructPart()
|
protected SVGBase |
drawHorizontalLabels()
Constructs horizontal labels |
protected SVGBase |
drawTickMarks()
|
protected SVGBase |
drawVerticalLabels()
Constructs vertical labels |
double |
getAxisHeight()
Gets the Height of the axis part |
double |
getAxisLength()
Gets length of axis |
short |
getAxisOrientation()
Gets the orientation of the axis |
double |
getAxisWidth()
Gets the width of the axis part |
protected double |
getLabelWidth()
Find the appoximate width of the labels |
int |
getMarginForMax()
|
protected double |
getTitleWidth()
|
void |
setAxisLength(double length)
Sets length of axis |
void |
setCrossPoint(double x,
double y)
Sets the coordinates of the point where this axis meets with another axis. |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.AxisCategory |
|---|
getGroupBoundaryPositions, getGroupDataPositions, getMaxLabelHeight, getMaxLabelLength, getMaxNumOfRowsOfLabels, setGroupDataPositions, setLabelDegrees, wrapLabel |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.Axis |
|---|
axisExtendedLength, getLabelDegrees, isShowMajorGridLines, isShowMinorGridLines |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.part.Part |
|---|
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 maxLabelLength
protected boolean left
| Constructor Detail |
|---|
public AxisCategoryVertical(Chart input,
boolean isLTR,
NLString nls)
input -
public AxisCategoryVertical(Chart input,
boolean isLTR,
short labelOrientation,
NLString nls)
input - labelOrientation -
public AxisCategoryVertical(Chart input,
boolean isLTR,
short labelOrientation,
NLString nls,
double labelDegrees)
| Method Detail |
|---|
protected double getLabelWidth()
protected SVGBase drawHorizontalLabels()
AxisCategory
drawHorizontalLabels in class AxisCategoryprotected SVGBase drawVerticalLabels()
AxisCategory
drawVerticalLabels in class AxisCategorypublic void setAxisLength(double length)
Axis
setAxisLength in class Axispublic double getAxisLength()
Axis
getAxisLength in class Axis
public void setCrossPoint(double x,
double y)
Axis
setCrossPoint in class Axisprotected double getTitleWidth()
protected void constructPart()
constructPart in class Partpublic double getAxisWidth()
Axis
getAxisWidth in class Axispublic double getAxisHeight()
Axis
getAxisHeight in class Axispublic short getAxisOrientation()
Axis
getAxisOrientation in class Axisprotected SVGBase drawTickMarks()
public int getMarginForMax()
getMarginForMax in class Axis
|
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 | ||||||||