@ParametersAreNonnullByDefault public class DiffHighlightCodeAreaPainter extends ExtendedCodeAreaPainter
codeArea, unprintableCharactersMapping| Constructor and Description |
|---|
DiffHighlightCodeAreaPainter(org.exbin.bined.swing.CodeAreaCore codeArea) |
DiffHighlightCodeAreaPainter(org.exbin.bined.swing.CodeAreaCore codeArea,
org.exbin.auxiliary.binary_data.BinaryData comparedData) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getDiffColor() |
java.awt.Color |
getPositionTextColor(long rowDataPosition,
int byteOnRow,
int charOnRow,
org.exbin.bined.CodeAreaSection section,
boolean unprintables)
Returns background color for particular code.
|
void |
paintMainArea(java.awt.Graphics g) |
void |
setComparedData(org.exbin.auxiliary.binary_data.BinaryData comparedData) |
void |
setDiffColor(java.awt.Color diffColor) |
attach, computeCenterOnScrollPosition, computeMovePosition, computePositionScrollVisibility, computeRevealScrollPosition, computeScrolling, detach, drawCenteredChars, drawShiftedChars, fontChanged, getBytesPerRow, getCaretsProfile, getColorsProfile, getCursorPositionRect, getCharactersPerRow, getLayoutProfile, getMouseCursorShape, getPositionBackgroundColor, getPositionPoint, getPositionZone, getRowHeight, getThemeProfile, isInitialized, mousePositionToClosestCaretPosition, paintBackground, paintComponent, paintCursor, paintHeader, paintOutsideArea, paintRowBackground, paintRowPosition, paintRows, paintRowText, rebuildColors, recomputeCharPositions, reset, resetCaret, resetColors, resetFont, resetLayout, scrollPositionChanged, scrollPositionModified, setCaretsProfile, setColorsProfile, setLayoutProfile, setThemeProfile, updateCache, updateRectToCursorPosition, updateScrollBarspublic DiffHighlightCodeAreaPainter(org.exbin.bined.swing.CodeAreaCore codeArea)
public DiffHighlightCodeAreaPainter(org.exbin.bined.swing.CodeAreaCore codeArea,
@Nullable
org.exbin.auxiliary.binary_data.BinaryData comparedData)
public void paintMainArea(@Nonnull
java.awt.Graphics g)
paintMainArea in interface org.exbin.bined.swing.CodeAreaPainterpaintMainArea in class ExtendedCodeAreaPainter@Nullable
public java.awt.Color getPositionTextColor(long rowDataPosition,
int byteOnRow,
int charOnRow,
org.exbin.bined.CodeAreaSection section,
boolean unprintables)
ExtendedCodeAreaPaintergetPositionTextColor in class ExtendedCodeAreaPainterrowDataPosition - row data positionbyteOnRow - byte on current rowcharOnRow - character on current rowsection - current sectionunprintables - flag for unprintable characterspublic void setComparedData(org.exbin.auxiliary.binary_data.BinaryData comparedData)
@Nonnull public java.awt.Color getDiffColor()
public void setDiffColor(java.awt.Color diffColor)