Searched defs:listener (Results 1 - 25 of 268) sorted by relevance

1234567891011

/openjdk7/langtools/test/tools/javac/DefiniteAssignment/
H A DDefAssignNestedArg.java34 private static final java.beans.PropertyChangeListener listener = field in class:DefAssignNestedArg
38 obj.removePropertyChangeListener(listener);
/openjdk7/langtools/test/tools/javac/
H A DFinalInitializer.java34 private static final java.beans.PropertyChangeListener listener = field in class:FinalInitializer
38 obj.removePropertyChangeListener(listener);
/openjdk7/jdk/src/share/classes/java/util/
H A DEventListenerProxy.java30 * which associates a set of additional parameters with the listener.
39 * PropertyChangeListener listener)
41 * If the bean also implemented the zero argument get listener method:
56 private final T listener; field in class:EventListenerProxy
59 * Creates a proxy for the specified listener.
61 * @param listener the listener object
63 public EventListenerProxy(T listener) { argument
64 this.listener = listener;
[all...]
/openjdk7/jdk/test/javax/swing/JSlider/6278700/
H A Dbug6278700.java38 private final ChangeListener listener = new ChangeListener() { field in class:bug6278700
53 slider.addChangeListener(listener);
64 slider.addChangeListener(listener);
/openjdk7/jdk/src/share/classes/sun/print/
H A DBackgroundServiceLookup.java37 public void getServicesInbackground(BackgroundLookupListener listener); argument
/openjdk7/jdk/src/share/classes/javax/management/
H A DNotificationEmitter.java32 * allows a listener to be registered with the MBean as a notification
33 * listener.</p>
37 *<p>When an MBean emits a notification, it considers each listener that has been
40 * If a filter was provided with that listener, and if the filter's
42 * false, the listener is ignored. Otherwise, the listener's
47 * <p>If the same listener is added more than once, it is considered as many times as it was
48 * added. It is often useful to add the same listener with different filters or handback
54 * <p>If the method call of a filter or listener throws an {@link Exception}, then that
66 * listener
94 removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) argument
[all...]
H A DNotificationBroadcaster.java33 * allows a listener to be registered with the MBean as a notification
34 * listener.</p>
38 * <p>When an MBean emits a notification, it considers each listener that has been
41 * If a filter was provided with that listener, and if the filter's
43 * false, the listener is ignored. Otherwise, the listener's
48 * <p>If the same listener is added more than once, it is considered as many times as it was
49 * added. It is often useful to add the same listener with different filters or handback
55 * <p>If the method call of a filter or listener throws an {@link Exception}, then that
67 * listener
91 addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) argument
111 removeNotificationListener(NotificationListener listener) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/
H A DOkCancelButtonPanel.java38 public OkCancelButtonPanel(ActionListener listener) argument
41 okAction.addActionListener(listener);
43 cancelAction.addActionListener(listener);
/openjdk7/jdk/src/share/classes/javax/sql/
H A DPooledConnection.java127 * Registers the given event listener so that it will be notified
130 * @param listener a component, usually the connection pool manager,
136 void addConnectionEventListener(ConnectionEventListener listener); argument
139 * Removes the given event listener from the list of components that
143 * @param listener a component, usually the connection pool manager,
147 * a listener
150 void removeConnectionEventListener(ConnectionEventListener listener); argument
158 * @param listener an component which implements the <code>StatementEventListener</code>
163 public void addStatementEventListener(StatementEventListener listener); argument
170 * @param listener th
176 removeStatementEventListener(StatementEventListener listener) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DColorSelectionModel.java63 * Adds <code>listener</code> as a listener to changes in the model.
64 * @param listener the <code>ChangeListener</code> to be added
66 void addChangeListener(ChangeListener listener); argument
69 * Removes <code>listener</code> as a listener to changes in the model.
70 * @param listener the <code>ChangeListener</code> to be removed
72 void removeChangeListener(ChangeListener listener); argument
/openjdk7/jdk/src/share/classes/sun/awt/
H A DModalityEvent.java38 private ModalityListener listener; field in class:ModalityEvent
40 public ModalityEvent(Object source, ModalityListener listener, int id) { argument
42 this.listener = listener;
48 listener.modalityPushed(this);
52 listener.modalityPopped(this);
H A DEventListenerAggregate.java58 throw new NullPointerException("listener class is null");
62 throw new ClassCastException("listener class " + listenerClass +
74 * Adds the listener to this aggregate.
76 * @param listener the listener to be added
78 * @throws ClassCastException if <code>listener</code> is not
82 public synchronized void add(EventListener listener) { argument
85 if (!listenerClass.isInstance(listener)) { // null is not an instance of any class
86 throw new ClassCastException("listener " + listener
109 remove(EventListener listener) argument
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DCustomizer.java48 * Register a listener for the PropertyChange event. The customizer
53 * @param listener An object to be invoked when a PropertyChange
56 void addPropertyChangeListener(PropertyChangeListener listener); argument
59 * Remove a listener for the PropertyChange event.
61 * @param listener The PropertyChange listener to be removed.
63 void removePropertyChangeListener(PropertyChangeListener listener); argument
H A DPropertyChangeListenerProxy.java57 * @param listener the listener object
59 public PropertyChangeListenerProxy(String propertyName, PropertyChangeListener listener) { argument
60 super(listener);
65 * Forwards the property change event to the listener delegate.
74 * Returns the name of the named property associated with the listener.
76 * @return the name of the named property associated with the listener
H A DVetoableChangeListenerProxy.java57 * @param listener the listener object
59 public VetoableChangeListenerProxy(String propertyName, VetoableChangeListener listener) { argument
60 super(listener);
65 * Forwards the property change event to the listener delegate.
77 * Returns the name of the named property associated with the listener.
79 * @return the name of the named property associated with the listener
/openjdk7/jdk/src/share/classes/javax/naming/ldap/
H A DUnsolicitedNotificationEvent.java75 * a listener using this event.
76 * @param listener The non-null listener on which to invoke
79 public void dispatch(UnsolicitedNotificationListener listener) { argument
80 listener.notificationReceived(this);
/openjdk7/jdk/src/share/classes/java/awt/event/
H A DAWTEventListenerProxy.java57 * @param listener the listener object
59 public AWTEventListenerProxy (long eventMask, AWTEventListener listener) { argument
60 super(listener);
65 * Forwards the AWT event to the listener delegate.
74 * Returns the event mask associated with the listener.
76 * @return the event mask associated with the listener
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/
H A DFullScreenUtilities.java76 * @param listener to be notified when a full screen event occurs
79 public static void addFullScreenListenerTo(final Window window, final FullScreenListener listener) { argument
81 if (listener == null) throw new NullPointerException();
82 FullScreenHandler.addFullScreenListenerTo((RootPaneContainer)window, listener);
88 * @param listener to be removed
91 public static void removeFullScreenListenerFrom(final Window window, final FullScreenListener listener) { argument
93 if (listener == null) throw new NullPointerException();
94 FullScreenHandler.removeFullScreenListenerFrom((RootPaneContainer)window, listener);
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/event/
H A DGestureUtilities.java55 * @param listener to be notified when a gesture occurs
57 public static void addGestureListenerTo(final JComponent component, final GestureListener listener) { argument
58 if (component == null || listener == null) throw new NullPointerException();
59 GestureHandler.addGestureListenerTo(component, listener);
65 * @param listener to be removed
67 public static void removeGestureListenerFrom(final JComponent component, final GestureListener listener) { argument
68 if (component == null || listener == null) throw new NullPointerException();
69 GestureHandler.removeGestureListenerFrom(component, listener);
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/
H A DUserClassLoaderTest.java45 private final static NotificationListener listener = new NotificationListener() { field in class:UserClassLoaderTest
112 conn.addNotificationListener(timer, listener, null, null);
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/
H A DDelegateAction.java41 public void addActionListener(ActionListener listener) argument
43 this.listener = listener;
46 public void removeActionListener(ActionListener listener) argument
48 this.listener = null;
54 listener
60 if(listener != null)
61 listener.actionPerformed(evt);
64 private ActionListener listener; field in class:DelegateAction
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicBaseClass.java44 public void resolveTypes(Type containingType, BasicCDebugInfoDataBase db, ResolveListener listener) { argument
45 type = db.resolveType(containingType, type, listener, "resolving base class");
H A DBasicLocalSym.java44 public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener) { argument
45 type = db.resolveType(this, type, listener, "resolving type of local");
/openjdk7/jdk/src/share/classes/javax/print/
H A DDocPrintJob.java63 * listener for print job events.
70 * Registers a listener for event occurring during this print job.
71 * If listener is null, no exception is thrown and no action is
73 * If listener is already registered, it will be registered again.
76 * @param listener The object implementing the listener interface
79 public void addPrintJobListener(PrintJobListener listener); argument
82 * Removes a listener from this print job.
84 * if the listener specified by the argument was not previously added
85 * to this component. If listener i
92 removePrintJobListener(PrintJobListener listener) argument
121 addPrintJobAttributeListener( PrintJobAttributeListener listener, PrintJobAttributeSet attributes) argument
138 removePrintJobAttributeListener( PrintJobAttributeListener listener) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSingleSelectionModel.java67 * Adds <I>listener</I> as a listener to changes in the model.
68 * @param listener the ChangeListener to add
70 void addChangeListener(ChangeListener listener); argument
73 * Removes <I>listener</I> as a listener to changes in the model.
74 * @param listener the ChangeListener to remove
76 void removeChangeListener(ChangeListener listener); argument

Completed in 82 milliseconds

1234567891011