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

翻訳前ページへ


Interface XPopupMenu
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XPopupMenu
Base Interfaces
XPopupMenuXMenu

XMenu
(言及/関連d interface's 要約:)
明示するs a simple menu.
Description
支配(する)/統制するs a popup menu.

Methods' 要約
insertSeparator 挿入するs a separator at the 明示するd position.  
setDefaultItem 始める,決めるs the menu default item.  
getDefaultItem returns the menu default item.  
checkItem 始める,決めるs the 明言する/公表する of the item to be checked or unchecked.  
isItemChecked returns whether the item is checked or unchecked.  
遂行する/発効させる 遂行する/発効させるs the popup menu and returns the selected item or 0, if cancelled.  
isInExecute queries if the PopupMenu is 存在.  
endExecute ends the 死刑執行 of the PopupMenu.  
setAcceleratorKeyEvent 始める,決めるs the KeyEvent for the menu item.  
getAcceleratorKeyEvent retrieves the KeyEvent for the menu item.  
setItemImage 始める,決めるs the image for the menu item.  
getItemImage retrieves the image for the menu item.  
Methods' 詳細(に述べる)s
insertSeparator
[oneway] 無効の
insertSeparator( [in] short  nItemPos );

Description
挿入するs a separator at the 明示するd position.
Parameter nItemPos
明示するs the position where the menu separator will be insterted.
setDefaultItem
[oneway] 無効の
setDefaultItem( [in] short  nItemId );

Description
始める,決めるs the menu default item.
Parameter nItemId
明示するs the menu item identifier.
getDefaultItem
short
getDefaultItem();

Description
returns the menu default item.
Returns
the ID of the default item.
checkItem
[oneway] 無効の
checkItem( [in] short  nItemId,
[in] boolean  bCheck );

Description
始める,決めるs the 明言する/公表する of the item to be checked or unchecked.
Parameter nItemId
明示するs the menu item identifier.
Parameter bCheck
明示するs if the item is checked (true) or unchecked (誤った).
isItemChecked
boolean
isItemChecked( [in] short  nItemId );

Description
returns whether the item is checked or unchecked.
Parameter nItemId
明示するs the menu item identifier.
Returns
true if the item is checked, 誤った さもなければ.
遂行する/発効させる
short
遂行する/発効させる( [in] XWindowPeer  Parent,
[in] Rectangle  Position,
[in] short  Direction );

Description
遂行する/発効させるs the popup menu and returns the selected item or 0, if cancelled.
Parameter Parent
the parent window.
Parameter Position
a Rectangle 代表するing the 調整するs system where the popup menu should be 遂行する/発効させるd.
Parameter Direction
the direction in which a popup menu will grow, as 明示するd by one of the PopupMenuDirection constants.
Returns
returns the selected item or 0, if cancelled.
isInExecute
boolean
isInExecute();

Description
queries if the PopupMenu is 存在.

Returns true only if the PopupMenu is 存在 遂行する/発効させるd as a result of invoking XPopupMenu::遂行する/発効させる(); that is, for a PopupMenu 活動させる/戦時編成するd by a MenuBar item, this methods returns 誤った.

Returns
true if the PopupMenu is 存在 遂行する/発効させるd, 誤った さもなければ.
See also
XPopupMenu::遂行する/発効させる()
endExecute
無効の
endExecute();

Description
ends the 死刑執行 of the PopupMenu.

XPopupMenu::遂行する/発効させる() will then return 0.

See also
XPopupMenu::遂行する/発効させる()
setAcceleratorKeyEvent
無効の
setAcceleratorKeyEvent( [in] short  nItemId,
[in] KeyEvent  aKeyEvent );

Description
始める,決めるs the KeyEvent for the menu item.

The KeyEvent is only used as a コンテナ to 輸送(する) the shortcut (警察などへの)密告,告訴(状), this methods only draws the text corresponding to this keyboard shortcut. The (弁護士の)依頼人 code is 責任がある listening to keyboard events (typicaly done 経由で XUserInputInterception), and 派遣(する) the 各々の 命令(する).

Parameter nItemId
明示するs the menu item identifier for which the KeyEvent should be 始める,決める.
Parameter aKeyEvent
明示するs the KeyEvent for the menu item.
getAcceleratorKeyEvent
KeyEvent
getAcceleratorKeyEvent( [in] short  nItemId );

Description
retrieves the KeyEvent for the menu item.

The KeyEvent is only used as a コンテナ to 輸送(する) the shortcut (警察などへの)密告,告訴(状), so that in this 事例/患者 ::com::sun::星/主役にする::lang::EventObject::Source is NULL.

Parameter nItemId
明示するs the menu item identifier for which the KeyEvent should be retrieved.
Returns
the KeyEvent struct 割り当てるd to the requested menu item.
setItemImage
無効の
setItemImage( [in] short  nItemId,
[in] ::com::sun::星/主役にする::graphic::XGraphic  xGraphic,
[in] boolean  bScale );

Description
始める,決めるs the image for the menu item.
Parameter nItemId
明示するs the menu item identifier for which the image should be 始める,決める.
Parameter xGraphic
明示するs the image for the menu item.
Parameter bScale
if true, the image will be 規模d to the 基準 size used internally by the 実施.
getItemImage
::com::sun::星/主役にする::graphic::XGraphic
getItemImage( [in] short  nItemId );

Description
retrieves the image for the menu item.
Parameter nItemId
明示するs the menu item identifier for which the image should be retrieved.
Returns
a ::com::sun::星/主役にする::graphic::XGraphic 言及/関連 to the 現在の image for the requested menu item.
最高の,を越す 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.