Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.accessibility

Interface AccessibleKeyBinding

java.lang.Object
|
+--javax.accessibility.AccessibleKeyBinding


public interface AccessibleKeyBinding

Objects which have keyboard bindings for mneumonics or shortcuts should implement this interface. Accessibility software can use the implementations of this interface to aid the user in using the key bindings.

The AccessibleContext.getAccessibleKeyBinding() method should return null if an object does not implement this interface.

Since:Author:See Also:

Method Summary

java.lang.ObjectgetAccessibleKeyBinding(int i)

Return the numbered key binding, which can then be cast in an implementation dependent way to the appropriate object type.
intgetAccessibleKeyBindingCount()

Returns the count of key bindings for this object.

Method Details

getAccessibleKeyBinding

public Object getAccessibleKeyBinding(int i)

Return the numbered key binding, which can then be cast in an implementation dependent way to the appropriate object type. For example, swing uses javax.swing.KeyStroke. This returns null if i is out of bounds.

Parameters:

Returns:

See Also:


getAccessibleKeyBindingCount

public int getAccessibleKeyBindingCount()

Returns the count of key bindings for this object.

Returns: