goodwrench
1 May 2008, 8:59 AM
In Beta 1, I was able to use a simple listener:
Tree tree = new Tree();
//...populate the tree
tree.addListener(Events.DoubleClick, new Listener<TreeEvent>() {
public void handleEvent(TreeEvent be) {
// your logic goes here
}
});
But it does not seem to work in Beta 2. The DobleClick event is not fired anymore. Look at the new API did not give me an obvious ansver, too. How to do it now?
Issue solved: the Events.DoubleClick was replaced on Events.OnDoubleClick.
Tree tree = new Tree();
//...populate the tree
tree.addListener(Events.DoubleClick, new Listener<TreeEvent>() {
public void handleEvent(TreeEvent be) {
// your logic goes here
}
});
But it does not seem to work in Beta 2. The DobleClick event is not fired anymore. Look at the new API did not give me an obvious ansver, too. How to do it now?
Issue solved: the Events.DoubleClick was replaced on Events.OnDoubleClick.