Class RDocument.RGapContent

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.text.AbstractDocument.Content
    Enclosing class:
    RDocument

    private static class RDocument.RGapContent
    extends javax.swing.text.GapContent
    Document content that provides fast access to individual characters.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RGapContent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char charAt​(int offset)  
      protected java.lang.Object getArray()  
      protected int getGapEnd()  
      protected int getGapStart()  
      protected void replace​(int arg0, int arg1, java.lang.Object arg2, int arg3)  
      • Methods inherited from class javax.swing.text.GapContent

        allocateArray, createPosition, getArrayLength, getChars, getPositionsInRange, getString, insertString, length, remove, resetMarksAtZero, shiftEnd, shiftGap, shiftGapEndUp, shiftGapStartDown, updateUndoPositions
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RGapContent

        private RGapContent()
    • Method Detail

      • charAt

        public char charAt​(int offset)
                    throws javax.swing.text.BadLocationException
        Throws:
        javax.swing.text.BadLocationException
      • getArray

        protected final java.lang.Object getArray()
      • getGapStart

        protected final int getGapStart()
      • getGapEnd

        protected final int getGapEnd()
      • replace

        protected void replace​(int arg0,
                               int arg1,
                               java.lang.Object arg2,
                               int arg3)