Home » openjdk-7 » javax » swing » text » [javadoc | source]
static class: GapContent.MarkVector [javadoc | source]

All Implemented Interfaces:

Field Summary
 MarkData[] oneMark     
 MarkVector(int size) 
Method from javax.swing.text.GapContent$MarkVector Summary:
addElement,   allocateArray,   elementAt,   getArrayLength,   insertElementAt,   replaceRange,   size
Methods from javax.swing.text.GapVector:
allocateArray,   close,   getArray,   getArrayLength,   getGapEnd,   getGapStart,   getNewArraySize,   open,   replace,   resize,   shiftEnd,   shiftGap,   shiftGapEndUp,   shiftGapStartDown
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.GapContent$MarkVector Detail:
 public  void addElement(MarkData m) 
    Add a mark to the end
 protected Object allocateArray(int len) 
    Allocate an array to store items of the type appropriate (which is determined by the subclass).
 public MarkData elementAt(int index) 
    Fetches the mark at the given index
 protected int getArrayLength() 
    Get the length of the allocated array
 public  void insertElementAt(MarkData m,
    int index) 
    Inserts a mark into the vector
 protected  void replaceRange(int start,
    int end,
    Object[] marks) 
    Replaces the elements in the specified range with the passed in objects. This will NOT adjust the gap. The passed in indices do not account for the gap, they are the same as would be used int elementAt.
 public int size() 
    Returns the number of marks currently held