このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XMenu
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: awt ::

interface XMenu
Description
明示するs a simple menu.

Methods' 要約
addMenuListener 追加するs the 明示するd menu listener to receive events from this menu.  
removeMenuListener 除去するs the 明示するd menu listener so that it no longer receives events from this menu.  
insertItem 挿入するs an item into the menu.  
removeItem 除去するs one or more items from the menu.  
(疑いを)晴らす 除去するs all items from the menu.  
getItemCount returns the number of items in the menu.  
getItemId returns the ID of the item at the 明示するd position.  
getItemPos returns the position of the item with the 明示するd ID.  
getItemType retrieves the type of the menu item.  
enableItem enables or 無能にするs the menu item.  
isItemEnabled returns the 明言する/公表する of the menu item.  
hideDisabledEntries 明示するs whether 無能にするd menu 入ること/参加(者)s should be hidden, or not.  
enableAutoMnemonics 明示するs whether mnemonics are automatically 割り当てるd to menu items, or not.  
setItemText 始める,決めるs the text for the menu item.  
getItemText returns the string for the given item id.  
setCommand 始める,決めるs the 命令(する) string for the menu item.  
getCommand retrieves the 命令(する) string for the menu item.  
setHelpCommand 始める,決めるs the help 命令(する) string for the menu item.  
getHelpCommand retrieves the help 命令(する) string for the menu item.  
setHelpText 始める,決めるs the help text for the menu item.  
getHelpText retrieves the help text for the menu item.  
setTipHelpText 始める,決めるs the tip help text for the menu item.  
getTipHelpText retrieves the tip help text for the menu item.  
isPopupMenu checks whether an XMenu is an XPopupMenu.  
setPopupMenu 始める,決めるs the popup menu for a 明示するd menu item.  
getPopupMenu returns the popup menu from the menu item.  
Methods' 詳細(に述べる)s
addMenuListener
[oneway] 無効の
addMenuListener( [in] XMenuListener  xListener );

Description
追加するs the 明示するd menu listener to receive events from this menu.
Parameter xListener
the XMenuListener to be 追加するd.
removeMenuListener
[oneway] 無効の
removeMenuListener( [in] XMenuListener  xListener );

Description
除去するs the 明示するd menu listener so that it no longer receives events from this menu.
Parameter xListener
the XMenuListener to be 除去するd.
insertItem
[oneway] 無効の
insertItem( [in] short  nItemId,
[in] string  aText,
[in] short  nItemStyle,
[in] short  nItemPos );

Description
挿入するs an item into the menu.

The item is appended if the position is greater than or equal to getItemCount() or if it is 消極的な.

Parameter nItemId
明示するs the ID of the menu item to be insterted.
Parameter aText
明示するs the label of the menu item.
Parameter nItemStyle
明示するs the style of the menu item, as defined in MenuItemStyle.
Parameter nItemPos
明示するs the position where the menu item will be insterted.
removeItem
[oneway] 無効の
removeItem( [in] short  nItemPos,
[in] short  nCount );

Description
除去するs one or more items from the menu.
Parameter nItemPos
明示するs the position of the (first) menu item to be 除去するd.
Parameter nCount
明示するs the number of menu items to 除去する.
(疑いを)晴らす
無効の
(疑いを)晴らす();

Description
除去するs all items from the menu.
getItemCount
short
getItemCount();

Description
returns the number of items in the menu.
Returns
the number of items in this XMenu.
getItemId
short
getItemId( [in] short  nItemPos );

Description
returns the ID of the item at the 明示するd position.
Parameter nItemPos
明示するs the position of the menu item for which the item ID is queried.
Returns
the ID of the menu item at the given position.
getItemPos
short
getItemPos( [in] short  nItemId );

Description
returns the position of the item with the 明示するd ID.
Parameter nItemId
明示するs the ID of the menu item for which the item position is queried.
Returns
the position of the menu item with the 明示するd ID.
getItemType
MenuItemType
getItemType( [in] short  nItemPos );

Description
retrieves the type of the menu item.
Parameter nItemPos
明示するs the position of the menu item for which the item type is queried.
Returns
a MenuItemType 示すing the item type.
enableItem
[oneway] 無効の
enableItem( [in] short  nItemId,
[in] boolean  bEnable );

Description
enables or 無能にするs the menu item.
Parameter nItemId
明示するs the menu item ID.
Parameter bEnable
明示するs whether the menu item should be enabled (true) or 無能にするd (誤った).
isItemEnabled
boolean
isItemEnabled( [in] short  nItemId );

