org.eclipse.actf.accservice.javapp
Class JavaAccessibleValue

java.lang.Object
  extended by org.eclipse.actf.accservice.javapp.JavaAccessibleValue
All Implemented Interfaces:
IAccessibleValueElement

public class JavaAccessibleValue
extends Object
implements IAccessibleValueElement

implementation of the IAccessibleImageElement object for the Java Accesibility API's AccessibleIcon.

Author:
Mike Smith
See Also:
AccessibleIcon

Constructor Summary
JavaAccessibleValue(AccessibleValue value)
          Constructor used to create an accessible image object.
 
Method Summary
 Object getCurrentValue()
          get the current value
 Object getMaximumValue()
          gets the maximum value supported by the control
 Object getMinimumValue()
          gets the minimum value supported by the control
 void setCurrentValue(Object value)
          set the current value of the control
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaAccessibleValue

public JavaAccessibleValue(AccessibleValue value)
Constructor used to create an accessible image object. This constructor will usually be invoked from JavaAccessible and is not typically called by clients.

Parameters:
image - - AccessibleIcon object
Method Detail

getCurrentValue

public Object getCurrentValue()
                       throws InvalidComponentException
Description copied from interface: IAccessibleValueElement
get the current value

Specified by:
getCurrentValue in interface IAccessibleValueElement
Returns:
current value of the control or null if value is not supported
Throws:
InvalidComponentException

getMaximumValue

public Object getMaximumValue()
                       throws InvalidComponentException
Description copied from interface: IAccessibleValueElement
gets the maximum value supported by the control

Specified by:
getMaximumValue in interface IAccessibleValueElement
Returns:
maximum value supported
Throws:
InvalidComponentException

getMinimumValue

public Object getMinimumValue()
                       throws InvalidComponentException
Description copied from interface: IAccessibleValueElement
gets the minimum value supported by the control

Specified by:
getMinimumValue in interface IAccessibleValueElement
Returns:
minimum value supported
Throws:
InvalidComponentException

setCurrentValue

public void setCurrentValue(Object value)
                     throws InvalidComponentException
Description copied from interface: IAccessibleValueElement
set the current value of the control

Specified by:
setCurrentValue in interface IAccessibleValueElement
Parameters:
value - - new value
Throws:
InvalidComponentException