Example usage for java.awt AWTEventMulticaster remove

List of usage examples for java.awt AWTEventMulticaster remove

Introduction

In this page you can find the example usage for java.awt AWTEventMulticaster remove.

Prototype

@SuppressWarnings("overloads")
public static MouseWheelListener remove(MouseWheelListener l, MouseWheelListener oldl) 

Source Link

Document

Removes the old mouse-wheel-listener from mouse-wheel-listener-l and returns the resulting multicast listener.

Usage

From source file:ItemEventComponent.java

public void removeItemListener(ItemListener l) {
    itemListener = AWTEventMulticaster.remove(itemListener, l);
}

From source file:Main.java

public void removeActionListener(ActionListener actionListener) {
    actionListenerList = AWTEventMulticaster.remove(actionListenerList, actionListener);
}