|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.chart.computation.BIRTChartComputation
public class BIRTChartComputation
| Constructor Summary | |
|---|---|
BIRTChartComputation()
|
|
| Method Summary | |
|---|---|
void |
applyWrapping(IDisplayServer xs,
Label la,
double dWrapping)
Apply the wrapping to a label. |
BoundingBox |
computeBox(IDisplayServer xs,
int iLabelLocation,
Label la,
double dX,
double dY)
Compute the bounding box ( location and size ) of a label. |
double |
computeFontHeight(IDisplayServer xs,
Label la)
Convenient method to compute the font's height of a label. |
double |
computeHeight(IDisplayServer xs,
Label la)
Compute the height of a label. |
BoundingBox |
computeLabelSize(IDisplayServer xs,
Label la,
double dWrapping,
java.lang.Double fontHeight)
Compute the size of a label. |
RotatedRectangle |
computePolygon(IDisplayServer xs,
int iLabelLocation,
Label la,
double dX,
double dY,
java.lang.Double fontHeight)
Compute the bounding polygon of a label. |
double |
computeWidth(IDisplayServer xs,
Label la)
Compute the width of a label. |
void |
dispose()
|
ITextMetrics |
getTextMetrics(IDisplayServer xs,
Label la,
double wrapping)
Returns a text metrics. |
void |
recycleTextMetrics(ITextMetrics itm)
Dispose the text metrics. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BIRTChartComputation()
| Method Detail |
|---|
public double computeFontHeight(IDisplayServer xs,
Label la)
throws ChartException
IChartComputation
computeFontHeight in interface IChartComputationChartException
public ITextMetrics getTextMetrics(IDisplayServer xs,
Label la,
double wrapping)
IChartComputation
getTextMetrics in interface IChartComputation
public BoundingBox computeLabelSize(IDisplayServer xs,
Label la,
double dWrapping,
java.lang.Double fontHeight)
throws ChartException
IChartComputation
computeLabelSize in interface IChartComputationChartException
public BoundingBox computeBox(IDisplayServer xs,
int iLabelLocation,
Label la,
double dX,
double dY)
throws ChartException
IChartComputation
computeBox in interface IChartComputationChartException
public RotatedRectangle computePolygon(IDisplayServer xs,
int iLabelLocation,
Label la,
double dX,
double dY,
java.lang.Double fontHeight)
throws ChartException
IChartComputation
computePolygon in interface IChartComputationChartException
public double computeWidth(IDisplayServer xs,
Label la)
throws ChartException
IChartComputation
computeWidth in interface IChartComputationChartException
public double computeHeight(IDisplayServer xs,
Label la)
throws ChartException
IChartComputation
computeHeight in interface IChartComputationChartExceptionpublic void dispose()
dispose in interface IChartComputation
public void applyWrapping(IDisplayServer xs,
Label la,
double dWrapping)
throws ChartException
IChartComputation
applyWrapping in interface IChartComputationChartExceptionpublic void recycleTextMetrics(ITextMetrics itm)
IChartComputation
recycleTextMetrics in interface IChartComputation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||