import "Accessibility_Selector.idl";
Public Types | |
| enum | CommandResult { COMMAND_RESULT_INVALID, COMMAND_RESULT_SUCCESS, COMMAND_RESULT_FAILED, COMMAND_RESULT_OBSOLETE, COMMAND_RESULT_LAST_DEFINED } |
Public Member Functions | |
| CommandList | getCommands () |
| boolean | replaceCommands (in CommandList commands) |
| boolean | refreshCommands () |
| CommandResult | activateCommand (in Command cmd) |
| void | registerChangeListener (in CommandListener listener) |
| void | deregisterChangeListener (in CommandListener listener) |
Data Fields | |
| readonly attribute boolean | supportsReplace |
Examples of the use of this interface include voice-command and remote-control applications, in which the user interaction is wholly or partly delegated by the implementor to an external agent.
A code returned by a call to activateCommand, indicating the result of the activation request.
| CommandResult Accessibility::Selector::activateCommand | ( | in Command | cmd | ) |
Request that the Selector invoke the specified Command.
| cmd | the Command to activate/invoke. |
| void Accessibility::Selector::deregisterChangeListener | ( | in CommandListener | listener | ) |
Tell the Selector instance to cease notifying the specified CommandListener of changes to the command list.
| listener | the CommandListener to remove from the notification list. |
| CommandList Accessibility::Selector::getCommands | ( | ) |
| boolean Accessibility::Selector::refreshCommands | ( | ) |
Ask the Selector to re-calculate its CommandList.
| void Accessibility::Selector::registerChangeListener | ( | in CommandListener | listener | ) |
Register a :CommandListener instance for notification of changes to the command set.
| listener | the CommandListener to be notified of changes. |
| boolean Accessibility::Selector::replaceCommands | ( | in CommandList | commands | ) |
| readonly attribute boolean Accessibility::Selector::supportsReplace |
This attribute is TRUE if this Selector allows its CommandList to be specified by the client
1.5.9