public class EllipsisHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
EllipsisHelper.ITester
ITester
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELLIPSIS_STRING |
Constructor and Description |
---|
EllipsisHelper(EllipsisHelper.ITester tester_,
int iMinCharToView) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkLabelEllipsis(java.lang.String sText_,
java.lang.Object oPara) |
static EllipsisHelper.ITester |
createSimpleTester(IChartComputation cComp,
IDisplayServer xs,
Label la,
java.lang.Double fontHeight) |
static java.lang.String |
ellipsisString(java.lang.String str,
int iVisChar) |
EllipsisHelper.ITester |
getTester() |
int |
getVisibleCharCount()
Returns the visible char count before the ellipsis, 0 if no ellipsis is
used.
|
void |
setIMinCharToView(int iMinCharToView) |
static EllipsisHelper |
simpleInstance(IChartComputation cComp,
IDisplayServer xs,
Label la,
java.lang.Double fontHeight) |
public static final java.lang.String ELLIPSIS_STRING
public EllipsisHelper(EllipsisHelper.ITester tester_, int iMinCharToView)
public EllipsisHelper.ITester getTester()
public void setIMinCharToView(int iMinCharToView)
public static java.lang.String ellipsisString(java.lang.String str, int iVisChar)
public int getVisibleCharCount()
public boolean checkLabelEllipsis(java.lang.String sText_, java.lang.Object oPara) throws ChartException
ChartException
public static EllipsisHelper.ITester createSimpleTester(IChartComputation cComp, IDisplayServer xs, Label la, java.lang.Double fontHeight) throws ChartException
ChartException
public static EllipsisHelper simpleInstance(IChartComputation cComp, IDisplayServer xs, Label la, java.lang.Double fontHeight) throws ChartException
ChartException
Copyright © 2005-2008 Actuate Corp. All rights reserved.