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

E13403-04

Uses of Class
oracle.javatools.editor.highlight.HighlightStyle

Packages that use HighlightStyle
oracle.ide.ceditor The Code Editor package contains the code editing implementation of the JDeveloper IDE. 
oracle.javatools.editor The Editor package is a basic framework for an editor component with syntax highlighting capabilities, built on top of the Swing text framework. 
oracle.javatools.editor.gutter The Line Gutter package is a subset of the Editor package, and contains API for working with a Gutter associated with an editor pane. 
oracle.javatools.editor.highlight The Highlights package is a subset of the Editor package, and contains API's for creating, maintaining, and applying background, foreground, font, and underline highlights to regions of text in an editor pane. 
oracle.javatools.editor.plugins The Plugins package is a subset of the Editor package, and is one way to extend the functionality of an editor pane. 
 

Uses of HighlightStyle in oracle.ide.ceditor
 

Methods in oracle.ide.ceditor that return HighlightStyle
static HighlightStyle CodeEditor.createHighlightStyle(java.lang.String internalName, java.lang.String publicName, int priority, java.awt.Color fgColor, java.awt.Color bgColor)
          Utility routine to create a new highlight style with background and foreground attributes.
static HighlightStyle CodeEditor.createHighlightStyle(java.lang.String internalName, java.lang.String publicName, int priority, java.awt.Color fgColor, java.awt.Color bgColor, int fontStyle, int underlinePredefine, java.awt.Color underlineColor)
          Utility routine to create a new highlight style with background, foreground, font, and underline attributes.
protected  HighlightStyle AbstractBrowseClickPlugin.getHighlightStyleFor(int actionType)
          Fetch the HighlightStyle which should be used for highlighting the a given region for the specified action type.
 

Uses of HighlightStyle in oracle.javatools.editor
 

Methods in oracle.javatools.editor with parameters of type HighlightStyle
protected  void BasicView.paintRow(java.awt.Graphics graphics, java.awt.Rectangle clipRect, int row, oracle.javatools.editor.BasicView.RenderFragmentGenerator generator, HighlightStyle sentinelStyle)
          Paints the specified line of the view with the given styles and highlights.
static void FileOverviewMargin.setMarkColor(java.lang.String category, HighlightStyle highlightStyle)
           
static void FileOverviewMargin.setMarkColor(java.lang.String category, int priority, HighlightStyle highlightStyle)
           
 void EditorSelection.updateSelectionHighlight(HighlightLayer layer, HighlightStyle caretStyle)
          Update the Editors selection highlight layer in response to a possible change in selection
 void EditorSelectionWrap.updateSelectionHighlight(HighlightLayer layer, HighlightStyle caretStyle)
           
 void EditorSelectionColumns.updateSelectionHighlight(HighlightLayer layer, HighlightStyle caretStyle)
           
 

Uses of HighlightStyle in oracle.javatools.editor.gutter
 

Methods in oracle.javatools.editor.gutter that return HighlightStyle
 HighlightStyle GutterMark.getHighlightStyle()
          Fetches the HighlightStyle associated with this GutterMark when it was created.
 HighlightStyle LineGutterPlugin.Column.Mark.getHighlightStyle()
          Fetches the HighlightStyle associated with this GutterMark when it was created.
 

Methods in oracle.javatools.editor.gutter with parameters of type HighlightStyle
 GutterMark LineGutterPlugin.Column.addGutterMark(int line, javax.swing.Icon icon, HighlightStyle highlightStyle, int markOrder, int markOptions)
          Adds a new GutterMark to this column for the given line.
 GutterMark GutterColumn.addGutterMark(int line, javax.swing.Icon icon, HighlightStyle highlightStyle, int markOrder, int markOptions)
          Adds a new GutterMark to this column for the given line.
 

Constructors in oracle.javatools.editor.gutter with parameters of type HighlightStyle
LineGutterPlugin.Column.Mark(int line, int lineStart, javax.swing.Icon icon, HighlightStyle highlightStyle, int markOrder, int markOptions)
          Constructs a new Mark.
 

Uses of HighlightStyle in oracle.javatools.editor.highlight
 

Fields in oracle.javatools.editor.highlight declared as HighlightStyle
 HighlightStyle HighlightFragment.backgroundStyle
          The highlight style for the background attribute.
 HighlightStyle HighlightFragment.fontStyle
          The highlight style for the font attribute.
 HighlightStyle HighlightFragment.foregroundStyle
          The highlight style for the foreground attribute.
protected  HighlightStyle HighlightedText.highlightStyle
          The highlight style to use for rendering this fragment.
 HighlightStyle HighlightFragment.underlineStyle
          The highlight style for the underline attribute.
 

