net.jini.lookup.ui.attribute
Class AccessibleUI

java.lang.Object
  |
  +--net.jini.lookup.ui.attribute.AccessibleUI
All Implemented Interfaces:
java.io.Serializable

public class AccessibleUI
extends java.lang.Object
implements java.io.Serializable

UI attribute that indicates a generated UI implements the the javax.accessibility.Accessible interface and that the designer of the UI did the necessary work to make sure the UI would work well with assistive technologies that are aware of the Java Accessibility API.

Only UIDescriptors whose marshalled UI factory produces a UI that supports the Accessibility API should include this attribute. The presence of this attribute in an attribute set means the produced UI will work well with assistive technologies that are aware of the Java Accessibility API.

See Also:
Serialized Form

Constructor Summary
AccessibleUI()
          Constructs a new AccessibleUI attribute.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares the specified object (passed in o) with this AccessibleUI object for equality.
 int hashCode()
          Returns the hash code value for this AccessibleUI.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessibleUI

public AccessibleUI()
Constructs a new AccessibleUI attribute.
Method Detail

equals

public boolean equals(java.lang.Object o)
Compares the specified object (passed in o) with this AccessibleUI object for equality. Returns true if o is non-null and the fully qualified class name of the specified object (passed in o) is the same as the fully qualified class name of this object.
Overrides:
equals in class java.lang.Object
Parameters:
o - the object to compare against
Returns:
true if the objects are the same, false otherwise.

hashCode

public int hashCode()
Returns the hash code value for this AccessibleUI. As all AccessibleUI objects are conceptually equivalent, this method returns the hash code value for this object's fully qualified class name String.
Overrides:
hashCode in class java.lang.Object
Returns:
the hashcode for this object