|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.editor.highlight.HighlightFragment
public class HighlightFragment
A HighlightFragment
is a fragment describing highlight information for rendering highlights. It provides information about the background, foreground, font, and underline highlight attributes for a specific region of text. Data members are public for convenience.
Note that not all style fields may be filled in, as it depends on how the fragment list was generated. This class is similar in principle to a StyledFragment
except that it applies to highlights.
This class is used internally by the editor component for rendering, and is not returned to editor clients. When clients add highlights to a given layer, the object returned is of type HighlightedText
.
Field Summary | |
---|---|
HighlightStyle |
backgroundStyle The highlight style for the background attribute. |
int |
endOffset The ending offset for this fragment (exclusive). |
HighlightStyle |
fontStyle The highlight style for the font attribute. |
HighlightStyle |
foregroundStyle The highlight style for the foreground attribute. |
int |
startOffset The starting offset for this fragment. |
HighlightStyle |
underlineStyle The highlight style for the underline attribute. |
Constructor Summary | |
---|---|
HighlightFragment() |
Method Summary | |
---|---|
java.lang.String |
toString() Fetches a string representation of this fragment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public HighlightStyle backgroundStyle
public HighlightStyle foregroundStyle
public HighlightStyle fontStyle
public HighlightStyle underlineStyle
public int startOffset
public int endOffset
Constructor Detail |
---|
public HighlightFragment()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |