|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.accessibility.AccessibleContext
ice.pilots.html4.AccessibleContextProxy
AccessibleContextProxy is an abstract class that allows clients to to delegate calls to a different AccessibleContext and only override methods they choose.
| Field Summary |
| Constructor Summary | |
AccessibleContextProxy()
|
|
| Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a PropertyChangeListener to the listener list. |
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes. |
AccessibleAction |
getAccessibleAction()
Get the AccessibleAction associated with this object that supports one or more actions. |
Accessible |
getAccessibleChild(int i)
Return the specified Accessible child of the object. |
int |
getAccessibleChildrenCount()
Returns the number of accessible children of the object. |
AccessibleComponent |
getAccessibleComponent()
Get the AccessibleComponent associated with this object that has a graphical representation. |
protected abstract AccessibleContext |
getAccessibleContext()
Clients must override this method to return the AccessibleContext to delegate to. |
String |
getAccessibleDescription()
Get the accessibleDescription property of this object. |
int |
getAccessibleIndexInParent()
Get the 0-based index of this object in its accessible parent. |
String |
getAccessibleName()
Get the accessibleName property of this object. |
Accessible |
getAccessibleParent()
Get the Accessible parent of this object. |
AccessibleRole |
getAccessibleRole()
Get the role of this object. |
AccessibleSelection |
getAccessibleSelection()
Get the AccessibleSelection associated with this object which allows its Accessible children to be selected. |
AccessibleStateSet |
getAccessibleStateSet()
Get the state set of this object. |
AccessibleText |
getAccessibleText()
Get the AccessibleText associated with this object presently editable text on the display. |
AccessibleValue |
getAccessibleValue()
Get the AccessibleValue associated with this object that supports a Numerical value. |
Locale |
getLocale()
Gets the locale of the component. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a PropertyChangeListener from the listener list. |
void |
setAccessibleDescription(String s)
Set the accessible description of this object. |
void |
setAccessibleName(String s)
Set the localized accessible name of this object. |
void |
setAccessibleParent(Accessible a)
Set the Accessible parent of this object. |
| Methods inherited from class javax.accessibility.AccessibleContext |
getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AccessibleContextProxy()
| Method Detail |
public String getAccessibleName()
setAccessibleName(java.lang.String)public void setAccessibleName(String s)
s - the new localized name of the object.getAccessibleName(),
addPropertyChangeListener(java.beans.PropertyChangeListener)public String getAccessibleDescription()
setAccessibleDescription(java.lang.String)public void setAccessibleDescription(String s)
s - the new localized description of the objectsetAccessibleName(java.lang.String),
addPropertyChangeListener(java.beans.PropertyChangeListener)public AccessibleRole getAccessibleRole()
Note that the AccessibleRole class is also extensible, so custom component developers can define their own AccessibleRole's if the set of predefined roles is inadequate.
AccessibleRolepublic AccessibleStateSet getAccessibleStateSet()
AccessibleStateSet,
AccessibleState,
addPropertyChangeListener(java.beans.PropertyChangeListener)public Accessible getAccessibleParent()
public void setAccessibleParent(Accessible a)
a - - Accessible to be set as the parentpublic int getAccessibleIndexInParent()
getAccessibleParent(),
getAccessibleChildrenCount(),
getAccessibleChild(int)public int getAccessibleChildrenCount()
public Accessible getAccessibleChild(int i)
i - zero-based index of child
getAccessibleChildrenCount()
public Locale getLocale()
throws IllegalComponentStateException
IllegalComponentStateException - If the Component does not have its own locale and has not yet been
added to a containment hierarchy such that the locale can be
determined from the containing parent.public void addPropertyChangeListener(PropertyChangeListener listener)
listener - The PropertyChangeListener to be addedAccessibleContext.ACCESSIBLE_NAME_PROPERTY,
AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY,
AccessibleContext.ACCESSIBLE_STATE_PROPERTY,
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY,
AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY,
AccessibleContext.ACCESSIBLE_TEXT_PROPERTY,
AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTYpublic void removePropertyChangeListener(PropertyChangeListener listener)
listener - The PropertyChangeListener to be removedpublic AccessibleAction getAccessibleAction()
AccessibleActionpublic AccessibleComponent getAccessibleComponent()
AccessibleComponentpublic AccessibleSelection getAccessibleSelection()
AccessibleSelectionpublic AccessibleText getAccessibleText()
AccessibleTextpublic AccessibleValue getAccessibleValue()
AccessibleValue
public void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
propertyName - The programmatic name of the property that
was changed.oldValue - The old value of the property.newValue - The new value of the property.PropertyChangeSupport,
addPropertyChangeListener(java.beans.PropertyChangeListener),
removePropertyChangeListener(java.beans.PropertyChangeListener),
AccessibleContext.ACCESSIBLE_NAME_PROPERTY,
AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY,
AccessibleContext.ACCESSIBLE_STATE_PROPERTY,
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY,
AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY,
AccessibleContext.ACCESSIBLE_TEXT_PROPERTY,
AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTYprotected abstract AccessibleContext getAccessibleContext()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||