本文介绍了GWT处理程序到SplitLayoutPanel的拖动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
GWT中是否有可能检测到SplitLayoutPanel旋钮被拖动或按下的处理程序?
感谢您的帮助。
b $ b解决方案
我认为,您可以通过覆盖继承DockLayoutPanel方法:
SplitLayoutPanel splitLayoutPanel =新的SplitLayoutPanel(){
@Override
public void onResize(){
super.onResize );
Window.alert(resized);
}
};
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.
解决方案
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");
}
};
这篇关于GWT处理程序到SplitLayoutPanel的拖动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!