Methods in oracle.javatools.editor.highlight that return HighlightStyle
 HighlightStyle HighlightRegistry.createStyle(java.lang.String styleName, java.lang.String presentationName, boolean enabled, int priority, java.awt.Color fgColor, java.awt.Color bgColor)
          Create a new HighlightStyle with the given name and highlight attributes.
 HighlightStyle HighlightRegistry.createStyle(java.lang.String styleName, java.lang.String presentationName, boolean enabled, int priority, java.awt.Color fgColor, java.awt.Color bgColor, int fontStyle, int underlinePredefinedPainter, java.awt.Color underlineColor)
          Create a new HighlightStyle with the given name and highlight attributes.
 HighlightStyle HighlightRegistry.createStyle(java.lang.String styleName, java.lang.String presentationName, boolean enabled, int priority, int fontStyle)
          Create a new HighlightStyle with the given name and highlight attributes.
 HighlightStyle HighlightRegistry.createStyle(java.lang.String styleName, java.lang.String presentationName, boolean enabled, int priority, int underlinePredefinedPainter, java.awt.Color underlineColor)
          Create a new HighlightStyle with the given name and highlight attributes.
 HighlightStyle HighlightRegistry.createStyle(java.lang.String styleName, java.lang.String presentationName, int priority, java.awt.Color fgColor, java.awt.Color bgColor)
          Create a new HighlightStyle with the given name and highlight attributes with a default enabled status of true.
 HighlightStyle HighlightRegistry.createTransientStyle(java.lang.String styleName, boolean enabled, int priority, java.awt.Color fgColor, java.awt.Color bgColor, int fontStyle, int underlinePredefinedPainter, java.awt.Color underlineColor)
          Create a new transient HighlightStyle with the given name and highlight attributes.
 HighlightStyle HighlightedText.getHighlightStyle()
          Fetches the highlight style used for this region of highlight.
 HighlightStyle HighlightFragmentsList.getSentinelBackground()
          Fetch the final sentinel background style if any.
 HighlightStyle HighlightFragmentsList.getSentinelUnderline()
          Fetch the final sentinel underline style if any.
 HighlightStyle HighlightRegistry.lookupStyle(java.lang.String styleName)
          Fetches the style with the given name.
 

Methods in oracle.javatools.editor.highlight that return types with arguments of type HighlightStyle
 java.util.Iterator<HighlightStyle> HighlightRegistry.getStyleIterator()
          Fetch an Iterator for all of the styles within this registry.
 

Methods in oracle.javatools.editor.highlight with parameters of type HighlightStyle
 void HighlightFragmentsList.add(HighlightStyle highlightStyle, int startOffset, int endOffset)
          Adds the given fragment to the list, accounting for priority and offsets so that the list is always sorted in increasing offsets with higher priority highlights displacing lower priority ones.
 HighlightedText HighlightLayer.addHighlight(HighlightStyle style, int startOffset, boolean startOffsetBias, int endOffset, boolean endOffsetBias)
          Adds a highlight to the editor pane using the specified style and offsets.
 HighlightedText HighlightLayer.addHighlight(HighlightStyle style, int startOffset, int endOffset)
          Adds a highlight to the editor pane using the specified style and offsets.
 HighlightedText HighlightLayer.addLineHighlight(HighlightStyle style, int line)
          Adds a highlight to the editor pane using the specified style and offsets.
 void HighlightFragmentsList.addSentinel(HighlightStyle highlightStyle)
          Adds a final sentinel fragment for background attribute.
 void HighlightLayer.changeHighlight(HighlightedText highlightedText, HighlightStyle newHighlightStyle)
          Changes the highlight style of the previously created highlighted region of text.
 void HighlightLayer.changeHighlight(HighlightedText highlightedText, HighlightStyle newHighlightStyle, int newStartOffset, int newEndOffset)
          Moves the highlight region to a new set of offsets in the editor, and changes the highlight style used.
 void HighlightLayer.changeLineHighlight(HighlightedText highlightedLine, HighlightStyle newHighlightStyle, int newLine)
          Moves the highlighted line to the new line in the editor, and sets a new highlight to use.
 

Constructors in oracle.javatools.editor.highlight with parameters of type HighlightStyle
HighlightedLine(HighlightStyle highlightStyle, OffsetMark startMark, OffsetMark endMark)
          Constructs a new HighlightedLine object.
HighlightedText(HighlightStyle highlightStyle, OffsetMark startMark, OffsetMark endMark)
          Constructs a new HighlightedText object
 

Uses of HighlightStyle in oracle.javatools.editor.plugins
 

Methods in oracle.javatools.editor.plugins that return HighlightStyle
protected abstract  HighlightStyle AbstractClickPlugin.getHighlightStyleFor(int actionType)
          Fetch the HighlightStyle which should be used for highlighting the a given region for the specified action type.
 


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

E13403-04

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