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 ssilvert@redhat.com (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 voidlostOwnership(Clipboard clpbrd, Transferable t)voidmouseClicked(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:
mouseClickedin interfaceMouseListener- Overrides:
mouseClickedin classMouseAdapter
-
lostOwnership
public void lostOwnership(Clipboard clpbrd, Transferable t)
- Specified by:
lostOwnershipin interfaceClipboardOwner
-
-