Extension SDK 10.1.2

Uses of Interface
oracle.javatools.buffer.TextBuffer

Packages that use TextBuffer
oracle.ide.cmd.buffer Contains command class implementations and static utility methods that can be used by Addins to modify the contents of a text-based IDE document in an undoable manner. 
oracle.ide.model Contains interfaces and classes implementing JDeveloper's data model. 
oracle.ide.util Contains utility classes. 
oracle.javatools.buffer The TextBuffer package assists in the manipulation of in-memory text content, whether it is read-only text, or read-write text. 
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.insight The Code Insight package is a subset of the Editor package, and is the starting base for a code insight implementation to provide the user with code assistance features. 
oracle.javatools.editor.language The Language package is a subset of the Editor package, and is the framework for extending the editor with color syntax highlighting, brace matching, and other language or content-specific editing features. 
oracle.jdeveloper.model Contains interfaces and classes implementing the Java specific portions of JDeveloper's data model. 
 

Uses of TextBuffer in oracle.ide.cmd.buffer
 

Methods in oracle.ide.cmd.buffer with parameters of type TextBuffer
 void Edit.applyEdit(TextBuffer textBuffer)
          Applies the edits the first time through in proper sequence.
 

Uses of TextBuffer in oracle.ide.model
 

Methods in oracle.ide.model that return TextBuffer
 TextBuffer TextDocument.acquireTextBuffer()
          Requests the data from the Document in the format of a TextBuffer instance so that it can be used by the code editor.
 TextBuffer TextNode.acquireTextBuffer()
          Requests the data from the Document in the format of a TextBuffer instance so that it can be used by the code editor.
protected  TextBuffer TextNode.getTextBufferDirectly()
          Directly gets the TextBuffer.
protected  TextBuffer TextNode.getTextBufferDirectly(boolean force)
          Directly gets the TextBuffer.
 

Methods in oracle.ide.model with parameters of type TextBuffer
protected  void TextNode.setDefaultLineTerminator(TextBuffer textBuffer)
          Sets up the default line terminator to use for the text buffer.
protected  void TextNode.setTextBufferDirectly(TextBuffer textBuffer)
          Direclty sets the TextBuffer.
 

Uses of TextBuffer in oracle.ide.util
 

Methods in oracle.ide.util with parameters of type TextBuffer
static java.io.InputStream TextBufferStreamFactory.getInputStream(TextBuffer textBuffer)
          Create an InputStream object used for reading the data from a text buffer as an InputStream.
static java.io.InputStream TextBufferStreamFactory.getInputStream(TextBuffer textBuffer, java.lang.String encoding)
          Create an InputStream object used for reading the data from a text buffer as an InputStream.
static java.io.OutputStream TextBufferStreamFactory.getOutputStream(TextBuffer textBuffer)
          Deprecated. Use oracle.javatools.buffer.TextBufferFactory.createReader instead.
 

Uses of TextBuffer in oracle.javatools.buffer
 

Methods in oracle.javatools.buffer that return TextBuffer
 TextBuffer LineMap.getTextBuffer()
          Fetches the underlying TextBuffer of this line map.
static TextBuffer TextBufferFactory.createTextBuffer()
          Creates a new empty instance of the TextBuffer using a default implementation.
static TextBuffer TextBufferFactory.createArrayTextBuffer()
          Creates a new empty instance of the TextBuffer using a flat array implementation.
static TextBuffer TextBufferFactory.createGapTextBuffer()
          Creates a new empty instance of the TextBuffer using a gap buffer implementation.
static TextBuffer TextBufferFactory.createReadOnlyTextBufferWrapper(TextBuffer textBuffer)
          Creates a read-only wrapper that implements the TextBuffer interface around the specified interface.
 

Methods in oracle.javatools.buffer with parameters of type TextBuffer
static TextBuffer TextBufferFactory.createReadOnlyTextBufferWrapper(TextBuffer textBuffer)
          Creates a read-only wrapper that implements the TextBuffer interface around the specified interface.
 

Uses of TextBuffer in oracle.javatools.editor
 

Methods in oracle.javatools.editor that return TextBuffer
 TextBuffer BasicDocument.getTextBuffer()
          Fetches the underlying Content of this document.
 

Methods in oracle.javatools.editor with parameters of type TextBuffer
static int Utilities.getTextWidth(TextBuffer textBuffer, int startOffset, int endOffset, int tabSize, int startColumn)
          Fetches the width of the given range of text in the text buffer in columns (not pixels.) This will take into account any tabs in the text and what the specified tab size is.
static int Utilities.getColumnFromOffset(TextBuffer textBuffer, int offset, int tabSize)
          Fetches the column (0-based) of the given offset in the buffer based on a certain tab size.
static int Utilities.getColumnFromOffset(TextBuffer textBuffer, int line, int offset, int tabSize)
          Fetches the column (0-based) of the given offset in the buffer based on a certain tab size.
static int Utilities.getOffsetFromColumn(TextBuffer textBuffer, int line, int column, int tabSize)
          Fetches the offset corresponding to a given line and column (both 0-based) and given tab size.
protected  void BasicView.paintUnderlines(java.awt.Graphics graphics, java.awt.Rectangle viewRect, java.awt.Rectangle clipRect, TextBuffer textBuffer, StyledFragmentsList styledList, int startLine, int endLine)
          Paints the underlines in the editor view.
protected  int BasicView.paintLine(java.awt.Graphics graphics, TextBuffer textBuffer, java.awt.Rectangle viewRect, java.awt.Rectangle clipRect, int line, StyledFragmentsList styledList, int styledIndex, HighlightedFragmentsList highlightedList)
          Paints the specified line of the view with the given styles and highlights.
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.
static int BasicAction.skipLeadingIndent(TextBuffer textBuffer, int lineStart, int lineEnd)
          Utility routine to find the offset of the first character after the leading indent (if any), or -1 for an empty line or line containing only whitespace.
 

Constructors in oracle.javatools.editor with parameters of type TextBuffer
BasicDocument(java.lang.String fileName, TextBuffer buffer)
          Creates a plain text document using the buffer provider specified.
BasicDocument(TextBuffer buffer)
          Create a new BasicDocument using the provided buffer.
 

Uses of TextBuffer in oracle.javatools.editor.insight
 

Methods in oracle.javatools.editor.insight that return TextBuffer
 TextBuffer AbstractInsight.getTextBuffer()
          Utility routine to fetch the text buffer associated with the particular editor pane.
 

Uses of TextBuffer in oracle.javatools.editor.language
 

Fields in oracle.javatools.editor.language declared as TextBuffer
protected  TextBuffer GenericBraceProvider.textBuffer
          The TextBuffer instance used by this GenericBraceProvider.
protected  TextBuffer LexerBlockRenderer.textBuffer
          The text buffer that we are rendering.
 

Methods in oracle.javatools.editor.language that return TextBuffer
protected  TextBuffer SmartIndentProvider.getTextBuffer()
          Private utility routine to fetch the text buffer for the document.
 TextBuffer LexerBlockRenderer.getTextBuffer()
          Fetches the text buffer that this block renderer is rendering.
 TextBuffer AbstractDocumentRenderer.getTextBuffer()
          Convenience method for fetching the text buffer associated with this provider.
 

Constructors in oracle.javatools.editor.language with parameters of type TextBuffer
LexerBlockRenderer(TextBuffer textBuffer)
          Constructs a new block renderer for the specified document.
 

Uses of TextBuffer in oracle.jdeveloper.model
 

Methods in oracle.jdeveloper.model that return TextBuffer
 TextBuffer JavaClassNode.acquireTextBuffer()
           
 


Extension SDK

 

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