|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The AccessibleValue interface should be supported by any object
that supports a numerical value (e.g., a scroll bar). This interface
provides the standard mechanism for an assistive technology to determine
and set the numerical value as well as get the minimum and maximum values.
Applications can determine
if an object supports the AccessibleValue interface by first
obtaining its AccessibleContext (see
Accessible
) and then calling the
AccessibleContext.getAccessibleValue()
method.
If the return value is not null, the object supports this interface.
Accessible
,
Accessible.getAccessibleContext()
,
AccessibleContext
,
AccessibleContext.getAccessibleValue()
Method Summary | |
Number |
getCurrentAccessibleValue()
Get the value of this object as a Number. |
Number |
getMaximumAccessibleValue()
Get the maximum value of this object as a Number. |
Number |
getMinimumAccessibleValue()
Get the minimum value of this object as a Number. |
boolean |
setCurrentAccessibleValue(Number n)
Set the value of this object as a Number. |
Method Detail |
public Number getCurrentAccessibleValue()
setCurrentAccessibleValue(java.lang.Number)
public boolean setCurrentAccessibleValue(Number n)
getCurrentAccessibleValue()
public Number getMinimumAccessibleValue()
getMaximumAccessibleValue()
public Number getMaximumAccessibleValue()
getMinimumAccessibleValue()
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.