KickJava   Java API By Example, From Geeks To Geeks.

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

javax.swing.text
Class StringContent

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

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 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 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  


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


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


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

Popular Tags