nsISupports
Last changed in Gecko 1.7 void doCommand(in string command); |
boolean isCommandEnabled(in string command); |
void onEvent(in string eventName); |
boolean supportsCommand(in string command); |
When this method is called, your implementation should execute the command with the specified name.
void doCommand( in string command );
command
Implement this method to indicate whether or not the specified command is enabled.
boolean isCommandEnabled( in string command );
command
Return true
if the specified command is currently available to be used; otherwise, it should return false
.
Implement this method to process the event with the specified name.
void onEvent( in string eventName );
eventName
Implement this method to report whether or not the command with the specified name is supported.
boolean supportsCommand( in string command );
command
true
if the specified command is supported; otherwise false
.