1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

mention findItemFromIdentifierString() in TreeView::getUniqueName() doc

This commit is contained in:
bill-auger 2019-01-06 19:25:45 -05:00
parent fd5f8e03dd
commit d86a672f7e

View file

@ -238,13 +238,14 @@ public:
/** Returns a string to uniquely identify this item.
If you're planning on using the TreeView::getOpennessState() method, then
these strings will be used to identify which nodes are open. The string
should be unique amongst the item's sibling items, but it's ok for there
to be duplicates at other levels of the tree.
If you're planning on using the TreeView::getOpennessState() or
TreeView::getItemIdentifierString() methods, then these strings will be used
to identify which nodes are open. The string should be unique amongst the item's
sibling items, but it's ok for there to be duplicates at other levels of the tree.
If you're not going to store the state, then it's ok not to bother implementing
this method.
If you're not going to store the openness state nor search for TreeViewItems with
the TreeView::findItemFromIdentifierString() method, then it's ok not to bother
implementing this method.
*/
virtual String getUniqueName() const;