|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextBox
This interface defines a text box.
Method Summary | |
---|---|
void |
clear()
Clear the text box. |
void |
copy(java.io.OutputStream stream)
Copy the current selected text. |
void |
cut(java.io.OutputStream stream)
Cut the current selected text. |
void |
delete()
Delete any resource associated to the current content. |
boolean |
hasBeenModified()
Test the modification flag. |
void |
paste(java.io.InputStream stream)
Paste the given text. |
void |
read(java.io.InputStream stream)
Reset the text box and read text from a stream. |
void |
redo()
Redo the last undo. |
void |
setFont(java.lang.String name)
Change the font. |
void |
setLineSeparator(java.lang.String separator)
Change the line separator. |
void |
undo()
Undo the last action. |
void |
write(java.io.OutputStream stream)
Write text to a stream. |
Methods inherited from interface palmed.io.ISerializable |
---|
marshall, unmarshall |
Method Detail |
---|
void read(java.io.InputStream stream) throws java.io.IOException
stream
- the stream to read from
java.io.IOException
- an io exception occursvoid write(java.io.OutputStream stream) throws java.io.IOException
stream
- the stream to write to
java.io.IOException
- an io exception occursboolean hasBeenModified()
void clear()
void copy(java.io.OutputStream stream) throws java.io.IOException
stream
- the stream to write to
java.io.IOException
- an io exception occursvoid cut(java.io.OutputStream stream) throws java.io.IOException
stream
- the stream to write to
java.io.IOException
- an io exception occursvoid paste(java.io.InputStream stream) throws java.io.IOException
stream
- the stream to read from
java.io.IOException
- an io exception occursvoid delete()
void undo()
void redo()
void setLineSeparator(java.lang.String separator)
To reset to the default mode preserving file format use null.
separator
- a string value or null to resetvoid setFont(java.lang.String name)
name
- the font resource name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |