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

Add search methods to TreeModel

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.0.1
    • Fix Version/s: None
    • Component/s: General
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: