Class RasmolCommandListener
java.lang.Object
java.awt.event.KeyAdapter
org.biojava.nbio.structure.align.gui.jmol.RasmolCommandListener
- All Implemented Interfaces:
ActionListener
,KeyListener
,MouseListener
,EventListener
a utility class that listens to Ramsol script commands in the @link
BiojavaJmol
class- Author:
- Andreas Prlic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent event) void
takes care of the cursor up/down keys.void
void
void
void
void
Methods inherited from class java.awt.event.KeyAdapter
keyPressed, keyTyped
-
Constructor Details
-
RasmolCommandListener
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
keyReleased
takes care of the cursor up/down keys. triggers copying of stored commands into the current textfield- Specified by:
keyReleased
in interfaceKeyListener
- Overrides:
keyReleased
in classKeyAdapter
-