|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISelection
This interface defines the operations available on a text selection.
| Method Summary | |
|---|---|
void |
accept(ILineVisitor visitor,
int y)
Visit a line of text. |
void |
backward()
Extend selection one character backward. |
void |
clear()
Clear selection. |
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 selection. |
void |
extend(int x,
int y)
Extend selection up to the given point. |
void |
forward()
Extend selection one character forward. |
boolean |
isEmpty()
Test if the selection is empty. |
void |
paste(java.io.InputStream stream)
Paste the given text. |
void |
read(java.io.InputStream stream)
Replace the current selection with the text from the given stream. |
void |
register(ISelectionView view)
Register a view to receive insertion point notification changes. |
void |
reset()
Reset selection. |
void |
write(java.io.OutputStream stream)
Write the current selected text to the given stream. |
| Methods inherited from interface palmed.io.ISerializable |
|---|
marshall, unmarshall |
| Method Detail |
|---|
boolean isEmpty()
void forward()
void backward()
void extend(int x,
int y)
x - the destination columny - the destination linevoid clear()
void delete()
void accept(ILineVisitor visitor,
int y)
visitor - the visitory - the line numbervoid reset()
void register(ISelectionView view)
view - the view to register
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 occurs
void read(java.io.InputStream stream)
throws java.io.IOException
stream - the stream
java.io.IOException - an io exception occurs
void write(java.io.OutputStream stream)
throws java.io.IOException
stream - the stream
java.io.IOException - an io exception occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||