Searched defs:listener (Results 51 - 75 of 268) sorted by relevance

1234567891011

/openjdk7/jdk/src/share/demo/applets/CardTest/
H A DCardTest.java62 ActionListener listener; field in class:CardPanel
71 b.addActionListener(listener);
75 b.addActionListener(listener);
79 b.addActionListener(listener);
83 b.addActionListener(listener);
87 b.addActionListener(listener);
91 b.addActionListener(listener);
98 listener = actionListener;
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/
H A DNotifBufferSizePropertyNameTest.java47 private final static NotificationListener listener = new NotificationListener() { field in class:NotifBufferSizePropertyNameTest
101 listener,
H A DNotifReconnectDeadlockTest.java57 * fetchNotifications thread by having it invoke a listener with a delay in it.
58 * This means that the idle timeout happens. When the delayed listener returns,
62 * listener seeing an OPENED notification. The connection listener should not see
91 listener,
95 client.addConnectionNotificationListener(listener, null, null);
122 client.removeConnectionNotificationListener(listener);
142 private final static NotificationListener listener = new NotificationListener() { field in class:NotifReconnectDeadlockTest
H A DRMINotifTest.java112 // add listener at the client side
113 client.addNotificationListener(mbean, listener, null, null);
140 // remove listener
141 client.removeNotificationListener(mbean, listener);
146 client.addNotificationListener(mbean, listener, filter, o);
147 client.removeNotificationListener(mbean, listener, filter, o);
202 // public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) {
203 // super.addNotificationListener(listener, filter, handback);
205 // System.out.println("============NotificationEmitter: add new listener");
231 private static NotificationListener listener field in class:RMINotifTest
[all...]
/openjdk7/jdk/test/javax/swing/JTabbedPane/4624207/
H A Dbug4624207.java50 private static Object listener; field in class:bug4624207
97 tab.addChangeListener((ChangeListener) listener);
98 txtField.removeFocusListener((FocusListener) listener);
128 listener = new bug4624207();
129 txtField.addFocusListener((FocusListener) listener);
/openjdk7/jdk/src/share/classes/sun/management/
H A DNotificationEmitterSupport.java52 public void addNotificationListener(NotificationListener listener, argument
56 if (listener == null) {
60 /* Adding a new listener takes O(n) time where n is the number
71 efficient solution would be to clone the listener list
76 newList.add(new ListenerInfo(listener, filter, handback));
81 public void removeNotificationListener(NotificationListener listener) argument
92 if (li.listener == listener)
101 public void removeNotificationListener(NotificationListener listener, argument
114 if (li.listener
172 public NotificationListener listener; field in class:NotificationEmitterSupport.ListenerInfo
176 ListenerInfo(NotificationListener listener, NotificationFilter filter, Object handback) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DServiceNotifier.java38 * The services create an instance and delegate the listener callback
62 void addListener(PrintServiceAttributeListener listener) { argument
64 if (listener == null || listeners == null) {
67 listeners.add(listener);
71 void removeListener(PrintServiceAttributeListener listener) { argument
73 if (listener == null || listeners == null) {
76 listeners.remove(listener);
109 PrintServiceAttributeListener listener;
131 listener = (PrintServiceAttributeListener)
137 listener
[all...]
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/
H A DScanDirAgent.java92 // A listener that will put notifications into the queue.
94 private final NotificationListener listener; field in class:ScanDirAgent
106 // Creates the listener.
107 listener = new NotificationListener() {
139 ((NotificationEmitter)proxy).addNotificationListener(listener,null,null);
150 removeNotificationListener(listener,null,null);
164 * listener is pushing notifications, and checking the ScanManagerMXBean
/openjdk7/langtools/test/tools/javac/api/evalexpr/
H A DCompileFromString.java65 DiagnosticListener<JavaFileObject> listener,
72 new MemoryFileManager(compiler.getStandardFileManager(listener, null, null));
82 compiler.getTask(null, mfm, listener, flags, null, Arrays.asList(fileObject));
64 evalExpression(JavaCompiler compiler, DiagnosticListener<JavaFileObject> listener, List<String> flags, String expression) argument
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/
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/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicFunctionSym.java46 public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener) { argument
47 super.resolve(db, listener);
48 type = db.resolveType(this, type, listener, "resolving type of function symbol");
H A DBasicGlobalSym.java48 public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener) { argument
49 type = db.resolveType(this, type, listener, "resolving type of global");
H A DLazyBlockSym.java49 public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener) {} argument
H A DLazyType.java51 Type resolveTypes(BasicCDebugInfoDataBase db, ResolveListener listener) { argument
52 BasicType t = (BasicType) db.resolveType(this, this, listener, "resolving lazy type");
/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/java/beans/
H A DChangeListenerMap.java62 * Creates a proxy listener for the specified property.
65 * @param listener the listener to process events
66 * @return a proxy listener
68 protected abstract L newProxy(String name, L listener); argument
71 * Adds a listener to the list of listeners for the specified property.
72 * This listener is called as many times as it was added.
75 * @param listener the listener to process events
77 public final synchronized void add(String name, L listener) { argument
102 remove(String name, L listener) argument
240 extract(L listener) argument
[all...]
H A DPropertyEditor.java207 * Adds a listener for the value change.
214 * @param listener the {@link PropertyChangeListener} to add
216 void addPropertyChangeListener(PropertyChangeListener listener); argument
219 * Removes a listener for the value change.
221 * @param listener the {@link PropertyChangeListener} to remove
223 void removePropertyChangeListener(PropertyChangeListener listener); argument
/openjdk7/jdk/src/share/classes/javax/management/
H A DStandardEmitterMBean.java242 public void removeNotificationListener(NotificationListener listener) argument
244 emitter.removeNotificationListener(listener);
247 public void removeNotificationListener(NotificationListener listener, argument
251 emitter.removeNotificationListener(listener, filter, handback);
254 public void addNotificationListener(NotificationListener listener, argument
257 emitter.addNotificationListener(listener, filter, handback);
/openjdk7/jdk/src/share/classes/javax/management/remote/
H A DJMXConnector.java203 * <p>Adds a listener to be informed of changes in connection
204 * status. The listener will receive notifications of type {@link
209 * same listener can be added more than once with the same or
212 * listener is registered twice with no filter, then its
216 * @param listener a listener to receive connection status
219 * delivered to the listener, or null if all notifications are to
221 * @param handback an object to be given to the listener along
224 * @exception NullPointerException if <code>listener</code> is
231 addConnectionNotificationListener(NotificationListener listener, argument
255 removeConnectionNotificationListener(NotificationListener 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...]
/openjdk7/jdk/test/java/beans/Introspector/
H A DTest4498236.java135 public void addKeyListener(KeyListener listener) { argument
136 add(listener);
139 public void removeKeyListener(KeyListener listener) { argument
140 remove(listener);
147 public void add(KeyListener listener) { argument
150 public void remove(KeyListener listener) { argument
H A DTest6447751.java85 public void addPropertyChangeListener(PropertyChangeListener listener) { argument
88 public void removePropertyChangeListener(PropertyChangeListener listener) { argument
/openjdk7/jdk/test/java/net/Socket/
H A DUrgentDataTest.java39 ServerSocket listener; field in class:UrgentDataTest
56 test.listener = new ServerSocket (0);
60 test.clPort = test.listener.getLocalPort();
63 test.listener = new ServerSocket (0);
64 System.out.println ("Server listening on port " + test.listener.getLocalPort());
104 server = listener.accept ();
148 if (listener != null) listener.close();
/openjdk7/langtools/src/share/classes/com/sun/mirror/apt/
H A DAnnotationProcessorEnvironment.java165 * Add a listener. If the listener is currently registered to listen,
168 * @param listener The listener to add.
169 * @throws NullPointerException if the listener is null
171 void addListener(AnnotationProcessorListener listener); argument
175 * Remove a listener. If the listener is not currently listening,
178 * @param listener The listener t
181 removeListener(AnnotationProcessorListener listener) argument
[all...]
/openjdk7/jdk/test/javax/management/Introspector/
H A DImmutableNotificationInfoTest.java52 public void removeNotificationListener(NotificationListener listener) { argument
55 public void addNotificationListener(NotificationListener listener, argument

Completed in 55 milliseconds

1234567891011