Merge
This commit is contained in:
commit
3f67c1c04a
@ -32,7 +32,7 @@ import javax.management.ObjectName;
|
|||||||
* for monitoring and managing a component in the Java platform.
|
* for monitoring and managing a component in the Java platform.
|
||||||
* Each platform managed object has a unique
|
* Each platform managed object has a unique
|
||||||
* <a href="ManagementFactory.html#MXBean">object name</a>
|
* <a href="ManagementFactory.html#MXBean">object name</a>
|
||||||
* for the {@linkplain ManagementFactory.getPlatformMBeanServer
|
* for the {@linkplain ManagementFactory#getPlatformMBeanServer
|
||||||
* platform MBeanServer} access.
|
* platform MBeanServer} access.
|
||||||
* All platform MXBeans will implement this interface.
|
* All platform MXBeans will implement this interface.
|
||||||
*
|
*
|
||||||
|
@ -73,7 +73,7 @@ public abstract class Activatable extends RemoteServer {
|
|||||||
* can be handled properly.
|
* can be handled properly.
|
||||||
*
|
*
|
||||||
* <p>This method invokes the {@link
|
* <p>This method invokes the {@link
|
||||||
* exportObject(Remote,String,MarshalledObject,boolean,port)
|
* #exportObject(Remote,String,MarshalledObject,boolean,int)
|
||||||
* exportObject} method with this object, and the specified location,
|
* exportObject} method with this object, and the specified location,
|
||||||
* data, restart mode, and port. Subsequent calls to {@link #getID}
|
* data, restart mode, and port. Subsequent calls to {@link #getID}
|
||||||
* will return the activation identifier returned from the call to
|
* will return the activation identifier returned from the call to
|
||||||
@ -120,7 +120,7 @@ public abstract class Activatable extends RemoteServer {
|
|||||||
* can be handled properly.
|
* can be handled properly.
|
||||||
*
|
*
|
||||||
* <p>This method invokes the {@link
|
* <p>This method invokes the {@link
|
||||||
* exportObject(Remote,String,MarshalledObject,boolean,port,RMIClientSocketFactory,RMIServerSocketFactory)
|
* #exportObject(Remote,String,MarshalledObject,boolean,int,RMIClientSocketFactory,RMIServerSocketFactory)
|
||||||
* exportObject} method with this object, and the specified location,
|
* exportObject} method with this object, and the specified location,
|
||||||
* data, restart mode, port, and client and server socket factories.
|
* data, restart mode, port, and client and server socket factories.
|
||||||
* Subsequent calls to {@link #getID} will return the activation
|
* Subsequent calls to {@link #getID} will return the activation
|
||||||
@ -312,7 +312,7 @@ public abstract class Activatable extends RemoteServer {
|
|||||||
* separately, so that exceptions can be handled properly.
|
* separately, so that exceptions can be handled properly.
|
||||||
*
|
*
|
||||||
* <p>This method invokes the {@link
|
* <p>This method invokes the {@link
|
||||||
* exportObject(Remote,String,MarshalledObject,boolean,port,RMIClientSocketFactory,RMIServerSocketFactory)
|
* #exportObject(Remote,String,MarshalledObject,boolean,int,RMIClientSocketFactory,RMIServerSocketFactory)
|
||||||
* exportObject} method with the specified object, location, data,
|
* exportObject} method with the specified object, location, data,
|
||||||
* restart mode, and port, and <code>null</code> for both client and
|
* restart mode, and port, and <code>null</code> for both client and
|
||||||
* server socket factories, and then returns the resulting activation
|
* server socket factories, and then returns the resulting activation
|
||||||
|
@ -187,7 +187,7 @@ public final class LocateRegistry {
|
|||||||
* host that accepts requests on the specified <code>port</code>.
|
* host that accepts requests on the specified <code>port</code>.
|
||||||
*
|
*
|
||||||
* <p>The <code>Registry</code> instance is exported as if the static
|
* <p>The <code>Registry</code> instance is exported as if the static
|
||||||
* {@link UnicastRemoteObject.exportObject(Remote,int)
|
* {@link UnicastRemoteObject#exportObject(Remote,int)
|
||||||
* UnicastRemoteObject.exportObject} method is invoked, passing the
|
* UnicastRemoteObject.exportObject} method is invoked, passing the
|
||||||
* <code>Registry</code> instance and the specified <code>port</code> as
|
* <code>Registry</code> instance and the specified <code>port</code> as
|
||||||
* arguments, except that the <code>Registry</code> instance is
|
* arguments, except that the <code>Registry</code> instance is
|
||||||
@ -213,7 +213,7 @@ public final class LocateRegistry {
|
|||||||
*
|
*
|
||||||
* <p>The <code>Registry</code> instance is exported as if
|
* <p>The <code>Registry</code> instance is exported as if
|
||||||
* the static {@link
|
* the static {@link
|
||||||
* UnicastRemoteObject.exportObject(Remote,int,RMIClientSocketFactory,RMIServerSocketFactory)
|
* UnicastRemoteObject#exportObject(Remote,int,RMIClientSocketFactory,RMIServerSocketFactory)
|
||||||
* UnicastRemoteObject.exportObject} method is invoked, passing the
|
* UnicastRemoteObject.exportObject} method is invoked, passing the
|
||||||
* <code>Registry</code> instance, the specified <code>port</code>, the
|
* <code>Registry</code> instance, the specified <code>port</code>, the
|
||||||
* specified <code>RMIClientSocketFactory</code>, and the specified
|
* specified <code>RMIClientSocketFactory</code>, and the specified
|
||||||
|
@ -138,7 +138,6 @@ public class RemoteObjectInvocationHandler
|
|||||||
* instance
|
* instance
|
||||||
* @throws Throwable the exception to throw from the method invocation
|
* @throws Throwable the exception to throw from the method invocation
|
||||||
* on the proxy instance
|
* on the proxy instance
|
||||||
* @see
|
|
||||||
**/
|
**/
|
||||||
public Object invoke(Object proxy, Method method, Object[] args)
|
public Object invoke(Object proxy, Method method, Object[] args)
|
||||||
throws Throwable
|
throws Throwable
|
||||||
|
@ -216,7 +216,7 @@ public class CertPathValidatorException extends GeneralSecurityException {
|
|||||||
/**
|
/**
|
||||||
* Returns the reason that the validation failed. The reason is
|
* Returns the reason that the validation failed. The reason is
|
||||||
* associated with the index of the certificate returned by
|
* associated with the index of the certificate returned by
|
||||||
* {@link getIndex}.
|
* {@link #getIndex}.
|
||||||
*
|
*
|
||||||
* @return the reason that the validation failed, or
|
* @return the reason that the validation failed, or
|
||||||
* <code>BasicReason.UNSPECIFIED</code> if a reason has not been
|
* <code>BasicReason.UNSPECIFIED</code> if a reason has not been
|
||||||
|
@ -296,7 +296,7 @@ public abstract class AccessibleContext {
|
|||||||
*
|
*
|
||||||
* @see #getAccessibleText
|
* @see #getAccessibleText
|
||||||
* @see #addPropertyChangeListener
|
* @see #addPropertyChangeListener
|
||||||
* @see #AccessibleText.AccessibleTextSequence
|
* @see AccessibleTextSequence
|
||||||
*/
|
*/
|
||||||
public static final String ACCESSIBLE_TEXT_PROPERTY
|
public static final String ACCESSIBLE_TEXT_PROPERTY
|
||||||
= "AccessibleText";
|
= "AccessibleText";
|
||||||
@ -311,7 +311,7 @@ public abstract class AccessibleContext {
|
|||||||
*
|
*
|
||||||
* @see #getAccessibleText
|
* @see #getAccessibleText
|
||||||
* @see #addPropertyChangeListener
|
* @see #addPropertyChangeListener
|
||||||
* @see #AccessibleText.AccessibleTextSequence
|
* @see AccessibleTextSequence
|
||||||
*
|
*
|
||||||
* @since 1.5
|
* @since 1.5
|
||||||
*/
|
*/
|
||||||
@ -334,7 +334,7 @@ public abstract class AccessibleContext {
|
|||||||
*
|
*
|
||||||
* @see #getAccessibleText
|
* @see #getAccessibleText
|
||||||
* @see #addPropertyChangeListener
|
* @see #addPropertyChangeListener
|
||||||
* @see #AccessibleText.AccessibleAttributeSequence
|
* @see AccessibleAttributeSequence
|
||||||
*
|
*
|
||||||
* @since 1.5
|
* @since 1.5
|
||||||
*/
|
*/
|
||||||
|
@ -45,7 +45,6 @@ import javax.swing.text.*;
|
|||||||
* @see Accessible#getAccessibleContext
|
* @see Accessible#getAccessibleContext
|
||||||
* @see AccessibleContext
|
* @see AccessibleContext
|
||||||
* @see AccessibleContext#getAccessibleText
|
* @see AccessibleContext#getAccessibleText
|
||||||
* @see AccessibleText.AccessibleTextChunk
|
|
||||||
*
|
*
|
||||||
* @author Peter Korn
|
* @author Peter Korn
|
||||||
* @author Lynn Monsanto
|
* @author Lynn Monsanto
|
||||||
|
@ -32,16 +32,11 @@ package javax.accessibility;
|
|||||||
* the standard mechanism for an assistive technology to determine the
|
* the standard mechanism for an assistive technology to determine the
|
||||||
* key bindings which exist for this object.
|
* key bindings which exist for this object.
|
||||||
* Any object that has such key bindings should support this
|
* Any object that has such key bindings should support this
|
||||||
* interface. Applications can determine if an object supports the
|
* interface.
|
||||||
* AccessibleKeyBinding interface by first obtaining its AccessibleContext
|
|
||||||
* (see @link Accessible} and then calling the
|
|
||||||
* {@link AccessibleContext#getAccessibleKeyBinding} method. If the return
|
|
||||||
* value is not null, the object supports this interface.
|
|
||||||
*
|
*
|
||||||
* @see Accessible
|
* @see Accessible
|
||||||
* @see Accessible#getAccessibleContext
|
* @see Accessible#getAccessibleContext
|
||||||
* @see AccessibleContext
|
* @see AccessibleContext
|
||||||
* @see AccessibleContext#getAccessibleKeyBinding
|
|
||||||
*
|
*
|
||||||
* @author Lynn Monsanto
|
* @author Lynn Monsanto
|
||||||
* @since 1.4
|
* @since 1.4
|
||||||
@ -58,21 +53,7 @@ public interface AccessibleKeyBinding {
|
|||||||
/**
|
/**
|
||||||
* Returns a key binding for this object. The value returned is an
|
* Returns a key binding for this object. The value returned is an
|
||||||
* java.lang.Object which must be cast to appropriate type depending
|
* java.lang.Object which must be cast to appropriate type depending
|
||||||
* on the underlying implementation of the key. For example, if the
|
* on the underlying implementation of the key.
|
||||||
* Object returned is a javax.swing.KeyStroke, the user of this
|
|
||||||
* method should do the following:
|
|
||||||
* <nf><code>
|
|
||||||
* Component c = <get the component that has the key bindings>
|
|
||||||
* AccessibleContext ac = c.getAccessibleContext();
|
|
||||||
* AccessibleKeyBinding akb = ac.getAccessibleKeyBinding();
|
|
||||||
* for (int i = 0; i < akb.getAccessibleKeyBindingCount(); i++) {
|
|
||||||
* Object o = akb.getAccessibleKeyBinding(i);
|
|
||||||
* if (o instanceof javax.swing.KeyStroke) {
|
|
||||||
* javax.swing.KeyStroke keyStroke = (javax.swing.KeyStroke)o;
|
|
||||||
* <do something with the key binding>
|
|
||||||
* }
|
|
||||||
* }
|
|
||||||
* </code></nf>
|
|
||||||
*
|
*
|
||||||
* @param i zero-based index of the key bindings
|
* @param i zero-based index of the key bindings
|
||||||
* @return a javax.lang.Object which specifies the key binding
|
* @return a javax.lang.Object which specifies the key binding
|
||||||
|
Loading…
x
Reference in New Issue
Block a user