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 );
commandImplement this method to indicate whether or not the specified command is enabled.
boolean isCommandEnabled( in string command );
commandReturn 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 );
eventNameImplement this method to report whether or not the command with the specified name is supported.
boolean supportsCommand( in string command );
commandtrue if the specified command is supported; otherwise false.