com.jniwrapper.macosx.accessibility
Class AXError

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.ac
          extended bycom.jniwrapper.Int32
              extended bycom.jniwrapper.macosx.accessibility.AXError
All Implemented Interfaces:
com.jniwrapper.IntegerParameter

public class AXError
extends com.jniwrapper.Int32

These error codes can be returned from the accessibility functions.


Field Summary
static AXError ACTION_UNSUPPORTED
          The action is not supported by the AXUIElementRef.
static AXError API_DISABLED
          The accessibility API is disabled (as when, for example, the user deselects "Enable access for assistive devices" in Universal Access Preferences).
static AXError ATTRIBUTE_UNSUPPORTED
          The attribute is not supported by the AXUIElementRef.
static AXError CANNOT_COMPLETE
          The function cannot complete because messaging failed in some way or because the application with which the function is communicating is busy or unresponsive.
static AXError FAILURE
          A system error occurred, such as the failure to allocate an object.
static AXError ILLEGAL_ARGUMENT
          An illegal argument was passed to the function.
static AXError INVALID_UIELEMENT
          The AXUIElementRef passed to the function is invalid.
static AXError INVALID_UIELEMENT_OBSERVER
          The AXObserverRef passed to the function is not a valid observer.
static AXError NO_VALUE
          The requested value or AXUIElementRef does not exist.
static AXError NOT_ENOUGH_PRECISION
           
static AXError NOT_IMPLEMENTED
          Indicates that the function or method is not implemented (this can be returned if a process does not support the accessibility API).
static AXError NOTIFICATION_ALREADY_REGISTERED
          This notification has already been registered for.
static AXError NOTIFICATION_NOT_REGISTERED
          Indicates that a notification is not registered yet.
static AXError NOTIFICATION_UNSUPPORTED
          The notification is not supported by the AXUIElementRef.
static AXError PARAMETERIZED_ATTRIBUTE_UNSUPPORTED
          The parameterized attribute is not supported by the AXUIElementRef.
static AXError SUCCESS
          No error occurred.
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
AXError()
           
AXError(int value)
           
 
Methods inherited from class com.jniwrapper.Int32
clone, getLength, getValue, read, setValue, write
 
Methods inherited from class com.jniwrapper.ac
equals, getDebugInfo, hashCode, toLong, toString
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SUCCESS

public static final AXError SUCCESS
No error occurred.


FAILURE

public static final AXError FAILURE
A system error occurred, such as the failure to allocate an object.


ILLEGAL_ARGUMENT

public static final AXError ILLEGAL_ARGUMENT
An illegal argument was passed to the function.


INVALID_UIELEMENT

public static final AXError INVALID_UIELEMENT
The AXUIElementRef passed to the function is invalid.


INVALID_UIELEMENT_OBSERVER

public static final AXError INVALID_UIELEMENT_OBSERVER
The AXObserverRef passed to the function is not a valid observer.


CANNOT_COMPLETE

public static final AXError CANNOT_COMPLETE
The function cannot complete because messaging failed in some way or because the application with which the function is communicating is busy or unresponsive.


ATTRIBUTE_UNSUPPORTED

public static final AXError ATTRIBUTE_UNSUPPORTED
The attribute is not supported by the AXUIElementRef.


ACTION_UNSUPPORTED

public static final AXError ACTION_UNSUPPORTED
The action is not supported by the AXUIElementRef.


NOTIFICATION_UNSUPPORTED

public static final AXError NOTIFICATION_UNSUPPORTED
The notification is not supported by the AXUIElementRef.


NOT_IMPLEMENTED

public static final AXError NOT_IMPLEMENTED
Indicates that the function or method is not implemented (this can be returned if a process does not support the accessibility API).


NOTIFICATION_ALREADY_REGISTERED

public static final AXError NOTIFICATION_ALREADY_REGISTERED
This notification has already been registered for.


NOTIFICATION_NOT_REGISTERED

public static final AXError NOTIFICATION_NOT_REGISTERED
Indicates that a notification is not registered yet.


API_DISABLED

public static final AXError API_DISABLED
The accessibility API is disabled (as when, for example, the user deselects "Enable access for assistive devices" in Universal Access Preferences).


NO_VALUE

public static final AXError NO_VALUE
The requested value or AXUIElementRef does not exist.


PARAMETERIZED_ATTRIBUTE_UNSUPPORTED

public static final AXError PARAMETERIZED_ATTRIBUTE_UNSUPPORTED
The parameterized attribute is not supported by the AXUIElementRef.


NOT_ENOUGH_PRECISION

public static final AXError NOT_ENOUGH_PRECISION
Constructor Detail

AXError

public AXError()

AXError

public AXError(int value)