Top Description Constructors Methods
org.eclipse.swt.accessibility

public Class AccessibleValueAdapter

extends Object
implements AccessibleValueListener
Class Inheritance
All Implemented Interfaces
org.eclipse.swt.accessibility.AccessibleValueListener, org.eclipse.swt.internal.SWTEventListener, java.util.EventListener

This adapter class provides default implementations for the methods in the AccessibleValueListener interface.

Classes that wish to deal with AccessibleValue events can extend this class and override only the methods that they are interested in.

Since
3.6
See Also
AccessibleValueListener, AccessibleValueEvent

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
getCurrentValue(AccessibleValueEvent
an event object containing the following fields:
  • [out] value - the number that is the current value of this object
e
)

Implements org.eclipse.swt.accessibility.AccessibleValueListener.getCurrentValue.

Returns the value of this object as a number.
public void
getMaximumValue(AccessibleValueEvent
an event object containing the following fields:
  • [out] value - the number that is the maximum value that this object can represent. If this object has no upper bound then null is returned.
e
)

Implements org.eclipse.swt.accessibility.AccessibleValueListener.getMaximumValue.

Returns the maximum value that can be represented by this object.
public void
getMinimumValue(AccessibleValueEvent
an event object containing the following fields:
  • [out] value - the number that is the minimum value that this object can represent. If this object has no lower bound then null is returned.
e
)

Implements org.eclipse.swt.accessibility.AccessibleValueListener.getMinimumValue.

Returns the minimum value that can be represented by this object.
public void
setCurrentValue(AccessibleValueEvent
an event object containing the following fields:
  • [in/out] value - on input, the number that will be the new value of this object
    - on output, set to null if the value cannot be set
e
)

Implements org.eclipse.swt.accessibility.AccessibleValueListener.setCurrentValue.

Sets the value of this object to the given number.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AccessibleValueAdapterback to summary
public AccessibleValueAdapter()

Method Detail

getCurrentValueback to summary
public void getCurrentValue(AccessibleValueEvent e)

Implements org.eclipse.swt.accessibility.AccessibleValueListener.getCurrentValue.

Returns the value of this object as a number.

Parameters
e:AccessibleValueEvent

an event object containing the following fields:

  • [out] value - the number that is the current value of this object
Annotations
@Override
getMaximumValueback to summary
public void getMaximumValue(AccessibleValueEvent e)

Implements org.eclipse.swt.accessibility.AccessibleValueListener.getMaximumValue.

Returns the maximum value that can be represented by this object.

Parameters
e:AccessibleValueEvent

an event object containing the following fields:

  • [out] value - the number that is the maximum value that this object can represent. If this object has no upper bound then null is returned.
Annotations
@Override
getMinimumValueback to summary
public void getMinimumValue(AccessibleValueEvent e)

Implements org.eclipse.swt.accessibility.AccessibleValueListener.getMinimumValue.

Returns the minimum value that can be represented by this object.

Parameters
e:AccessibleValueEvent

an event object containing the following fields:

  • [out] value - the number that is the minimum value that this object can represent. If this object has no lower bound then null is returned.
Annotations
@Override
setCurrentValueback to summary
public void setCurrentValue(AccessibleValueEvent e)

Implements org.eclipse.swt.accessibility.AccessibleValueListener.setCurrentValue.

Sets the value of this object to the given number. The argument is clipped to the valid interval whose upper and lower bounds are returned by getMaximumValue and getMinimumValue, i.e. if it is lower than the minimum value the new value will be the minimum, and if it is greater than the maximum then the new value will be the maximum.

Parameters
e:AccessibleValueEvent

an event object containing the following fields:

  • [in/out] value - on input, the number that will be the new value of this object
    - on output, set to null if the value cannot be set
Annotations
@Override