public class JSyntaxView extends PlainView
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_TEXTAA |
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| Constructor and Description |
|---|
JSyntaxView(Element element,
JSyntaxStyleManager styles)
Construct a new view using the given configuration and prefix given
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
drawSelectedText(Graphics graphics,
int x,
int y,
int p0,
int p1) |
protected int |
drawUnselectedText(Graphics graphics,
int x,
int y,
int p0,
int p1) |
static void |
setRenderingHits(Graphics2D g2d)
Sets the Rendering Hints o nthe Graphics.
|
protected void |
updateDamage(DocumentEvent changes,
Shape a,
ViewFactory f) |
changedUpdate, damageLineRange, drawLine, getLineBuffer, getPreferredSpan, getTabSize, insertUpdate, lineToRect, modelToView, nextTabStop, paint, removeUpdate, setSize, updateMetrics, viewToModelappend, breakView, createFragment, forwardUpdate, forwardUpdateToView, getAlignment, getAttributes, getBreakWeight, getChildAllocation, getContainer, getDocument, getElement, getEndOffset, getGraphics, getMaximumSpan, getMinimumSpan, getNextVisualPositionFrom, getParent, getResizeWeight, getStartOffset, getToolTipText, getView, getViewCount, getViewFactory, getViewIndex, getViewIndex, insert, isVisible, modelToView, modelToView, preferenceChanged, remove, removeAll, replace, setParent, updateChildren, updateLayout, viewToModelpublic static final String PROPERTY_TEXTAA
public JSyntaxView(Element element, JSyntaxStyleManager styles)
element - // * @param config
// * @param prefixprotected int drawUnselectedText(Graphics graphics, int x, int y, int p0, int p1)
drawUnselectedText in class PlainViewprotected int drawSelectedText(Graphics graphics, int x, int y, int p0, int p1) throws BadLocationException
drawSelectedText in class PlainViewBadLocationExceptionprotected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f)
updateDamage in class PlainViewpublic static void setRenderingHits(Graphics2D g2d)
g2d - Copyright © 2021 vpc open source initiative. All rights reserved.