}).event(PV.Event.MOUSEDOWN, new PVEventHandler() {
public void onEvent(Event e, String pvEventType, JsArgs args) {
// your code here
}
}
Lars
> --
> You received this message because you are subscribed to the Google Groups
> "Choosel" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/choosel/-/Sz75nGiYWBcJ.
> To post to this group, send email to cho...@googlegroups.com.
> To unsubscribe from this group, send email to
> choosel+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/choosel?hl=en.
--
Lars Grammel
PhD Candidate, The CHISEL Group, University of Victoria
http://larsgrammel.de
http://twitter.com/lgrammel
You can registering a PVEventHandler to handle MOUSEDOWN:}).event(PV.Event.MOUSEDOWN, new PVEventHandler() {
public void onEvent(Event e, String pvEventType, JsArgs args) {
// your code here
}
}Lars
On Thu, Apr 5, 2012 at 02:10, Nemanja Vukosavljevic <nema...@gmail.com> wrote:
> Hi to all!
>
> First I want to thank all the people involved in this project who made it
> possible to use this awesome tool :)
>
> I've implemented my own example of a dendrogram using Protovis-GWT and I
> have a need to collapse/expand a sub-tree by clicking on a specific node.
> Following the code in DendrogramExample I tried to add the event
> PV.Event.MOUSEDOWN on the line 61 of the class but I don't have an idea how
> to handle the Event.
>
> Any advice would be helpful. Thanks in advance.
>
> Cheers
>
> --
> You received this message because you are subscribed to the Google Groups
> "Choosel" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/choosel/-/Sz75nGiYWBcJ.
> To post to this group, send email to cho...@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/choosel?hl=en.