|
Oracle Outside In Java API Reference 8.5.3 E57629-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.outsidein.annotations.HighlightTextAnnotation
public class HighlightTextAnnotation
Describes text highlights to apply to a run of text content in the destination document.
Annotatable.addTextHighlight(HighlightTextAnnotation)
Constructor Summary | |
---|---|
HighlightTextAnnotation(long startCharCount, long endCharCount, ColorInfo foreground, ColorInfo background) Creates a text annotation with a specific foreground and background color. |
|
HighlightTextAnnotation(long startCharCount, long endCharCount, ColorInfo foreground, ColorInfo background, java.util.EnumSet<CharAttributeValues> charAttrs, java.util.EnumSet<CharAttributeValues> charMask) Creates a text annotation that changes the character attributes and applies a specific foreground and background color to the specified text. |
|
HighlightTextAnnotation(long startCharCount, long endCharCount, java.util.EnumSet<CharAttributeValues> charAttrs, java.util.EnumSet<CharAttributeValues> charMask) Creates a text annotation that changes the character attributes of the specified text. |
Method Summary | |
---|---|
net.bitform.oilink.OILinkMessages.HiliteText |
getOILinkHiliteText() Used internally by the Outside In API and not to be used externally. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HighlightTextAnnotation(long startCharCount, long endCharCount, ColorInfo foreground, ColorInfo background)
startCharCount
- the character count of the starting positionendCharCount
- the character count of the end positionforeground
- the text color of the highlightbackground
- the background color of the highlightpublic HighlightTextAnnotation(long startCharCount, long endCharCount, java.util.EnumSet<CharAttributeValues> charAttrs, java.util.EnumSet<CharAttributeValues> charMask)
startCharCount
- the character count of the starting positionendCharCount
- the character count of the end positioncharAttrs
- the set of character attributes that are "on"charMask
- the character attributes to apply. If the mask set contains an attribute that is not in the charAttrs
set, then that attribute will be set to "off"public HighlightTextAnnotation(long startCharCount, long endCharCount, ColorInfo foreground, ColorInfo background, java.util.EnumSet<CharAttributeValues> charAttrs, java.util.EnumSet<CharAttributeValues> charMask)
startCharCount
- the character count of the starting positionendCharCount
- the character count of the end positionforeground
- the text color of the highlightbackground
- the background color of the highlightcharAttrs
- the set of character attributes that are "on"charMask
- the character attributes to apply. If the mask set contains an attribute that is not in the charAttrs
set, then that attribute will be set to "off"Method Detail |
---|
public net.bitform.oilink.OILinkMessages.HiliteText getOILinkHiliteText()
|
Oracle Outside In Java API Reference 8.5.3 E57629-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |