net.jini.lookup.ui.attribute
Class AccessibleUI
java.lang.Object
net.jini.lookup.ui.attribute.AccessibleUI
- All Implemented Interfaces:
- Serializable
public class AccessibleUI
- extends Object
- implements 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 UIDescriptor
s 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.
- Author:
- Bill Venners
- See Also:
- Serialized Form
Constructor Summary |
AccessibleUI()
Constructs a new AccessibleUI attribute. |
Method Summary |
boolean |
equals(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 . |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
AccessibleUI
public AccessibleUI()
- Constructs a new
AccessibleUI
attribute.
equals
public boolean equals(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 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 Object
- Returns:
- the hashcode for this object
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.