06-08-2008, 02:02 PM
This small demonstration for the TreeView demo was made to show how to expand nodes.
It is part of a reply to the sourceforge thread:
https://sourceforge.net/forum/forum.php?..._id=343013
It is only necessary to manipulate the group Visualization.FOCUS_ITEMS or any other group the <i>FisheyeTreeFilter</i> is configured to work on.
To expand a node on MouseOver you need to press the "shift" key.
Since this is only a short demo there is no function that minimizes nodes again and if your tree moves fast let go of the shift key since several MouseOver events might be reported, resulting in some realy wired flickering and panic-like focussing by prefuse.
You can add it like every other control listener:
[attachment=317]
Greetings,
Marcus
It is part of a reply to the sourceforge thread:
https://sourceforge.net/forum/forum.php?..._id=343013
It is only necessary to manipulate the group Visualization.FOCUS_ITEMS or any other group the <i>FisheyeTreeFilter</i> is configured to work on.
To expand a node on MouseOver you need to press the "shift" key.
Since this is only a short demo there is no function that minimizes nodes again and if your tree moves fast let go of the shift key since several MouseOver events might be reported, resulting in some realy wired flickering and panic-like focussing by prefuse.
You can add it like every other control listener:
Code:
addControlListener(new ExpandOnMouseOverControl("filter"));[attachment=317]
Greetings,
Marcus