Interface DoubleClickHandler

  • All Known Implementing Classes:
    InPlaceEditHandler, OpenBindingHandler, OpenEventScriptingHandler

    public interface DoubleClickHandler
    A double click handler can be added on a BeanInfo, and will be called when an instance of that bean is double-clicked in the designer. You may implement one, and add it like this in the DefaultBeanInfo.initDesc() function:

     descriptor.setValue(CommonBeanInfo.DOUBLE_CLICK_HANDLER, new MyDblClickHandler());
     
    • Method Detail

      • onDoubleClick

        void onDoubleClick​(javax.swing.JComponent component,
                           WindowWorkspace workspace)