当前位置: 首页>>代码示例>>Java>>正文


Java MouseMotionListener类代码示例

本文整理汇总了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 );
    }
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:10,代码来源:FigureRenderer.java

示例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);
}
 
开发者ID:cogtool,项目名称:cogtool,代码行数:14,代码来源:InteractionFigure.java

示例3: getMouseMotionListener

import org.eclipse.draw2d.MouseMotionListener; //导入依赖的package包/类
public MouseMotionListener getMouseMotionListener()
{
    return motionListener;
}
 
开发者ID:cogtool,项目名称:cogtool,代码行数:5,代码来源:InteractionFigure.java

示例4: setMouseMotionListener

import org.eclipse.draw2d.MouseMotionListener; //导入依赖的package包/类
public void setMouseMotionListener(MouseMotionListener motionL)
{
    if (motionListener != motionL) {
        motionListener = motionL;
    }
}
 
开发者ID:cogtool,项目名称:cogtool,代码行数:7,代码来源:InteractionFigure.java


注:本文中的org.eclipse.draw2d.MouseMotionListener类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。