Searched refs:listener (Results 1 - 25 of 365) sorted by relevance

1234567891011>>

/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/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);
/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
H A DStateChangeAction.java66 public void setItemListener(ItemListener listener) argument
68 this.listener = listener;
73 return listener;
82 if(listener != null)
83 listener.itemStateChanged(evt);
87 private ItemListener listener; field in class:StateChangeAction
/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/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 DPropertyChangeSupport.java49 * public void addPropertyChangeListener(PropertyChangeListener listener) {
50 * this.pcs.addPropertyChangeListener(listener);
53 * public void removePropertyChangeListener(PropertyChangeListener listener) {
54 * this.pcs.removePropertyChangeListener(listener);
97 * Add a PropertyChangeListener to the listener list.
98 * The listener is registered for all properties.
99 * The same listener object may be added more than once, and will be called
101 * If <code>listener</code> is null, no exception is thrown and no action
104 * @param listener The PropertyChangeListener to be added
106 public void addPropertyChangeListener(PropertyChangeListener listener) { argument
132 removePropertyChangeListener(PropertyChangeListener listener) argument
195 addPropertyChangeListener( String propertyName, PropertyChangeListener listener) argument
220 removePropertyChangeListener( String propertyName, PropertyChangeListener listener) argument
532 newProxy(String name, PropertyChangeListener listener) argument
539 extract(PropertyChangeListener listener) argument
[all...]
/openjdk7/jdk/test/java/beans/Introspector/memory/
H A DBean.java29 private ActionListener listener; field in class:Bean
58 public void addActionListener(ActionListener listener) { argument
59 this.listener = listener;
62 public void removeActionListener(ActionListener listener) { argument
63 this.listener = null;
67 return (this.listener != null)
68 ? new ActionListener[] {this.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/sun/print/
H A DBackgroundServiceLookup.java37 public void getServicesInbackground(BackgroundLookupListener listener); argument
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DBreakpointSpec.java44 void notifySet(SpecListener listener, SpecEvent evt) { argument
45 listener.breakpointSet(evt);
49 void notifyDeferred(SpecListener listener, SpecEvent evt) { argument
50 listener.breakpointDeferred(evt);
54 void notifyResolved(SpecListener listener, SpecEvent evt) { argument
55 listener.breakpointResolved(evt);
59 void notifyDeleted(SpecListener listener, SpecEvent evt) { argument
60 listener.breakpointDeleted(evt);
64 void notifyError(SpecListener listener, SpecErrorEvent evt) { argument
65 listener
[all...]
H A DExceptionSpec.java53 void notifySet(SpecListener listener, SpecEvent evt) { argument
54 listener.exceptionInterceptSet(evt);
58 void notifyDeferred(SpecListener listener, SpecEvent evt) { argument
59 listener.exceptionInterceptDeferred(evt);
63 void notifyResolved(SpecListener listener, SpecEvent evt) { argument
64 listener.exceptionInterceptResolved(evt);
68 void notifyDeleted(SpecListener listener, SpecEvent evt) { argument
69 listener.exceptionInterceptDeleted(evt);
73 void notifyError(SpecListener listener, SpecErrorEvent evt) { argument
74 listener
[all...]
H A DWatchpointSpec.java50 void notifySet(SpecListener listener, SpecEvent evt) { argument
51 listener.watchpointSet(evt);
55 void notifyDeferred(SpecListener listener, SpecEvent evt) { argument
56 listener.watchpointDeferred(evt);
60 void notifyResolved(SpecListener listener, SpecEvent evt) { argument
61 listener.watchpointResolved(evt);
65 void notifyDeleted(SpecListener listener, SpecEvent evt) { argument
66 listener.watchpointDeleted(evt);
70 void notifyError(SpecListener listener, SpecErrorEvent evt) { argument
71 listener
[all...]
/openjdk7/jdk/test/java/beans/Introspector/6976577/test/
H A DAccessor.java30 private TestListener listener; field in class:Bean
33 public void addPropertyChangeListener(PropertyChangeListener listener) { argument
34 this.pcs.addPropertyChangeListener(listener);
37 public void addTestListener(TestListener listener) throws TooManyListenersException { argument
38 if (listener != null) {
39 if (this.listener != null) {
42 this.listener = listener;
46 public void removeTestListener(TestListener listener) { argument
47 if (this.listener
[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
H A DDelegatingDefaultFocusManager.java116 public void addPropertyChangeListener(PropertyChangeListener listener) { argument
117 delegate.addPropertyChangeListener(listener);
119 public void removePropertyChangeListener(PropertyChangeListener listener) { argument
120 delegate.removePropertyChangeListener(listener);
123 PropertyChangeListener listener) {
124 delegate.addPropertyChangeListener(propertyName, listener);
127 PropertyChangeListener listener) {
128 delegate.removePropertyChangeListener(propertyName, listener);
130 public void addVetoableChangeListener(VetoableChangeListener listener) { argument
131 delegate.addVetoableChangeListener(listener);
122 addPropertyChangeListener(String propertyName, PropertyChangeListener listener) argument
126 removePropertyChangeListener(String propertyName, PropertyChangeListener listener) argument
133 removeVetoableChangeListener(VetoableChangeListener listener) argument
136 addVetoableChangeListener(String propertyName, VetoableChangeListener listener) argument
140 removeVetoableChangeListener(String propertyName, VetoableChangeListener listener) argument
[all...]
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/
H A DTest7148143.java53 PropertyChangeListener listener = new CustomProxy();
54 PropertyChangeSupport support = new PropertyChangeSupport(listener);
55 support.addPropertyChangeListener(listener);
56 support.addPropertyChangeListener("foo", listener); // cast class exception
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/
H A DTest7148143.java53 VetoableChangeListener listener = new CustomProxy();
54 VetoableChangeSupport support = new VetoableChangeSupport(listener);
55 support.addVetoableChangeListener(listener);
56 support.addVetoableChangeListener("foo", listener); // cast class exception
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/
H A DEvent.java35 private List<L> listener; field in class:Event
38 listener = new ArrayList<L>();
42 listener.add(l);
46 listener.remove(l);
50 List<L> tmpList = new ArrayList<L>(listener);
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/
H A DFullScreenHandler.java45 static void addFullScreenListenerTo(final RootPaneContainer window, final FullScreenListener listener) { argument
48 ((FullScreenHandler)value).addListener(listener);
55 newHandler.addListener(listener);
59 // asks the installed FullScreenHandler to remove it's listener (does not uninstall the FullScreenHandler)
60 static void removeFullScreenListenerFrom(final RootPaneContainer window, final FullScreenListener listener) { argument
63 ((FullScreenHandler)value).removeListener(listener);
89 void addListener(final FullScreenListener listener) { argument
90 listeners.add(listener);
93 void removeListener(final FullScreenListener listener) { argument
94 listeners.remove(listener);
[all...]
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/test/javax/swing/JLayer/6872503/
H A Dbug6872503.java83 for (AWTEventListener listener : toolkit.getAWTEventListeners()) {
84 if (listener instanceof AWTEventListenerProxy) {
85 listener = ((AWTEventListenerProxy)listener).getListener();
88 if ("LayerEventController".equals(listener.getClass().getSimpleName())) {
92 layerEventController = listener;
107 for (AWTEventListener listener : toolkit.getAWTEventListeners(mask)) {
108 if (listener instanceof AWTEventListenerProxy) {
109 listener = ((AWTEventListenerProxy)listener)
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DSAPanel.java62 public void addPanelListener(SAListener listener) { argument
63 listeners.add(listener);
66 public void removePanelListener(SAListener listener) { argument
67 listeners.remove(listener);
72 SAListener listener = (SAListener) iter.next();
73 listener.showThreadOopInspector(t);
83 SAListener listener = (SAListener) iter.next();
84 listener.showInspector(node);
90 SAListener listener = (SAListener) iter.next();
91 listener
[all...]
/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/com/sun/jmx/remote/internal/
H A DClientListenerInfo.java36 * <p>An identified listener. A listener has an Integer id that is
44 NotificationListener listener,
50 this.listener = listener;
69 return listener;
86 public boolean sameAs(ObjectName name, NotificationListener listener) { argument
88 getListener() == listener);
92 public boolean sameAs(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) { argument
94 getListener() == listener
42 ClientListenerInfo(Integer listenerID, ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback, Subject delegationSubject) argument
103 private final NotificationListener listener; field in class:ClientListenerInfo
[all...]

Completed in 47 milliseconds

1234567891011>>