Search code examples
gwthandlersplitpanel

GWT Handler to SplitLayoutPanel drag


Is it possible in GWT to had a handler that detects that the knob pf SplitLayoutPanel is been drag or pressed?

Thanks for the help.


Solution

  • I think, you can do it by overriding onResize() inherited method of DockLayoutPanel:

      SplitLayoutPanel splitLayoutPanel = new SplitLayoutPanel(){
                @Override
                public void onResize() {
                    super.onResize();
                    Window.alert("resized");
                }
            };