public static class LegendBuilder.LabelItem extends java.lang.Object implements EllipsisHelper.ITester
| 构造器和说明 |
|---|
LabelItem(org.eclipse.birt.chart.computation.LegendBuilder.LegendData lgData,
Label la) |
LabelItem(org.eclipse.birt.chart.computation.LegendBuilder.LegendData lgData,
Label la,
double dWrapping) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkEllipsis(double dWidthLimit)
Checks if current label text should use ellipsis to shorten the
length.
|
java.lang.String |
getCaption()
get the display text of the label
|
java.lang.String |
getFullText() |
double |
getHeight() |
int |
getValidTextLen() |
double |
getWidth() |
void |
setText(java.lang.String sText) |
boolean |
testLabelVisible(java.lang.String strNew,
java.lang.Object oPara) |
public LabelItem(org.eclipse.birt.chart.computation.LegendBuilder.LegendData lgData,
Label la,
double dWrapping)
public LabelItem(org.eclipse.birt.chart.computation.LegendBuilder.LegendData lgData,
Label la)
public void setText(java.lang.String sText)
throws ChartException
ChartExceptionpublic java.lang.String getFullText()
public int getValidTextLen()
public boolean testLabelVisible(java.lang.String strNew,
java.lang.Object oPara)
throws ChartException
testLabelVisible 在接口中 EllipsisHelper.ITesterChartExceptionpublic boolean checkEllipsis(double dWidthLimit)
throws ChartException
dWidthLimit - the expected width to be reduced from the textChartExceptionpublic double getWidth()
throws ChartException
getWidth 在接口中 EllipsisHelper.ITesterChartExceptionpublic double getHeight()
throws ChartException
getHeight 在接口中 EllipsisHelper.ITesterChartExceptionpublic java.lang.String getCaption()
Copyright © 2005-2008 Actuate Corp. All rights reserved.