protected static class DefaultCodeAreaPainter.PaintData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ColorsGroup |
alternateColors |
protected CodeArea.BackgroundPaintMode |
backgroundMode |
protected int |
byteGroupSize |
protected int |
bytesPerLine |
protected int |
codeDigits |
protected org.eclipse.swt.graphics.Rectangle |
codeSectionRect |
protected org.eclipse.swt.graphics.FontMetrics |
fontMetrics |
protected CodeArea.CharRenderingMode |
charRenderingMode |
protected java.nio.charset.Charset |
charset |
protected int |
charsPerCodeArea |
protected int |
charsPerLine |
protected int |
charWidth |
protected long |
line |
protected byte[] |
lineData
Line data cache.
|
protected long |
lineDataPosition |
protected int |
lineHeight |
protected char[] |
lineChars |
protected int |
lineStart |
protected ColorsGroup |
mainColors |
protected int |
maxCharLength |
protected boolean |
monospaceFont |
protected int |
previewCharPos |
protected CodeArea.ScrollPosition |
scrollPosition |
protected boolean |
showUnprintableCharacters |
protected int |
spaceGroupSize |
protected char[] |
unprintableChars
Single line of unprintable characters.
|
protected org.exbin.deltahex.ViewMode |
viewMode |
protected int |
visibleCodeEnd |
protected int |
visibleCodeStart |
protected int |
visibleCharEnd |
protected int |
visibleCharStart |
protected int |
visiblePreviewEnd |
protected int |
visiblePreviewStart |
Modifier and Type | Method and Description |
---|---|
CodeArea.BackgroundPaintMode |
getBackgroundPaintMode() |
int |
getByteGroupSize() |
int |
getBytesPerLine() |
int |
getCodeDigits() |
org.eclipse.swt.graphics.Rectangle |
getCodeSectionRect() |
CodeArea.CharRenderingMode |
getCharRenderingMode() |
java.nio.charset.Charset |
getCharset() |
int |
getCharsPerLine() |
int |
getCharWidth() |
long |
getLine() |
long |
getLineDataPosition() |
int |
getLineHeight() |
ColorsGroup |
getMainColors() |
int |
getMaxCharLength() |
int |
getPreviewCharPos() |
CodeArea.ScrollPosition |
getScrollPosition() |
int |
getSpaceGroupSize() |
ColorsGroup |
getStripColors() |
org.exbin.deltahex.ViewMode |
getViewMode() |
int |
getVisibleCodeEnd() |
int |
getVisibleCodeStart() |
int |
getVisibleCharEnd() |
int |
getVisibleCharStart() |
int |
getVisiblePreviewEnd() |
int |
getVisiblePreviewStart() |
int |
charWidth(char character) |
boolean |
isShowUnprintableCharacters() |
protected org.exbin.deltahex.ViewMode viewMode
protected CodeArea.BackgroundPaintMode backgroundMode
protected org.eclipse.swt.graphics.Rectangle codeSectionRect
protected CodeArea.ScrollPosition scrollPosition
protected int charWidth
protected int bytesPerLine
protected int lineHeight
protected int codeDigits
protected int byteGroupSize
protected int spaceGroupSize
protected int charsPerLine
protected java.nio.charset.Charset charset
protected int maxCharLength
protected boolean showUnprintableCharacters
protected CodeArea.CharRenderingMode charRenderingMode
protected org.eclipse.swt.graphics.FontMetrics fontMetrics
protected boolean monospaceFont
protected int charsPerCodeArea
protected int previewCharPos
protected int visibleCharStart
protected int visibleCharEnd
protected int visibleCodeStart
protected int visibleCodeEnd
protected int visiblePreviewStart
protected int visiblePreviewEnd
protected ColorsGroup mainColors
protected ColorsGroup alternateColors
protected int lineStart
protected long lineDataPosition
protected long line
protected char[] lineChars
protected byte[] lineData
protected char[] unprintableChars
public PaintData(CodeArea codeArea)
public int charWidth(char character)
public org.exbin.deltahex.ViewMode getViewMode()
public CodeArea.BackgroundPaintMode getBackgroundPaintMode()
public org.eclipse.swt.graphics.Rectangle getCodeSectionRect()
public CodeArea.ScrollPosition getScrollPosition()
public CodeArea.CharRenderingMode getCharRenderingMode()
public int getCharWidth()
public int getBytesPerLine()
public int getByteGroupSize()
public int getSpaceGroupSize()
public int getLineHeight()
public int getCodeDigits()
public int getCharsPerLine()
public java.nio.charset.Charset getCharset()
public int getMaxCharLength()
public int getPreviewCharPos()
public boolean isShowUnprintableCharacters()
public ColorsGroup getMainColors()
public ColorsGroup getStripColors()
public long getLineDataPosition()
public long getLine()
public int getVisibleCharStart()
public int getVisibleCharEnd()
public int getVisibleCodeStart()
public int getVisibleCodeEnd()
public int getVisiblePreviewStart()
public int getVisiblePreviewEnd()