It works, thanks...
On Aug 28, 6:57 pm, Chad chad...@gmail.com wrote:
Phineas Gage,
I haven't tried it, but you could probably override either the
showStack or onBrowserEvent method. Probably showStack, something like
this:
@Override
public void showStack(int index) {
When using a StackPanel, is there any way to listen for when the
selected index of the StackPanel changes?
I see that it can be retrieved with getSelectedIndex() and set with
showStack(index), but there is no apparent way to be called when
someone clicks to set the current index. I'd like to do
Phineas Gage,
I haven't tried it, but you could probably override either the
showStack or onBrowserEvent method. Probably showStack, something like
this:
@Override
public void showStack(int index) {
super.showStack(index);
if (index == getSelectedIndex()) {
onShowStack();