KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > GapContent

javax.swing.text
Class GapContent

java.lang.Object
  extended by javax.swing.text.GapContent
All Implemented Interfaces:
Serializable, AbstractDocument.Content
See Also:
Source Code

protected Object allocateArray(int len)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Position createPosition(int offset)
                        throws BadLocationException
See Also:
AbstractDocument.Content
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public GapContent()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public GapContent(int initialLength)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final Object getArray()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getArrayLength()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void getChars(int where,
                     int len,
                     Segment chars)
              throws BadLocationException
See Also:
AbstractDocument.Content
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final int getGapEnd()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final int getGapStart()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Vector getPositionsInRange(Vector v,
                                     int offset,
                                     int length)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getString(int where,
                        int len)
                 throws BadLocationException
See Also:
AbstractDocument.Content
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public UndoableEdit insertString(int where,
                                 String str)
                          throws BadLocationException
See Also:
AbstractDocument.Content
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int length()
See Also:
AbstractDocument.Content
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public UndoableEdit remove(int where,
                           int nitems)
                    throws BadLocationException
See Also:
AbstractDocument.Content
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void replace(int position,
                       int rmSize,
                       Object addItems,
                       int addSize)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void resetMarksAtZero()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void shiftEnd(int newSize)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void shiftGap(int newGapStart)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void shiftGapEndUp(int newGapEnd)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void shiftGapStartDown(int newGapStart)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateUndoPositions(Vector positions,
                                   int offset,
                                   int length)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags