public class LinePainter
extends java.lang.Object
| Constructor and Description | 
|---|
LinePainter()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addInstruction(PaintInstruction instruction)  | 
org.eclipse.swt.graphics.FontMetrics | 
getBiggestMetrics()  | 
int | 
getContentWidth()  | 
int | 
getLineHeight()  | 
int | 
getNextJustifySpace()  | 
int | 
getTrimmedContentWidth()  | 
void | 
increaseContentWidth(int width)
Increase the static content with with spaces. 
 | 
void | 
increaseTrimmedContentWidth(int width)
Increase the static content with without spaces. 
 | 
void | 
paint(org.eclipse.swt.graphics.GC gc,
     org.eclipse.swt.graphics.Rectangle area)  | 
public void paint(org.eclipse.swt.graphics.GC gc,
                  org.eclipse.swt.graphics.Rectangle area)
public void addInstruction(PaintInstruction instruction)
public org.eclipse.swt.graphics.FontMetrics getBiggestMetrics()
public int getLineHeight()
public int getContentWidth()
public void increaseContentWidth(int width)
width - The width that should be added to the static content width.public int getTrimmedContentWidth()
public void increaseTrimmedContentWidth(int width)
width - The width that should be added to the static content width.public int getNextJustifySpace()