Searched defs:handler (Results 126 - 150 of 311) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTextFieldUI.java54 private Handler handler = new Handler(); field in class:SynthTextFieldUI
251 getComponent().addFocusListener(handler);
262 getComponent().removeFocusListener(handler);
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DCompositionArea.java62 private CompositionAreaHandler handler; field in class:CompositionArea
102 * Sets the composition area handler that currently owns this
105 synchronized void setHandlerInfo(CompositionAreaHandler handler, InputContext inputContext) { argument
106 this.handler = handler;
114 return handler;
168 // InputMethodListener methods - just forward to the current handler
170 handler.inputMethodTextChanged(event);
174 handler.caretPositionChanged(event);
217 InputMethodRequests req = handler
[all...]
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DAsynchronousSocketChannel.java279 * {@code handler} parameter is a completion handler that is invoked when
294 * @param handler
295 * The handler for consuming the result
315 CompletionHandler<Void,? super A> handler);
323 * instead of specifying a completion handler, this method returns a {@code
351 * handler} parameter is a completion handler that is invoked when the read
353 * handler is the number of bytes read or {@code -1} if no bytes could be
376 * @param handler
313 connect(SocketAddress remote, A attachment, CompletionHandler<Void,? super A> handler) argument
388 read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler) argument
403 read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler) argument
494 read(ByteBuffer[] dsts, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler) argument
541 write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler) argument
555 write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler) argument
641 write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/nio/sctp/
H A DSctpChannel.java739 * the given handler, if there is one, is invoked. If the handler returns
743 * null}. If an uncaught exception is thrown by the handler it will be
749 * complete. The given handler is invoked without holding any locks used
751 * will not stall other threads from receiving. A handler should not invoke
762 * @param handler
763 * A handler to handle notifications from the SCTP stack, or {@code
768 * the notification handler returns {@link HandlerResult#RETURN
788 * If the given handler invokes the {@code receive} method of this
796 NotificationHandler<T> handler)
794 receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler) argument
[all...]
H A DSctpMultiChannel.java550 * the given handler, if there is one, is invoked. If the handler returns {@link
554 * handler it will be propagated up the stack through this method.
564 * complete. The given handler is invoked without holding any locks used
566 * will not stall other threads from receiving. A handler should not invoke
577 * @param handler
578 * A handler to handle notifications from the SCTP stack, or
583 * the notification handler returns {@code RETURN} after handling
603 * If the given handler invokes the {@code receive} method of this
615 NotificationHandler<T> handler)
613 receive(ByteBuffer buffer, T attachment, NotificationHandler<T> handler) argument
[all...]
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DinterpreterRT_sparc.cpp130 // return result handler
142 void SignatureHandlerLibrary::pd_set_handler(address handler) {} argument
240 // return result handler
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/event/
H A DGestureHandler.java123 // notifies all listeners in a particular component/handler pair
127 final GestureHandler handler; field in class:GestureHandler.PerComponentNotifier
129 public PerComponentNotifier(final Component component, final GestureHandler handler) { argument
131 this.handler = handler;
135 for (final GesturePhaseListener listener : handler.phasers) {
149 for (final RotationListener listener : handler.rotaters) {
159 for (final MagnificationListener listener : handler.magnifiers) {
169 for (final SwipeListener listener : handler.swipers) {
182 // helper function to get a handler fro
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/
H A DWhitespaceStripper.java57 public WhitespaceStripper(ContentHandler handler, ErrorHandler eh, EntityResolver er) { argument
58 setContentHandler(handler);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/
H A DWhitespaceStripper.java62 public WhitespaceStripper(ContentHandler handler,ErrorHandler eh,EntityResolver er) { argument
63 setContentHandler(handler);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/unmarshaller/
H A DDOMScanner.java70 /** This handler will receive SAX2 events. */
126 * reports SAX2 events to the specified handler.
131 public void parse( Element e, ContentHandler handler ) throws SAXException {
133 receiver = handler;
152 public void parseWithContext( Element e, ContentHandler handler ) throws SAXException {
153 setContentHandler(handler);
298 public void setContentHandler(ContentHandler handler) { argument
299 this.receiver = handler;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DBinderImpl.java142 InterningXmlVisitor handler = new InterningXmlVisitor(
144 scanner.setContentHandler(new SAXConnector(handler,scanner.getLocator()));
151 return handler.getContext().getResult();
201 public void setEventHandler(ValidationEventHandler handler) throws JAXBException { argument
202 getUnmarshaller().setEventHandler(handler);
203 getMarshaller().setEventHandler(handler);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2/output/
H A DSaxSerializer.java47 public SaxSerializer(ContentHandler handler) { argument
48 this(handler,null,true);
58 public SaxSerializer(ContentHandler handler,LexicalHandler lex) { argument
59 this(handler, lex, true);
62 public SaxSerializer(ContentHandler handler,LexicalHandler lex, boolean indenting) { argument
64 writer = handler;
67 IndentingXMLFilter indenter = new IndentingXMLFilter(handler, lex);
118 // handler in #endStartTag
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/
H A DLogicalMessageImpl.java26 package com.sun.xml.internal.ws.handler;
H A DMessageContextImpl.java26 package com.sun.xml.internal.ws.handler;
34 import javax.xml.ws.handler.MessageContext;
H A DMessageUpdatableContext.java26 package com.sun.xml.internal.ws.handler;
33 import javax.xml.ws.handler.MessageContext;
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/helpers/
H A DAbstractUnmarshallerImpl.java75 /** handler that will be used to process errors and warnings during unmarshal */
245 * Allow an application to register a validation event handler.
247 * The validation event handler will be called by the JAXB Provider if any
250 * a validation event handler before invoking the unmarshal methods, then
254 * @param handler the validation event handler
256 * event handler
258 public void setEventHandler(ValidationEventHandler handler) argument
261 if( handler == null ) {
264 eventHandler = handler;
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DSctpChannelImpl.java131 NotificationHandler<T> handler) throws IOException {
130 receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler) argument
H A DSctpMultiChannelImpl.java112 NotificationHandler<T> handler) throws IOException {
111 receive(ByteBuffer buffer, T attachment, NotificationHandler<T> handler) argument
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_new.cpp62 // use new handler for operator new and malloc
67 _set_new_handler((_PNH)NewHandler::handler);
76 NewHandler::handler(size_t) { function in class:NewHandler
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DSend.java57 SendNotificationHandler handler = new SendNotificationHandler(); field in class:Send
113 channel.receive(buffer, null, handler);
134 streamNumber = handler.maxOutStreams() - 1;
150 streamNumber = handler.maxInStreams;
235 channel.receive(buffer, null, handler);
236 check(handler.receivedCommUp(), "should have received COMM_UP");
347 check(info.streamNumber() == handler.maxOutStreams() - 1,
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/
H A DJvmMemMgrPoolRelTableMetaImpl.java98 private static Map<String, SnmpOid> buildPoolIndexMap(SnmpTableHandler handler) { argument
100 if (handler instanceof SnmpCachedData)
101 return buildPoolIndexMap((SnmpCachedData)handler);
106 while ((index = handler.getNext(index))!=null) {
108 (MemoryPoolMXBean)handler.getData(index);
142 * Return a table handler that holds the jvmMemManagerTable table data.
370 // Get the data handler.
372 SnmpTableHandler handler = getHandler(userData);
373 if (handler == null) {
377 if (dbg) log.debug("getNextOid", "handler i
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/https/
H A DAbstractDelegateHttpsURLConnection.java49 sun.net.www.protocol.http.Handler handler) throws IOException {
50 this(url, null, handler);
54 sun.net.www.protocol.http.Handler handler) throws IOException {
55 super(url, p, handler);
73 * the com.sun.ssl.internal.www.protocol.https handler reuses this
87 * the com.sun.ssl.internal.www.protocol.https handler reuses this
109 * the com.sun.ssl.internal.www.protocol.https handler reuses this
127 * the com.sun.ssl.internal.www.protocol.https handler reuses this
171 * Implements the HTTP protocol handler's "connect" method,
48 AbstractDelegateHttpsURLConnection(URL url, sun.net.www.protocol.http.Handler handler) argument
53 AbstractDelegateHttpsURLConnection(URL url, Proxy p, sun.net.www.protocol.http.Handler handler) argument
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAsynchronousFileChannelImpl.java110 CompletionHandler<FileLock,? super A> handler);
126 CompletionHandler<FileLock,? super A> handler)
128 if (handler == null)
129 throw new NullPointerException("'handler' is null");
130 implLock(position, size, shared, attachment, handler);
214 CompletionHandler<Integer,? super A> handler);
225 CompletionHandler<Integer,? super A> handler)
227 if (handler == null)
228 throw new NullPointerException("'handler' is null");
229 implRead(dst, position, attachment, handler);
106 implLock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument
122 lock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument
211 implRead(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
222 read(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
232 implWrite(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
244 write(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
[all...]
H A DAsynchronousServerSocketChannelImpl.java119 CompletionHandler<AsynchronousSocketChannel,Object> handler);
130 CompletionHandler<AsynchronousSocketChannel,? super A> handler)
132 if (handler == null)
133 throw new NullPointerException("'handler' is null");
134 implAccept(attachment, (CompletionHandler<AsynchronousSocketChannel,Object>)handler);
118 implAccept(Object attachment, CompletionHandler<AsynchronousSocketChannel,Object> handler) argument
129 accept(A attachment, CompletionHandler<AsynchronousSocketChannel,? super A> handler) argument
H A DInvoker.java34 * Defines static methods to invoke a completion handler or arbitrary task.
101 * pool and we haven't exceeded the maximum number of handler frames on
117 * Invoke handler without checking the thread identity or number of handlers
120 static <V,A> void invokeUnchecked(CompletionHandler<V,? super A> handler, argument
126 handler.completed(value, attachment);
128 handler.failed(exc, attachment);
136 * Invoke handler assuming thread identity already checked
139 CompletionHandler<V,? super A> handler,
145 Invoker.invokeUnchecked(handler, attachment, result, exc);
149 * Invokes the handler
138 invokeDirect(GroupAndInvokeCount myGroupAndInvokeCount, CompletionHandler<V,? super A> handler, A attachment, V result, Throwable exc) argument
153 invoke(AsynchronousChannel channel, CompletionHandler<V,? super A> handler, A attachment, V result, Throwable exc) argument
193 invokeIndirectly(AsynchronousChannel channel, final CompletionHandler<V,? super A> handler, final A attachment, final V result, final Throwable exc) argument
217 invokeIndirectly(final CompletionHandler<V,? super A> handler, final A attachment, final V value, final Throwable exc, Executor executor) argument
[all...]

Completed in 635 milliseconds

1234567891011>>