Lines Matching refs:oldl

132      * multicaster with the exception of all occurrences of {@code oldl}.
137 * No exception is thrown if {@code oldl} is {@code null}.
139 * @param oldl the listener to be removed
142 protected EventListener remove(EventListener oldl) {
143 if (oldl == a) return b;
144 if (oldl == b) return a;
145 EventListener a2 = removeInternal(a, oldl);
146 EventListener b2 = removeInternal(b, oldl);
710 * @param oldl the component-listener being removed
712 public static ComponentListener remove(ComponentListener l, ComponentListener oldl) {
713 return (ComponentListener) removeInternal(l, oldl);
720 * @param oldl the container-listener being removed
722 public static ContainerListener remove(ContainerListener l, ContainerListener oldl) {
723 return (ContainerListener) removeInternal(l, oldl);
730 * @param oldl the focus-listener being removed
732 public static FocusListener remove(FocusListener l, FocusListener oldl) {
733 return (FocusListener) removeInternal(l, oldl);
740 * @param oldl the key-listener being removed
742 public static KeyListener remove(KeyListener l, KeyListener oldl) {
743 return (KeyListener) removeInternal(l, oldl);
750 * @param oldl the mouse-listener being removed
752 public static MouseListener remove(MouseListener l, MouseListener oldl) {
753 return (MouseListener) removeInternal(l, oldl);
760 * @param oldl the mouse-motion-listener being removed
762 public static MouseMotionListener remove(MouseMotionListener l, MouseMotionListener oldl) {
763 return (MouseMotionListener) removeInternal(l, oldl);
770 * @param oldl the window-listener being removed
772 public static WindowListener remove(WindowListener l, WindowListener oldl) {
773 return (WindowListener) removeInternal(l, oldl);
780 * @param oldl the window-state-listener being removed
784 WindowStateListener oldl) {
785 return (WindowStateListener) removeInternal(l, oldl);
792 * @param oldl the window-focus-listener being removed
796 WindowFocusListener oldl) {
797 return (WindowFocusListener) removeInternal(l, oldl);
804 * @param oldl the action-listener being removed
806 public static ActionListener remove(ActionListener l, ActionListener oldl) {
807 return (ActionListener) removeInternal(l, oldl);
814 * @param oldl the item-listener being removed
816 public static ItemListener remove(ItemListener l, ItemListener oldl) {
817 return (ItemListener) removeInternal(l, oldl);
824 * @param oldl the adjustment-listener being removed
826 public static AdjustmentListener remove(AdjustmentListener l, AdjustmentListener oldl) {
827 return (AdjustmentListener) removeInternal(l, oldl);
829 public static TextListener remove(TextListener l, TextListener oldl) {
830 return (TextListener) removeInternal(l, oldl);
837 * @param oldl the input-method-listener being removed
839 public static InputMethodListener remove(InputMethodListener l, InputMethodListener oldl) {
840 return (InputMethodListener) removeInternal(l, oldl);
847 * @param oldl the hierarchy-listener being removed
850 public static HierarchyListener remove(HierarchyListener l, HierarchyListener oldl) {
851 return (HierarchyListener) removeInternal(l, oldl);
859 * @param oldl the hierarchy-bounds-listener being removed
862 public static HierarchyBoundsListener remove(HierarchyBoundsListener l, HierarchyBoundsListener oldl) {
863 return (HierarchyBoundsListener) removeInternal(l, oldl);
870 * @param oldl the mouse-wheel-listener being removed
874 MouseWheelListener oldl) {
875 return (MouseWheelListener) removeInternal(l, oldl);
903 * @param oldl the listener being removed
905 protected static EventListener removeInternal(EventListener l, EventListener oldl) {
906 if (l == oldl || l == null) {
909 return ((AWTEventMulticaster)l).remove(oldl);