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


Java AWTEventMulticaster.remove方法代码示例

本文整理汇总了Java中java.awt.AWTEventMulticaster.remove方法的典型用法代码示例。如果您正苦于以下问题:Java AWTEventMulticaster.remove方法的具体用法?Java AWTEventMulticaster.remove怎么用?Java AWTEventMulticaster.remove使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在java.awt.AWTEventMulticaster的用法示例。


在下文中一共展示了AWTEventMulticaster.remove方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: removeLocalMouseListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
public void removeLocalMouseListener(MouseListener l) {
  multicaster = AWTEventMulticaster.remove(multicaster, l);
}
 
开发者ID:ajmath,项目名称:VASSAL-src,代码行数:4,代码来源:Map.java

示例2: removeActionListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
public void removeActionListener (ActionListener actionListener)
{
  actionListenerList = AWTEventMulticaster.remove (actionListenerList, actionListener);
}
 
开发者ID:dmolony,项目名称:DiskBrowser,代码行数:5,代码来源:AbstractFormattedDisk.java

示例3: removeActionListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
@Override
public void removeActionListener (ActionListener actionListener)
{
  actionListenerList = AWTEventMulticaster.remove (actionListenerList, actionListener);
}
 
开发者ID:dmolony,项目名称:DiskBrowser,代码行数:6,代码来源:AppleDisk.java

示例4: removeActionListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
public synchronized void removeActionListener(ActionListener l) {
  _listener = AWTEventMulticaster.remove(_listener, l);
}
 
开发者ID:DiamondLightSource,项目名称:daq-eclipse,代码行数:4,代码来源:CategoryExplorerModel.java

示例5: removeActionListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
public void removeActionListener( ActionListener l )
{
	synchronized( sync ) {
		actionListener = AWTEventMulticaster.remove( actionListener, l );
	}
    }
 
开发者ID:Sciss,项目名称:JCollider,代码行数:7,代码来源:EZSlider.java

示例6: removeMouseListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
/**
 * Removes the specified mouse listener.  Calling this method with
 * <code>null</code> or an invalid value has no effect.
 * <p>Refer to <a href="doc-files/AWTThreadIssues.html#ListenersThreads"
 * >AWT Threading Issues</a> for details on AWT's threading model.
 *
 * @param    listener   the mouse listener
 * @see      java.awt.event.MouseEvent
 * @see      java.awt.event.MouseListener
 * @see      #addMouseListener(MouseListener)
 * @see      #getMouseListeners
 */
public synchronized void removeMouseListener(MouseListener listener) {
    if (listener == null) {
        return;
    }
    mouseListener = AWTEventMulticaster.remove(mouseListener, listener);
}
 
开发者ID:jgaltidor,项目名称:VarJ,代码行数:19,代码来源:TrayIcon.java

示例7: removeMouseMotionListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
/**
 * Removes the specified mouse-motion listener.  Calling this method with
 * <code>null</code> or an invalid value has no effect.
 * <p>Refer to <a href="doc-files/AWTThreadIssues.html#ListenersThreads"
 * >AWT Threading Issues</a> for details on AWT's threading model.
 *
 * @param    listener   the mouse listener
 * @see      java.awt.event.MouseEvent
 * @see      java.awt.event.MouseMotionListener
 * @see      #addMouseMotionListener(MouseMotionListener)
 * @see      #getMouseMotionListeners
 */
public synchronized void removeMouseMotionListener(MouseMotionListener listener) {
    if (listener == null) {
        return;
    }
    mouseMotionListener = AWTEventMulticaster.remove(mouseMotionListener, listener);
}
 
开发者ID:jgaltidor,项目名称:VarJ,代码行数:19,代码来源:TrayIcon.java

示例8: removeActionListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
/**
 * Removes the specified action listener.  Calling this method with
 * <code>null</code> or an invalid value has no effect.
 * <p>Refer to <a href="doc-files/AWTThreadIssues.html#ListenersThreads"
 * >AWT Threading Issues</a> for details on AWT's threading model.
 *
 * @param    listener   the action listener
 * @see      java.awt.event.ActionEvent
 * @see      java.awt.event.ActionListener
 * @see      #addActionListener(ActionListener)
 * @see      #getActionListeners
 * @see #setActionCommand(String)
 */
public synchronized void removeActionListener(ActionListener listener) {
    if (listener == null) {
        return;
    }
    actionListener = AWTEventMulticaster.remove(actionListener, listener);
}
 
开发者ID:jgaltidor,项目名称:VarJ,代码行数:20,代码来源:TrayIcon.java

示例9: removeSortActionListener

import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
/**
 * Deregisters the specified {@link ActionListener} to no longer receive
 * action events.
 */
public void removeSortActionListener(final ActionListener sortActionListener) {
	sortListener = AWTEventMulticaster.remove(sortListener, sortActionListener);
}
 
开发者ID:mongkoy,项目名称:c-logger,代码行数:8,代码来源:LogTableComparatorChooser.java


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