net.clackrouter.gui.util
Class CompDoubleClickHandler
java.lang.Object
net.clackrouter.gui.util.CompDoubleClickHandler
public class CompDoubleClickHandler
- extends java.lang.Object
Handles when a user double-clicks on a component.
Takes the functionality of a double click on a component,
which is used in several places, and puts it in a single helper
class.
If the component is hierarchical, this "zooms in". If the graph is
simple, we pop-up the properties view in a new frame, otherwise we add
it to the properties view tab.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompDoubleClickHandler
public CompDoubleClickHandler()
handleDoubleClick
public static void handleDoubleClick(ClackDocument doc,
ClackComponent comp)