/openjdk7/jdk/src/share/demo/applets/CardTest/ |
H A D | CardTest.java | 62 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 D | NotifBufferSizePropertyNameTest.java | 47 private final static NotificationListener listener = new NotificationListener() { field in class:NotifBufferSizePropertyNameTest 101 listener,
|
H A D | NotifReconnectDeadlockTest.java | 57 * 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 D | RMINotifTest.java | 112 // 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 D | bug4624207.java | 50 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 D | NotificationEmitterSupport.java | 52 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 D | ServiceNotifier.java | 38 * 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 D | ScanDirAgent.java | 92 // 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 D | CompileFromString.java | 65 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 D | StateChangeAction.java | 66 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 D | BasicFunctionSym.java | 46 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 D | BasicGlobalSym.java | 48 public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener) { argument 49 type = db.resolveType(this, type, listener, "resolving type of global");
|
H A D | LazyBlockSym.java | 49 public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener) {} argument
|
H A D | LazyType.java | 51 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 D | SAPanel.java | 62 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 D | ChangeListenerMap.java | 62 * 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 D | PropertyEditor.java | 207 * 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 D | StandardEmitterMBean.java | 242 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 D | JMXConnector.java | 203 * <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 D | ClientListenerInfo.java | 36 * <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 D | Test4498236.java | 135 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 D | Test6447751.java | 85 public void addPropertyChangeListener(PropertyChangeListener listener) { argument 88 public void removePropertyChangeListener(PropertyChangeListener listener) { argument
|
/openjdk7/jdk/test/java/net/Socket/ |
H A D | UrgentDataTest.java | 39 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 D | AnnotationProcessorEnvironment.java | 165 * 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 D | ImmutableNotificationInfoTest.java | 52 public void removeNotificationListener(NotificationListener listener) { argument 55 public void addNotificationListener(NotificationListener listener, argument
|