org.eclipse.actf.accservice.event
Class AccessibilityModelEvent
java.lang.Object
java.util.EventObject
org.eclipse.actf.model.events.ModelEvent
org.eclipse.actf.accservice.event.AccessibilityModelEvent
- All Implemented Interfaces:
- Serializable
public class AccessibilityModelEvent
- extends ModelEvent
- See Also:
- Serialized Form
ACCESSIBLE_NAME_PROPERTY
public static final String ACCESSIBLE_NAME_PROPERTY
- See Also:
- Constant Field Values
ACCESSIBLE_ROLE_PROPERTY
public static final String ACCESSIBLE_ROLE_PROPERTY
- See Also:
- Constant Field Values
ACCESSIBLE_STATE_PROPERTY
public static final String ACCESSIBLE_STATE_PROPERTY
- See Also:
- Constant Field Values
AccessibilityModelEvent
public AccessibilityModelEvent(Object source)
- create an event based on a Windows callback. The source object may be an
IAccessibleElement
instance
or merely contain information about such an instance.
- Parameters:
source
-
getAccessibleName
public String getAccessibleName()
- convenience method for getting the accessible name of the accessible that fired this event
- Returns:
- name of accessible that fired this event
setAccessibleName
public void setAccessibleName(String accName)
- convenience method for setting the accessible name of the accessible that fired this event. This event should nt
be called by clients. It is made public for use by native code capturing the event.
- Parameters:
accName
-
getAccessibleRole
public String getAccessibleRole()
- convenience method for getting the accessible role of the accessible that fired this event
- Returns:
- role of accessible that fired this event
setAccessibleRole
public void setAccessibleRole(String accRole)
- convenience method for setting the accessible role of the accessible that fired this event. This event should nt
be called by clients. It is made public for use by native code capturing the event.
- Parameters:
accRole
-
setAccessibleState
public void setAccessibleState(String accState)
getAccessibleState
public String getAccessibleState()