ewe.ui
Class DisplayLineSpecs

java.lang.Object
  extended byewe.ui.DisplayLineSpecs

public class DisplayLineSpecs
extends Object


Field Summary
 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 Summary
DisplayLineSpecs()
           
 
Method Summary
protected  boolean calculate(int options)
           
static int getWidth(DisplayLine first, FontMetrics fm, int options)
           
 DisplayLine split(int options)
           
 DisplayLine toDisplayLine(boolean update, int options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Field Detail

source

public char[] source

start

public int start

length

public int length

fm

public FontMetrics fm

displayWidth

public int displayWidth

widthOfFirst

public int widthOfFirst

widthOfWidest

public int widthOfWidest

widthOfAll

public int widthOfAll

displayLength

public int displayLength

widest

public int widest

flags

public int flags

format

public FormattedTextSpecs format

tabWidth

protected int tabWidth

fixedWidth

protected int fixedWidth

widthCacheChars

protected char[] widthCacheChars

widthCache

protected int[] widthCache

widthProvider

public DisplayLine.WidthProvider widthProvider
Constructor Detail

DisplayLineSpecs

public DisplayLineSpecs()
Method Detail

toDisplayLine

public DisplayLine toDisplayLine(boolean update,
                                 int options)

split

public DisplayLine split(int options)

calculate

protected boolean calculate(int options)

getWidth

public static int getWidth(DisplayLine first,
                           FontMetrics fm,
                           int options)