Extension SDK 10.1.2

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

Packages that use HighlightStyle
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 colored background highlights to regions of text in an editor pane. 
oracle.jdeveloper.ceditor The Code Editor package contains the code editing implementation of the JDeveloper IDE. 
 

Uses of HighlightStyle in oracle.javatools.editor
 

Methods in oracle.javatools.editor with parameters of type HighlightStyle
protected  int BasicView.paintSegment(java.awt.Graphics graphics, TextBuffer textBuffer, java.awt.Rectangle viewRect, java.awt.Rectangle clipRect, BaseStyle textStyle, HighlightStyle highlightStyle, int startOffset, int endOffset, int x, int y)
          Paints a small segment text indicated by the start and end offsets.
 

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.
 

Methods in oracle.javatools.editor.gutter with parameters of type HighlightStyle
 GutterMark LineGutterPlugin.addGutterMark(java.lang.String columnName, int line, javax.swing.Icon icon, HighlightStyle highlightStyle, GutterTrackingListener listener)
          Adds a new GutterMark to the specified column for the specified line.
 GutterMark Gutter.addGutterMark(java.lang.String columnName, int line, javax.swing.Icon icon, HighlightStyle highlightStyle, GutterTrackingListener listener)
          Adds a new GutterMark to the specified column for the specified line.
 

Uses of HighlightStyle in oracle.javatools.editor.highlight
 

Fields in oracle.javatools.editor.highlight declared as HighlightStyle
 HighlightStyle HighlightedFragment.highlightStyle
          The highlight style to use for rendering this fragment.
protected  HighlightStyle HighlightedText.highlightStyle
          The highlight style to use for rendering this fragment.
 

Methods in oracle.javatools.editor.highlight that return HighlightStyle
 HighlightStyle HighlightedFragmentsList.getSentinel()
          Fetch the final sentinel style if any.
 HighlightStyle HighlightedText.getHighlightStyle()
          Fetches the highlight style used for this region of highlight.
 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.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.lookupStyle(java.lang.String styleName)
          Fetches the style with the given name.
 

Methods in oracle.javatools.editor.highlight with parameters of type HighlightStyle
 void HighlightedFragmentsList.addSentinel(HighlightStyle highlightStyle)
          Adds a final sentinel fragment.
 void HighlightedFragmentsList.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, 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 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.
 

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

Uses of HighlightStyle in oracle.jdeveloper.ceditor
 

Methods in oracle.jdeveloper.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 that is registered with the code editor - this ensures the it is available for editing in the editor options panels.
 


Extension SDK

 

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