org.eclipse.actf.accservice.event
Class AccessibilityModelEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.actf.model.events.ModelEvent
          extended by org.eclipse.actf.accservice.event.AccessibilityModelEvent
All Implemented Interfaces:
Serializable

public class AccessibilityModelEvent
extends ModelEvent

See Also:
Serialized Form

Field Summary
static String ACCESSIBLE_NAME_PROPERTY
           
static String ACCESSIBLE_ROLE_PROPERTY
           
static String ACCESSIBLE_STATE_PROPERTY
           
 
Fields inherited from class org.eclipse.actf.model.events.ModelEvent
EVENT_TYPE_PROPERTY, properties, TIMESTAMP_PROPERTY
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AccessibilityModelEvent(Object source)
          create an event based on a Windows callback.
 
Method Summary
 String getAccessibleName()
          convenience method for getting the accessible name of the accessible that fired this event
 String getAccessibleRole()
          convenience method for getting the accessible role of the accessible that fired this event
 String getAccessibleState()
           
 void setAccessibleName(String accName)
          convenience method for setting the accessible name of the accessible that fired this event.
 void setAccessibleRole(String accRole)
          convenience method for setting the accessible role of the accessible that fired this event.
 void setAccessibleState(String accState)
           
 
Methods inherited from class org.eclipse.actf.model.events.ModelEvent
getEventType, getProperty, getTimeMillis, setEventType, setProperty, setTimeMillis
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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 -
Method Detail

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()