Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1109

Add search methods to TreeModel

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.0.1
    • General

      Would be great to see different methods for searching nodes in TreeModel. Like:

          /**
           * Searches for the first node that contains a specified object as its data.
           *
           * @param data the data to find its enclosing tree node
           * @return the first tree node that contains the specified data or {@code null} if there are no nodes that contain such data
           * @see org.zkoss.zul.TreeNode#getData() 
           */
          public TreeNode<E> find(E data);

      And other methods like this one, it's very handy to have such methods directly in the TreeModel.

            Unassigned Unassigned
            ctapobep ctapobep
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: