public class DisplayLineSpecs extends Object
Modifier and Type | Field and Description |
---|---|
int |
displayLength |
int |
displayWidth |
protected int |
fixedWidth |
int |
flags |
FontMetrics |
fm |
FormattedTextSpecs |
format |
int |
length |
char[] |
source |
int |
start |
protected int |
tabWidth |
int |
widest |
protected int[] |
widthCache |
protected char[] |
widthCacheChars |
int |
widthOfAll |
int |
widthOfFirst |
int |
widthOfWidest |
DisplayLine.WidthProvider |
widthProvider |
Constructor and Description |
---|
DisplayLineSpecs() |
DisplayLineSpecs(String data,
FontMetrics fm,
int width) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
calculate(int options) |
static int |
getWidth(DisplayLine first,
FontMetrics fm,
int options) |
protected boolean |
notNativeCalculate(int options) |
StringList |
split(boolean splitAtNewLineOnly,
StringList dest) |
DisplayLine |
split(int options) |
DisplayLine |
toDisplayLine(boolean update,
int options) |
public char[] source
public int start
public int length
public FontMetrics fm
public int displayWidth
public int widthOfFirst
public int widthOfWidest
public int widthOfAll
public int displayLength
public int widest
public int flags
public FormattedTextSpecs format
protected int tabWidth
public DisplayLine.WidthProvider widthProvider
protected int fixedWidth
protected char[] widthCacheChars
protected int[] widthCache
public DisplayLineSpecs(String data, FontMetrics fm, int width)
public DisplayLineSpecs()
public StringList split(boolean splitAtNewLineOnly, StringList dest)
public DisplayLine toDisplayLine(boolean update, int options)
public DisplayLine split(int options)
protected boolean calculate(int options)
protected boolean notNativeCalculate(int options)
public static int getWidth(DisplayLine first, FontMetrics fm, int options)