本文整理汇总了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);
}
示例2: removeActionListener
import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
public void removeActionListener (ActionListener actionListener)
{
actionListenerList = AWTEventMulticaster.remove (actionListenerList, actionListener);
}
示例3: removeActionListener
import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
@Override
public void removeActionListener (ActionListener actionListener)
{
actionListenerList = AWTEventMulticaster.remove (actionListenerList, actionListener);
}
示例4: removeActionListener
import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
public synchronized void removeActionListener(ActionListener l) {
_listener = AWTEventMulticaster.remove(_listener, l);
}
示例5: removeActionListener
import java.awt.AWTEventMulticaster; //导入方法依赖的package包/类
public void removeActionListener( ActionListener l )
{
synchronized( sync ) {
actionListener = AWTEventMulticaster.remove( actionListener, l );
}
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}