Description
returns the 明言する/公表する of the menu item.
Parameter nItemId
明示するs the menu item ID.
Returns
true if the item is enabled, 誤った さもなければ.
hideDisabledEntries
無効の
hideDisabledEntries( [in] boolean  bHide );

Description
明示するs whether 無能にするd menu 入ること/参加(者)s should be hidden, or not.
Parameter bHide
if true, 無能にするd menu 入ること/参加(者)s are hidden.
enableAutoMnemonics
無効の
enableAutoMnemonics( [in] boolean  bEnable );

Description
明示するs whether mnemonics are automatically 割り当てるd to menu items, or not.
Parameter bEnable
if true, mnemonics are automatically 割り当てるd to menu items.
setItemText
[oneway] 無効の
setItemText( [in] short  nItemId,
[in] string  aText );

Description
始める,決めるs the text for the menu item.
Parameter nItemId
明示するs the ID of the menu item.
Parameter aText
明示するs the label of the menu item.
getItemText
string
getItemText( [in] short  nItemId );

Description
returns the string for the given item id.
Parameter nItemId
明示するs the ID of the menu item.
Returns
the label of the menu item.
setCommand
無効の
setCommand( [in] short  nItemId,
[in] string  aCommand );

Description
始める,決めるs the 命令(する) string for the menu item.
Parameter nItemId
明示するs the menu item ID for which the 命令(する) should be 始める,決める.
Parameter aCommand
明示するs the 命令(する) for the menu item.
getCommand
string
getCommand( [in] short  nItemId );

Description
retrieves the 命令(する) string for the menu item.
Parameter nItemId
明示するs the menu item ID for which the 命令(する) URL should be 始める,決める.
Returns
the 命令(する) of the menu item.
setHelpCommand
無効の
setHelpCommand( [in] short  nItemId,
[in] string  aCommand );

Description
始める,決めるs the help 命令(する) string for the menu item.
Parameter nItemId
明示するs the menu item ID for which the help 命令(する) URL be 始める,決める.
Parameter aCommand
明示するs the help 命令(する) for the menu item.
getHelpCommand
string
getHelpCommand( [in] short  nItemId );

Description
retrieves the help 命令(する) string for the menu item.
Parameter nItemId
明示するs the menu item ID for which the help 命令(する) should be 始める,決める.
Returns
the help 命令(する) of the menu item.
setHelpText
無効の
setHelpText( [in] short  nItemId,
[in] string  sHelpText );

Description
始める,決めるs the help text for the menu item.
Parameter nItemId
明示するs the menu item identifier for which the help text should be 始める,決める.
Parameter sHelpText
明示するs the help text for the menu item.
getHelpText
string
getHelpText( [in] short  nItemId );

Description
retrieves the help text for the menu item.
Parameter nItemId
明示するs the menu item identifier for which the help text should be retrieved.
Returns
a string with the help text.
setTipHelpText
無効の
setTipHelpText( [in] short  nItemId,
[in] string  sTipHelpText );

Description
始める,決めるs the tip help text for the menu item.
Parameter nItemId
明示するs the menu item identifier for which the tip help text should be 始める,決める.
Parameter sTipHelpText
明示するs the tip help text for the menu item.
getTipHelpText
string
getTipHelpText( [in] short  nItemId );

Description
retrieves the tip help text for the menu item.
Parameter nItemId
明示するs the menu item identifier for which the tip help text should be retrieved.
Returns
a string with the tip help text.
isPopupMenu
boolean
isPopupMenu();

Description
checks whether an XMenu is an XPopupMenu.
Returns
true if the menu is a PopupMenu, 誤った if it is a MenuBar.
setPopupMenu
[oneway] 無効の
setPopupMenu( [in] short  nItemId,
[in] XPopupMenu  aPopupMenu );

Description
始める,決めるs the popup menu for a 明示するd menu item.
Parameter nItemId
明示するs the menu item ID for which the XPopupMenu should be 始める,決める.
Parameter aPopupMenu
明示するs a XPopupMenu.
getPopupMenu
XPopupMenu
getPopupMenu( [in] short  nItemId );

Description
returns the popup menu from the menu item.
Parameter nItemId
明示するs the menu item ID for which the XPopupMenu should be retrieved.
Returns
a XPopupMenu.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.