Interface IJCWidgetCookie

  • All Superinterfaces:
    org.openide.nodes.Node.Cookie

    public interface IJCWidgetCookie
    extends org.openide.nodes.Node.Cookie
    This cookie is used for identification of selected widget in view (grid/form) and manipulation with the data and state (navigation, sorting, add/remove rows and columns, etc.)

    Use utilities methods to compute common DFResultSet.VertexState or union of DFFields for all selected IJCWidgets. The utility methods are available in IJCCoreUtils.

    • Method Detail

      • getWidget

        IJCWidget getWidget()
        Return the widget represented by this cookie.

        This value is immutable and can't change during IJCWidgetCookie lifetime. When selected widget is changed, new activated node is set (and so new cookie is provided).

        Returns:
        the widget; never null