|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ugent.caagt.swirl.mouse.MouseTool
public class MouseTool
Wraps a list of mouse handlers for use with a MouseOverlay
.
Constructor Summary | |
---|---|
MouseTool()
Default constructor. |
Method Summary | |
---|---|
void |
addHandler(MouseHandler handler)
Add a handler to this tool. |
boolean |
canHandle(javax.swing.JComponent parent)
Returns true if and only if all handlers registered with this tool can handle the given component. |
java.util.Iterator<MouseHandler> |
iterator()
Return an iterator over the handlers of this tool. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MouseTool()
Method Detail |
---|
public void addHandler(MouseHandler handler)
Do not call this method while the tool is registered with some overlay.
public boolean canHandle(javax.swing.JComponent parent)
public java.util.Iterator<MouseHandler> iterator()
iterator
in interface java.lang.Iterable<MouseHandler>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |