问题
填空题
MouseMotionListener中的方法包括 【11】 ()。
答案
参考答案:【11】mouseDragged() mouseMoved()
解析: 接口MouseMotionListener中包括两个方法,分别为:mouseDragged(),鼠标按键在组件上按下并拖动时调用;mouseMoved(),鼠标光标移动到组件上但无按键按下时调用。
MouseMotionListener中的方法包括 【11】 ()。
参考答案:【11】mouseDragged() mouseMoved()
解析: 接口MouseMotionListener中包括两个方法,分别为:mouseDragged(),鼠标按键在组件上按下并拖动时调用;mouseMoved(),鼠标光标移动到组件上但无按键按下时调用。