Class ToolKeyAdapter
- java.lang.Object
-
- java.awt.event.KeyAdapter
-
- adams.gui.visualization.segmentation.tool.ToolKeyAdapter
-
- All Implemented Interfaces:
KeyListener,EventListener
public class ToolKeyAdapter extends KeyAdapter
KeyAdapterwith an owning tool. TheToolMouseAdapterin the tool must call theToolMouseAdapter.requestFocus()method, otherwise key input won't be recognized (due to not focused).- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description ToolKeyAdapter(Tool owner)Initializes the adapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ToolgetOwner()Returns the owning tool.-
Methods inherited from class java.awt.event.KeyAdapter
keyPressed, keyReleased, keyTyped
-
-