org.grinvin.gred.mouse
Class SplitEdges
NullMouseHandlerorg.grinvin.gred.mouse.SplitEdges
public class SplitEdges
extends NullMouseHandler
Mouse handler that splits an edege at the given position. Consumes
all first button click events on edges.
boolean canHandle
public @Override boolean canHandle(JComponent parent)
getHandler
public static SplitEdges getHandler()
Return the singleton object of this type.
void doMouseClicked
public @Override void doMouseClicked(JComponent parent,
MouseEvent mouseEvent) Splits the edge at the position clicked.