Class CompDoubleClickHandler

  extended by 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.

Constructor Summary
Method Summary
static void handleDoubleClick(ClackDocument doc, ClackComponent comp)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public CompDoubleClickHandler()
Method Detail


public static void handleDoubleClick(ClackDocument doc,
                                     ClackComponent comp)