org.fife.ui.rtextarea
Class RTextAreaHighlighter.LayeredHighlightInfoImpl
java.lang.Object
org.fife.ui.rtextarea.RTextAreaHighlighter.HighlightInfoImpl
org.fife.ui.rtextarea.RTextAreaHighlighter.LayeredHighlightInfoImpl
- All Implemented Interfaces:
- Highlighter.Highlight, RTextAreaHighlighter.HighlightInfo, RTextAreaHighlighter.LayeredHighlightInfo
- Enclosing class:
- RTextAreaHighlighter
protected static class RTextAreaHighlighter.LayeredHighlightInfoImpl
- extends RTextAreaHighlighter.HighlightInfoImpl
- implements RTextAreaHighlighter.LayeredHighlightInfo
A straightforward implementation of HighlightInfo for
painting layered highlights.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public int x
y
public int y
width
public int width
height
public int height
RTextAreaHighlighter.LayeredHighlightInfoImpl
protected RTextAreaHighlighter.LayeredHighlightInfoImpl()
paintLayeredHighlights
public void paintLayeredHighlights(Graphics g,
int p0,
int p1,
Shape viewBounds,
JTextComponent editor,
View view)
- Restricts the region based on the receivers offsets and messages
the painter to paint the region.
- Specified by:
paintLayeredHighlights in interface RTextAreaHighlighter.LayeredHighlightInfo
Copyright © 2003–2014. All rights reserved.