< prev index next >
src/java.desktop/share/classes/javax/swing/text/DefaultHighlighter.java
Print this page
*** 334,348 ****
--- 334,353 ----
* the Views will call into <code>paintLayeredHighlight</code> which
* will result in a rectangle being drawn before the text is drawn
* (if the offsets are in a highlighted region that is). For this to
* work the painter supplied must be an instance of
* LayeredHighlightPainter.
+ * @param newValue the new value
*/
public void setDrawsLayeredHighlights(boolean newValue) {
drawsLayeredHighlights = newValue;
}
+ /**
+ * Return the draw layered highlights.
+ * @return the draw layered highlights
+ */
public boolean getDrawsLayeredHighlights() {
return drawsLayeredHighlights;
}
// ---- member variables --------------------------------------------
< prev index next >