Searched refs:delegate (Results 1 - 25 of 95) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/sun/reflect/
H A DDelegatingConstructorAccessorImpl.java31 change its delegate at run time. */
34 private ConstructorAccessorImpl delegate; field in class:DelegatingConstructorAccessorImpl
36 DelegatingConstructorAccessorImpl(ConstructorAccessorImpl delegate) { argument
37 setDelegate(delegate);
45 return delegate.newInstance(args);
48 void setDelegate(ConstructorAccessorImpl delegate) { argument
49 this.delegate = delegate;
H A DDelegatingMethodAccessorImpl.java31 change its delegate at run time. */
34 private MethodAccessorImpl delegate; field in class:DelegatingMethodAccessorImpl
36 DelegatingMethodAccessorImpl(MethodAccessorImpl delegate) { argument
37 setDelegate(delegate);
43 return delegate.invoke(obj, args);
46 void setDelegate(MethodAccessorImpl delegate) { argument
47 this.delegate = delegate;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDelegatingDefaultFocusManager.java42 private final KeyboardFocusManager delegate; field in class:DelegatingDefaultFocusManager
44 DelegatingDefaultFocusManager(KeyboardFocusManager delegate) { argument
45 this.delegate = delegate;
50 return delegate;
57 delegate.processKeyEvent(focusedComponent, e);
60 delegate.focusNextComponent(aComponent);
63 delegate.focusPreviousComponent(aComponent);
66 // Make sure that we delegate all new methods in KeyboardFocusManager
73 // the delegate
[all...]
H A DDefaultListModel.java57 private Vector<E> delegate = new Vector<E>(); field in class:DefaultListModel
71 return delegate.size();
89 return delegate.elementAt(index);
101 delegate.copyInto(anArray);
110 delegate.trimToSize();
122 delegate.ensureCapacity(minCapacity);
132 int oldSize = delegate.size();
133 delegate.setSize(newSize);
149 return delegate.capacity();
159 return delegate
[all...]
H A DDefaultCellEditor.java64 * The delegate class which handles all methods sent from the
67 protected EditorDelegate delegate; field in class:DefaultCellEditor
88 delegate = new EditorDelegate() {
97 textField.addActionListener(delegate);
107 delegate = new EditorDelegate() {
123 checkBox.addActionListener(delegate);
136 delegate = new EditorDelegate() {
161 comboBox.addActionListener(delegate);
197 // from the CellEditor interface to our delegate.
202 * the <code>delegate</cod
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DIconUIResource.java40 * Icon "delegate" object specified at construction.
57 private Icon delegate; field in class:IconUIResource
62 * @param delegate the icon being wrapped
64 public IconUIResource(Icon delegate) { argument
65 if (delegate == null) {
66 throw new IllegalArgumentException("null delegate icon argument");
68 this.delegate = delegate;
72 delegate.paintIcon(c, g, x, y);
76 return delegate
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/https/
H A DHttpsURLConnectionImpl.java54 * wrong Java Type. Thus it uses the delegate (aka, the
58 * Since it would use a delegate to access
74 protected DelegateHttpsURLConnection delegate; field in class:HttpsURLConnectionImpl
86 delegate = new DelegateHttpsURLConnection(url, p, handler, this);
90 // subclass needs to overwrite this to set delegate to
103 delegate.setNewClient(url, false);
115 delegate.setNewClient(url, useCache);
129 delegate.setProxiedClient(url, proxyHost, proxyPort);
145 delegate.setProxiedClient(url, proxyHost, proxyPort, useCache);
153 delegate
[all...]
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/internal/www/protocol/https/
H A DHttpsURLConnectionOldImpl.java53 * wrong Java Type. Thus it uses the delegate (aka, the
57 * Since it would use a delegate to access
70 private DelegateHttpsURLConnection delegate; field in class:HttpsURLConnectionOldImpl
82 delegate = new DelegateHttpsURLConnection(url, p, handler, this);
92 delegate.setNewClient(url, false);
104 delegate.setNewClient(url, useCache);
118 delegate.setProxiedClient(url, proxyHost, proxyPort);
134 delegate.setProxiedClient(url, proxyHost, proxyPort, useCache);
142 delegate.connect();
147 * delegating the actual implementation to "delegate", w
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DDelegatingShape.java41 Shape delegate; field in class:DelegatingShape
43 public DelegatingShape(Shape delegate) { argument
44 this.delegate = delegate;
48 return delegate.getBounds(); // assumes all delegates are immutable via the returned Rectangle
52 return delegate.getBounds2D(); // assumes all delegates are immutable via the returned Rectangle2D
56 return delegate.contains(x, y);
60 return delegate.contains(p);
64 return delegate.intersects(x, y, w, h);
68 return delegate
[all...]
/openjdk7/corba/src/share/classes/org/omg/CORBA_2_3/portable/
H A DObjectImpl.java54 org.omg.CORBA.portable.Delegate delegate = _get_delegate();
55 if (delegate instanceof Delegate)
56 return ((Delegate) delegate).get_codebase(this);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/
H A DFreezableList.java44 private List delegate = null ; field in class:FreezableList
57 return delegate.equals( other.delegate ) &&
63 return delegate.hashCode() ;
66 public FreezableList( List delegate, boolean immutable ) argument
68 this.delegate = delegate ;
72 public FreezableList( List delegate )
74 this( delegate, false ) ;
103 return delegate
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/
H A DPersistenceDelegateFinder.java49 public void register(Class<?> type, PersistenceDelegate delegate) { argument
51 if (delegate != null) {
52 this.registry.put(type, delegate);
62 PersistenceDelegate delegate;
64 delegate = this.registry.get(type);
66 return (delegate != null) ? delegate : super.find(type);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/
H A DFilterMessageImpl.java57 * contained Message delegate. Subclasses of <code>FilterMessageImpl</code>
64 private final Message delegate; field in class:FilterMessageImpl
66 protected FilterMessageImpl(Message delegate) { argument
67 this.delegate = delegate;
71 return delegate.hasHeaders();
75 return delegate.getHeaders();
79 return delegate.getAttachments();
83 return delegate.hasAttachments();
87 return delegate
[all...]
/openjdk7/jdk/src/share/classes/javax/management/
H A DMBeanServerBuilder.java55 * <code>newMBeanServer(defaultDomain,outer,delegate)</code>
56 * passing the <var>delegate</var> that should be used by the MBeanServer
58 * <p>Note that the passed <var>delegate</var> might not be directly the
76 * <code>newMBeanServer(defaultDomain,outer,delegate)</code>
77 * passing the <var>delegate</var> that should be used by the MBeanServer
79 * <p>Note that the passed <var>delegate</var> might not be directly the
82 * returned delegate.
98 * @param delegate A pointer to the MBeanServerDelegate associated
106 MBeanServerDelegate delegate) {
110 return JmxMBeanServer.newMBeanServer(defaultDomain,outer,delegate,
104 newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DJmxMBeanServerBuilder.java55 * <code>newMBeanServer(defaultDomain,outer,delegate)</code>
56 * passing the <var>delegate</var> that should be used by the MBeanServer
58 * <p>Note that the passed <var>delegate</var> might not be directly the
76 * <code>newMBeanServer(defaultDomain,outer,delegate)</code>
77 * passing the <var>delegate</var> that should be used by the
79 * <p>Note that the passed <var>delegate</var> might not be directly the
82 * returned delegate.
101 * @param delegate A pointer to the MBeanServerDelegate associated
109 MBeanServerDelegate delegate) {
110 return JmxMBeanServer.newMBeanServer(defaultDomain,outer,delegate,
107 newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate) argument
[all...]
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java39 private final FileSystem delegate; field in class:PassThroughFileSystem
41 PassThroughFileSystem(FileSystemProvider provider, FileSystem delegate) { argument
43 this.delegate = delegate;
62 return ((PassThroughPath)wrapper).delegate;
72 delegate.close();
77 return delegate.isOpen();
82 return delegate.isReadOnly();
87 return delegate.getSeparator();
92 final Iterable<Path> roots = delegate
157 private static volatile PassThroughFileSystem delegate; field in class:PassThroughFileSystem.PassThroughProvider
359 private final Path delegate; field in class:PassThroughFileSystem.PassThroughPath
361 PassThroughPath(FileSystem fs, Path delegate) argument
[all...]
/openjdk7/jdk/test/java/awt/EventQueue/6638195/
H A Dbug6638195.java40 MyEventQueueDelegate delegate = new MyEventQueueDelegate();
41 EventQueueDelegate.setDelegate(delegate);
42 runTest(delegate);
44 delegate = new MyEventQueueDelegate();
45 SwingUtilities3.setEventQueueDelegate(getObjectMap(delegate));
46 runTest(delegate);
49 private static void runTest(MyEventQueueDelegate delegate) throws Exception { argument
74 if (!delegate.allInvoked()) {
80 final EventQueueDelegate.Delegate delegate) {
91 delegate
79 getObjectMap( final EventQueueDelegate.Delegate delegate) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/pept/presentation/
H A DStub.java53 * @param delegate ...
56 public void _setDelegate(Delegate delegate); argument
/openjdk7/langtools/test/tools/javac/diags/
H A DFileManager.java76 return ((WrappedFileObject) fo).delegate;
119 delegate = fileObject;
123 return delegate.getKind();
127 return delegate.isNameCompatible(simpleName, kind);
131 return delegate.getNestingKind();
135 return delegate.getAccessLevel();
139 return delegate.toUri();
143 return delegate.getName();
148 return delegate.openInputStream();
153 return delegate
191 JavaFileObject delegate; field in class:FileManager.WrappedFileObject
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/
H A DRepIdDelegator.java133 return delegate.getClassFromType();
139 return delegate.getClassFromType(codebaseURL);
146 return delegate.getClassFromType(expectedType, codebaseURL);
150 return delegate.getClassName();
157 // RepositoryId methods will use the provided delegate.
159 this.delegate = _delegate;
162 private RepositoryId delegate; field in class:RepIdDelegator
165 if (delegate != null)
166 return delegate.toString();
172 if (delegate !
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/
H A DService.java68 private ServiceDelegate delegate; field in class:Service
77 delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation,
83 delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation,
119 return delegate.getPort(portName, serviceEndpointInterface);
160 return delegate.getPort(portName, serviceEndpointInterface, features);
188 return delegate.getPort(serviceEndpointInterface);
226 return delegate.getPort(serviceEndpointInterface, features);
304 return delegate.getPort(endpointReference, serviceEndpointInterface, features);
323 delegate.addPort(portName, bindingId, endpointAddress);
352 return delegate
[all...]
/openjdk7/corba/src/share/classes/org/omg/PortableServer/
H A DServant.java64 * ORB portability through delegation to set their delegate.
65 * @param delegate ORB vendor-specific implementation of
68 final public void _set_delegate(Delegate delegate) { argument
69 _delegate = delegate;
215 // First try to call the delegate implementation class's
218 // Else call the delegate implementation class's
224 org.omg.PortableServer.portable.Delegate delegate = _get_delegate();
226 // If the ORB's delegate class does not implement
229 return delegate.get_interface_def(this);
235 delegate
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DEventQueueDelegate.java36 public static void setDelegate(Delegate delegate) { argument
37 AppContext.getAppContext().put(EVENT_QUEUE_DELEGATE_KEY, delegate);
54 * Notifies delegate before EventQueue.dispatch method.
64 * Notifies delegate after EventQueue.dispatch method.
/openjdk7/jdk/test/javax/management/monitor/
H A DMBeanServerBuilderImpl.java46 MBeanServerDelegate delegate) {
53 delegate);
44 newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate) argument
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DInputMethodPopupMenu.java168 static JPopupMenu delegate = null; field in class:JInputMethodPopupMenu
172 if (delegate == null) {
173 delegate = new JPopupMenu(title);
179 delegate.show(c, x, y);
183 delegate.removeAll();
187 delegate.addSeparator();
198 delegate.add((JMenuItem)menuItem);
202 addMenuItem(delegate, label, command, currentSelection);
225 static PopupMenu delegate = null; field in class:AWTInputMethodPopupMenu
229 if (delegate
[all...]

Completed in 75 milliseconds

1234