|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScriptAdapter
Created by IntelliJ IDEA. User: Wayne_Hearn Date: Sep 15, 2003 Time: 2:42:01 PM To change this template use Options | File Templates.
Method Summary | |
---|---|
void |
append(java.lang.String text)
Appends the given text to the end of the model. |
java.lang.String |
getText()
Returns the text contained in the model If the underlying model is null, will give a NullPointerException. |
void |
insert(java.lang.String text,
int position)
Inserts the specified text at the specified position |
void |
replace(java.lang.String string,
int start,
int end)
Replaces text from the indicated start to end position with the new text specified |
void |
setText(java.lang.String text)
Sets the text of this TextComponent to the specified text. |
Method Detail |
---|
void append(java.lang.String text)
text
- - the text to appendvoid insert(java.lang.String text, int position)
text
- - the text to insertposition
- - starting position >= 0java.lang.String getText()
void setText(java.lang.String text)
text
- - the text to be setvoid replace(java.lang.String string, int start, int end) throws java.lang.IllegalArgumentException
string
- the text to use as the replacementstart
- - the start position >= 0end
- - the end position >= start
java.lang.IllegalArgumentException
- - if part of the range is an invalid position in the model
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |