public abstract static class AbstractListeners.SingleArgumentListener extends AbstractListeners.ListenerWithLanguage
language
Constructor and Description |
---|
SingleArgumentListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleUnknown(GraphDrawer drawer,
MouseEvent event,
java.lang.Object object) |
protected void |
handleValue(GraphDrawer drawer,
MouseEvent event,
Value value) |
protected void |
handleVariable(GraphDrawer drawer,
MouseEvent event,
Variable variable) |
void |
mouseEvent(GraphDrawer drawer,
java.util.List<Node> nodesUnderMouse,
MouseEvent event) |
protected abstract boolean |
shouldHandle(MouseEvent event) |
public void mouseEvent(GraphDrawer drawer, java.util.List<Node> nodesUnderMouse, MouseEvent event)
protected abstract boolean shouldHandle(MouseEvent event)
protected void handleValue(GraphDrawer drawer, MouseEvent event, Value value)
protected void handleVariable(GraphDrawer drawer, MouseEvent event, Variable variable)
protected void handleUnknown(GraphDrawer drawer, MouseEvent event, java.lang.Object object)