Package mgui.interfaces.tools
Class ToolInputAdapter
java.lang.Object
mgui.interfaces.tools.ToolInputAdapter
- Direct Known Subclasses:
ToolGraphAdapter
,ToolInputMouseAdapter
public abstract class ToolInputAdapter
extends java.lang.Object
Abstract class providing a listener interface for all Tool input events.
- Author:
- Andrew Reid
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayList<ToolInputListener>
listeners
-
Constructor Summary
Constructors Constructor Description ToolInputAdapter()
-
Method Summary
Modifier and Type Method Description void
addListener(ToolInputListener thisListener)
void
fireToolEvent(ToolInputEvent e)
abstract ToolMouseAdapter
getMouseAdapter()
void
removeListener(ToolInputListener thisListener)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
listeners
-
-
Constructor Details
-
ToolInputAdapter
public ToolInputAdapter()
-
-
Method Details
-
fireToolEvent
-
addListener
-
removeListener
-
getMouseAdapter
-