API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. AbstractDocument.Content View Source
Author(s)
Since
Version
Serial
Hierarchy
 AbstractDocument.Content
Subinterfaces
Description
publicstatic interface AbstractDocument.Content
  Interface to describe a sequence of character content that can be edited.
See also:    AbstractDocument
Methods
Hide/Show inherited methods
public Position createPosition (int offset) throws BadLocationException
  Creates a position within the content that will track change as the content is mutated.
public void getChars (int where, int len, Segment txt) throws BadLocationException
  Gets a sequence of characters and copies them into a Segment.
public String getString (int where, int len) throws BadLocationException
  Fetches a string of characters contained in the sequence.
public UndoableEdit insertString (int where, String str) throws BadLocationException
  Inserts a string of characters into the sequence.
public int length ()
  Current length of the sequence of character content.
public UndoableEdit remove (int where, int nitems) throws BadLocationException
  Removes some portion of the sequence.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar