|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContent
This interface defines the text box content operations.
| Method Summary | |
|---|---|
void |
accept(ILineVisitor visitor,
int y)
Visit a line of text. |
void |
backspace()
Handle a backspace event. |
void |
clear()
Reset the content. |
void |
click(int x,
int y)
Handle a click event at a given location. |
void |
copy(java.io.OutputStream stream)
Copy the current selected text. |
void |
cut(java.io.OutputStream stream)
Cut the current selected text. |
void |
drag(int x,
int y)
Handle a drag event to a given location. |
void |
enter()
Handle an enter event. |
void |
paste(java.io.InputStream stream)
Paste the given text. |
void |
redo()
Redo the last undo. |
void |
register(IView view)
Register a view for events notification. |
void |
type(int keyCode)
Handle a character typing. |
void |
undo()
Undo the last action. |
| Methods inherited from interface palmed.io.ISerializable |
|---|
marshall, unmarshall |
| Method Detail |
|---|
void type(int keyCode)
keyCode - the value of the key enteredvoid enter()
void backspace()
void drag(int x,
int y)
x - destination columny - destination line
void click(int x,
int y)
x - location columny - location line
void accept(ILineVisitor visitor,
int y)
visitor - the visitory - the line numbervoid register(IView view)
view - the view to registervoid clear()
void copy(java.io.OutputStream stream)
throws java.io.IOException
stream - the stream to write to
java.io.IOException - an io exception occurs
void cut(java.io.OutputStream stream)
throws java.io.IOException
stream - the stream to write to
java.io.IOException - an io exception occurs
void paste(java.io.InputStream stream)
throws java.io.IOException
stream - the stream to read from
java.io.IOException - an io exception occursvoid undo()
void redo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||