Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.javatools.editor.highlight
Class HighlightedLine

java.lang.Object
  extended by oracle.javatools.editor.highlight.HighlightedText
      extended by oracle.javatools.editor.highlight.HighlightedLine


public final class HighlightedLine
extends HighlightedText

A HighlightedLine object represents a line of text that has a HighlightStyle applied to it. It is created by calling addLineHighlight() in a highlight layer on a region of text.

When trying to change the highlight style or offsets for a HighlightedText object, the change must be done through the highlight layer so that the editor view can be properly repainted. Clients are not allowed to call the set*() accessor methods here directly.


Field Summary

 

Fields inherited from class oracle.javatools.editor.highlight.HighlightedText
endMark, highlightStyle, startMark

 

Constructor Summary
protected HighlightedLine(HighlightStyle highlightStyle, OffsetMark startMark, OffsetMark endMark)
          Constructs a new HighlightedLine object.

 

Method Summary
 boolean isLineHighlight()
          Fetch whether this highlight is a line highlight or not.

 

Methods inherited from class oracle.javatools.editor.highlight.HighlightedText
getEndOffset, getHighlightStyle, getStartOffset

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

HighlightedLine

protected HighlightedLine(HighlightStyle highlightStyle,
                          OffsetMark startMark,
                          OffsetMark endMark)
Constructs a new HighlightedLine object.
Parameters:
highlightStyle - the highlightStyle to use
startOffset - starting offset
endOffset - ending offset (exclusive)

Method Detail

isLineHighlight

public boolean isLineHighlight()
Fetch whether this highlight is a line highlight or not.
Overrides:
isLineHighlight in class HighlightedText
Returns:
true if this is a line highlight

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.