Package org.jboss.as.cli.gui
Class SelectPreviousOpMouseAdapter
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- org.jboss.as.cli.gui.SelectPreviousOpMouseAdapter
-
- All Implemented Interfaces:
ClipboardOwner
,MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
public class SelectPreviousOpMouseAdapter extends MouseAdapter implements ClipboardOwner
This MouseAdapter lets you double-click in the Output tab to select a previously-run command. It then copies the command to the command line and the system clipboard.- Author:
- Stan Silvert [email protected] (C) 2012 Red Hat Inc.
-
-
Constructor Summary
Constructors Constructor Description SelectPreviousOpMouseAdapter(CliGuiContext cliGuiCtx, DoOperationActionListener opListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lostOwnership(Clipboard clpbrd, Transferable t)
void
mouseClicked(MouseEvent me)
-
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
-
-
-
-
Constructor Detail
-
SelectPreviousOpMouseAdapter
public SelectPreviousOpMouseAdapter(CliGuiContext cliGuiCtx, DoOperationActionListener opListener)
-
-
Method Detail
-
mouseClicked
public void mouseClicked(MouseEvent me)
- Specified by:
mouseClicked
in interfaceMouseListener
- Overrides:
mouseClicked
in classMouseAdapter
-
lostOwnership
public void lostOwnership(Clipboard clpbrd, Transferable t)
- Specified by:
lostOwnership
in interfaceClipboardOwner
-
-