Class RDocument

All Implemented Interfaces:
Serializable, Document
Direct Known Subclasses:
RSyntaxDocument

public class RDocument extends PlainDocument
The document implementation used by instances of RTextArea.
Version:
1.0
See Also:
  • Constructor Details

    • RDocument

      public RDocument()
      Constructor.
  • Method Details

    • charAt

      public char charAt(int offset) throws BadLocationException
      Returns the character in the document at the specified offset.
      Parameters:
      offset - The offset of the character.
      Returns:
      The character.
      Throws:
      BadLocationException - If the offset is invalid.