Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: ucb ::
interface XCommandInfo
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XCommandInfo
Description provides access to information on a set of commands.

Methods' Summary
getCommands | obtains information for all supported commands.
getCommandInfoByName | returns information for a specific command.
getCommandInfoByHandle | returns information for a specific command.
hasCommandByName | checks whether a command specific is supported.
hasCommandByHandle | checks whether a apecific command is supported.

Methods' Details
getCommands
sequence< CommandInfo > getCommands(); |  |
Description obtains information for all supported commands. Returns a sequence with information for all supported commands.
getCommandInfoByName
CommandInfo getCommandInfoByName( | [in] string raises( | Name ) UnsupportedCommandException );
Description returns information for a specific command. Returns the information for the requested command. Parameter Name specifies the name of the requested command. Throws UnsupportedCommandException if the command is not supported.
getCommandInfoByHandle
CommandInfo getCommandInfoByHandle( | [in] long raises( | Handle ) UnsupportedCommandException );
Description returns information for a specific command. Returns the information for the requested command. Parameter Handle specifies the handle of the requested command. Throws UnsupportedCommandException if the command is not supported.
hasCommandByName
boolean hasCommandByName( | [in] string | Name );
Description checks whether a command specific is supported. Returns true if a command with the specified name is supported; otherwise false is returned. Parameter Name specifies the name of the requested command.
hasCommandByHandle
boolean hasCommandByHandle( | [in] long | Handle );
Description checks whether a apecific command is supported. Returns true if a command with the specified handle is supported; otherwise false is returned. Parameter Name specifies the handle of the requested command.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.