Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.accessibility
Interface AccessibleKeyBinding  view AccessibleKeyBinding download AccessibleKeyBinding.java


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:
1.2

Method Summary
 java.lang.Object getAccessibleKeyBinding(int i)
          Return the numbered key binding, which can then be cast in an implementation dependent way to the appropriate object type.
 int getAccessibleKeyBindingCount()
          Returns the count of key bindings for this object.
 

Method Detail

getAccessibleKeyBindingCount

public int getAccessibleKeyBindingCount()
Returns the count of key bindings for this object.


getAccessibleKeyBinding

public java.lang.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.