Methods Summary |
---|
public void | cut(int startIndex, int endIndex)Cuts the text between two indices into the system clipboard.
|
public void | delete(int startIndex, int endIndex)Deletes the text between two indices
|
public java.lang.String | getTextRange(int startIndex, int endIndex)Returns the text string between two indices.
|
public void | insertTextAtIndex(int index, java.lang.String s)Inserts the specified string at the given index/
|
public void | paste(int startIndex)Pastes the text from the system clipboard into the text
starting at the specified index.
|
public void | replaceText(int startIndex, int endIndex, java.lang.String s)Replaces the text between two indices with the specified
string.
|
public void | selectText(int startIndex, int endIndex)Selects the text between two indices.
|
public void | setAttributes(int startIndex, int endIndex, javax.swing.text.AttributeSet as)Sets attributes for the text between two indices.
|
public void | setTextContents(java.lang.String s)Sets the text contents to the specified string.
|