本文整理汇总了Java中org.eclipse.draw2d.MouseMotionListener类的典型用法代码示例。如果您正苦于以下问题:Java MouseMotionListener类的具体用法?Java MouseMotionListener怎么用?Java MouseMotionListener使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MouseMotionListener类属于org.eclipse.draw2d包,在下文中一共展示了MouseMotionListener类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: removeMouseMoveListener
import org.eclipse.draw2d.MouseMotionListener; //导入依赖的package包/类
@Override
public void removeMouseMoveListener ( final ChartMouseMoveListener mouseMoveListener )
{
final MouseMotionListener proxyListener = this.mouseMoveListenerMap.remove ( mouseMoveListener );
if ( proxyListener != null )
{
this.chartFigure.removeMouseMotionListener ( proxyListener );
}
}
示例2: InteractionFigure
import org.eclipse.draw2d.MouseMotionListener; //导入依赖的package包/类
public InteractionFigure(IEnterExitListener enterExitL,
MouseMotionListener motionL,
MouseListener clickL,
Cursor figureCursor)
{
enterExitListener = enterExitL;
motionListener = motionL;
clickListener = clickL;
setLayoutManager(new XYLayout());
setCursor(figureCursor);
}
示例3: getMouseMotionListener
import org.eclipse.draw2d.MouseMotionListener; //导入依赖的package包/类
public MouseMotionListener getMouseMotionListener()
{
return motionListener;
}
示例4: setMouseMotionListener
import org.eclipse.draw2d.MouseMotionListener; //导入依赖的package包/类
public void setMouseMotionListener(MouseMotionListener motionL)
{
if (motionListener != motionL) {
motionListener = motionL;
}
}