[
http://issues.apache.org/click/browse/CLK-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Hooper updated CLK-494:
---------------------------
Attachment: TreeNode.java
Added the String icon field to hold a location for an icon for the TreeNode.
> Per Node Icon for Tree
> ----------------------
>
> Key: CLK-494
> URL: http://issues.apache.org/click/browse/CLK-494
> Project: Click
> Issue Type: New Feature
> Components: extras
> Reporter: Tim Hooper
> Priority: Minor
> Attachments: Tree.java, TreeNode.java
>
>
> Add ability to the Tree to have a different icon per node. This way, a
> developer could change the icon for a node depending on their needs. An
> example where this would be useful is if you are using the tree to allow the
> user to build and publish a book. If a page in the book is not published you
> might want to have a custom graphic that reflects that the page is not
> published, which is different than the default graphic for a node. In this
> scenario, the default graphic would still be needed for published pages.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.