|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
mvp.Model
caltool.edit.Edit
public class Edit
Class Edit is the model class for the Calendar Tool edit handling. It contains methods for all of the operations defined on the Edit menu, which constitute the functional command group for basic editing.
Field Summary |
---|
Fields inherited from class mvp.Model |
---|
view |
Constructor Summary | |
---|---|
Edit(mvp.View v)
Construct this. |
Method Summary | |
---|---|
void |
copy()
The currently selected text segment is copied into the clipboard; |
void |
cut()
The currently selected text segment is copied into the clipboard and removed from its context. |
void |
delete()
Delete the currently selected text. |
void |
find(java.lang.String text)
Find the given text string in all active windows. |
void |
paste()
Paste the contents of the clipboard into the currently selected start position, replacing any selected text from start to end position. |
void |
redo()
Redo the last undo. |
void |
repeat(CalendarToolOperation operation,
int repeatTimes)
Redo the given operation the given number of times. |
void |
selectAll()
Select all text in the current workspace window. |
void |
undo()
Undo the most recent scheduling operation. |
Methods inherited from class mvp.Model |
---|
dump, exit, getView, setView |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Edit(mvp.View v)
Method Detail |
---|
public void undo()
public void redo()
public void repeat(CalendarToolOperation operation, int repeatTimes)
public void cut()
public void copy()
public void paste()
public void delete()
public void selectAll()
public void find(java.lang.String text)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |