|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Action | |
| org.bs.mdi | |
| org.bs.mdi.swing | |
| Uses of Action in org.bs.mdi |
| Subclasses of Action in org.bs.mdi | |
class |
CompositeAction
A CompositeAction object consists of one or more single Action objects, and can be handled
like a single Action object. |
| Methods in org.bs.mdi that return Action | |
Action |
UndoManager.getLastAction()
Returns the last action which has been applied. |
Action |
UndoManager.getLastUndoneAction()
Returns the last action which has been undone. |
Action |
UndoManager.undo()
Performs an undo operation. |
Action |
UndoManager.redo()
Performs a redo operation. |
protected Action |
Data.coalesceAction(Action a)
Glues similar consecutive Actions together. |
Action |
View.copy()
Perform a "copy to clipboard" operation. |
Action |
View.cut()
Perform a "cut to clipboard" operation. |
Action |
Document.undo()
Convenience function for calling getUndoManager().undo(); |
Action |
Document.redo()
Convenience function for calling getUndoManager().redo(); |
Action |
CompositeAction.getFirstAction()
Returns the first action of this CompositeAction. |
Action |
CompositeAction.getLastAction()
Returns the last action of this CompositeAction |
Action |
ClipboardManager.getContent()
Gets the content of the clipboard. |
protected Action |
ClipboardManager.toAction(Transferable transferable)
|
Action |
ActionConverter.toAction(Transferable transferable)
Converts a Transferable to an Action. |
| Methods in org.bs.mdi with parameters of type Action | |
void |
UndoManager.add(Action action,
Data data)
Tells the UndoManager that an action has occurred. |
void |
Data.notifyObservers(Action action,
boolean undo)
|
void |
Data.actionPerformed(ActionObservable observable,
Action action)
|
void |
Data.actionUndone(ActionObservable observable,
Action action)
|
void |
Data.applyAction(Action action)
|
void |
Data.undoAction(Action action)
|
protected Action |
Data.coalesceAction(Action a)
Glues similar consecutive Actions together. |
void |
ActionObserver.actionPerformed(ActionObservable source,
Action action)
Called from the ActionObservable when an action has been performed or redone. |
void |
ActionObserver.actionUndone(ActionObservable source,
Action action)
Called from the ActionObservable when an action has been undone. |
void |
ActionObservable.notifyObservers(Action action,
boolean undo)
Notifies the observers about an action which has been recently performed. |
void |
ActionProcessor.applyAction(Action action)
Applies an action or perform a redo. |
void |
ActionProcessor.undoAction(Action action)
Perform an undo. |
void |
View.paste(Action action)
Perform a "paste from clipboard" operation. |
void |
CompositeAction.add(Action action)
Add an action to this CompositeAction. |
void |
CompositeAction.remove(Action action)
Remove the given action from this CompositeAction. |
boolean |
CompositeAction.clustersWith(Action a)
|
void |
ClipboardManager.setContent(Action content)
Sets the content of the clipboard. |
protected Transferable |
ClipboardManager.toTransferable(Action action)
|
boolean |
ActionConverter.canHandle(Action action)
Indicates that this ActionConverter can convert the given Action. |
Transferable |
ActionConverter.toTransferable(Action action)
Converts an Action to a Transferable. |
boolean |
Action.clustersWith(Action action)
Returns true if this action should be clustered together with the action given as the parameter. |
| Uses of Action in org.bs.mdi.swing |
| Methods in org.bs.mdi.swing that return Action | |
abstract Action |
SwingRootView.copy()
|
abstract Action |
SwingRootView.cut()
|
abstract Action |
SwingView.copy()
|
abstract Action |
SwingView.cut()
|
| Methods in org.bs.mdi.swing with parameters of type Action | |
abstract void |
SwingRootView.paste(Action action)
|
void |
SwingRootView.notifyObservers(Action action,
boolean undo)
|
void |
SwingRootView.actionPerformed(ActionObservable observable,
Action action)
|
void |
SwingRootView.actionUndone(ActionObservable observable,
Action action)
|
void |
SwingRootView.applyAction(Action action)
|
void |
SwingRootView.undoAction(Action action)
|
abstract void |
SwingView.paste(Action action)
|
void |
SwingView.notifyObservers(Action action,
boolean undo)
|
void |
SwingView.actionPerformed(ActionObservable observable,
Action action)
|
void |
SwingView.actionUndone(ActionObservable observable,
Action action)
|
void |
SwingView.applyAction(Action action)
|
void |
SwingView.undoAction(Action action)
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||