|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lightdev.app.filemanager.ui.ActionDelegator
public class ActionDelegator
A class that tracks the focused component. This is necessary to delegate the menu cut/copy/paste commands to the right component. An instance of this class is listening and when the user fires one of these commands, it calls the appropriate action on the currently focused component.
| Constructor Summary | |
|---|---|
ActionDelegator()
create a new instance of class ActionDelegator |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
delegate an action to the current focus owner, given that this focus owner has this action in its action map, i.e. |
void |
propertyChange(PropertyChangeEvent e)
use the propertyChange event here to record the new focus owner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionDelegator()
| Method Detail |
|---|
public void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListenerpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||