public void addMouseListener(MouseListener listener) { if (mouseListeners == null) { sinkEvents(Event.MOUSEEVENTS); mouseListeners = new MouseListenerCollection(); } mouseListeners.add(listener); }
/** * Removes a previously added listener interface. * * @param listener * @see com.google.gwt.user.client.ui.SourcesMouseEvents#removeMouseListener(MouseListener) */ public void removeMouseListener(MouseListener listener) { if (listener == null) { throw new IllegalArgumentException(); } if (mouseListeners != null) { mouseListeners.remove(listener); } }
/** * Adds the specified mouse-listener to this component's widget. * The listener will be notified of mouse events. */ @Override public final void addMouseListener(MouseListener listener) { mouseListeners.add(listener); }
/** * Removes the specified mouse-listener from this component's widget. */ @Override public final void removeMouseListener(MouseListener listener) { mouseListeners.remove(listener); }
public void removeMouseListener(MouseListener listener) { if (mouseListeners != null) mouseListeners.remove(listener); }
protected MouseListener getBarListener() { return barListener; }
protected MouseListener getHigherListener() { return this.higherListener; }
protected MouseListener getLowerListener() { return this.lowerListener; }
public void addMouseListener(MouseListener listener) { this.fp.addMouseListener(listener ); }
public void removeMouseListener(MouseListener listener) { this.fp.removeMouseListener( listener ); }
public void addMouseListener(MouseListener listener) { this.softBase.addMouseListener(listener); }
public void removeMouseListener(MouseListener listener) { this.softBase.removeMouseListener(listener); }
public void addMouseListener(MouseListener listener) { this.base.addMouseListener( listener ); }
public void removeMouseListener(MouseListener listener) { this.base.removeMouseListener( listener ); }
public void addMouseListener(MouseListener listener) { this.base.addMouseListener(listener); }
public void removeMouseListener(MouseListener listener) { this.base.removeMouseListener(listener); }
public void removeMouseListener(MouseListener listener) { this.base.addMouseListener( listener ); }
/** * Adds a listener interface to receive mouse events such as: * <ul> * <li><code>Event.ONMOUSEDOWN</code> * <li><code>Event.ONMOUSEUP</code> * <li><code>Event.ONMOUSEMOVE</code> * <li><code>Event.ONMOUSEOVER</code> * <li><code>Event.ONMOUSEOUT</code> * </ul> * * @param listener * @see com.google.gwt.user.client.ui.SourcesMouseEvents#addMouseListener(MouseListener) */ public void addMouseListener(MouseListener listener) { if (listener == null) { throw new IllegalArgumentException(); } if (mouseListeners == null) { mouseListeners = new MouseListenerCollection(); sinkEvents(Event.MOUSEEVENTS); } mouseListeners.add(listener); }