Interface BindingParameter.BrowseHelper

Enclosing interface:
BindingParameter<T>

public static interface BindingParameter.BrowseHelper
Contains the functions needed for a binding parameter's editor to display a popup-tree so that the user can browse for the possible values for this parameter
  • Method Details

    • getTreeModel

      TreeModel getTreeModel()
      The tree model for the popup tree
    • convertElementToString

      String convertElementToString(TreePath path)
      Convert a tree path to a string that is applicable for this property.
      Parameters:
      path - the tree path to convert.
      Returns:
      the string representation.
    • isValidSelection

      boolean isValidSelection(TreePath path)
      Determines whether a given tree path is suitable for selection.
      Parameters:
      path - the tree path to check.
      Returns:
      true if it is a valid selection.
    • setupTree

      void setupTree(JTree tree)
      Provides a chance to set up the jtree to your liking