前の関連記事:LibreOffice5(142)Transliterationのサービスとインターフェイスの一覧
MenuBarのサービスとインターフェイスの一覧
├─.awt.MenuBar
│ └─.awt.XMenuBar
│ └─.awt.XMenu
│ void addMenuListener( [in] .awt.XMenuListener xListener)
│ void clear()
│ void enableAutoMnemonics( [in] boolean bEnable)
│ void enableItem( [in] short nItemId,
│ [in] boolean bEnable)
│ string getCommand( [in] short nItemId)
│ string getHelpCommand( [in] short nItemId)
│ string getHelpText( [in] short nItemId)
│ short getItemCount()
│ short getItemId( [in] short nItemPos)
│ short getItemPos( [in] short nItemId)
│ string getItemText( [in] short nItemId)
│ .awt.MenuItemType getItemType( [in] short nItemPos)
│ .awt.XPopupMenu getPopupMenu( [in] short nItemId)
│ string getTipHelpText( [in] short nItemId)
│ void hideDisabledEntries( [in] boolean bHide)
│ void insertItem( [in] short nItemId,
│ [in] string aText,
│ [in] short nItemStyle,
│ [in] short nItemPos)
│ boolean isItemEnabled( [in] short nItemId)
│ boolean isPopupMenu()
│ void removeItem( [in] short nItemPos,
│ [in] short nCount)
│ void removeMenuListener( [in] .awt.XMenuListener xListener)
│ void setCommand( [in] short nItemId,
│ [in] string aCommand)
│ void setHelpCommand( [in] short nItemId,
│ [in] string aCommand)
│ void setHelpText( [in] short nItemId,
│ [in] string sHelpText)
│ void setItemText( [in] short nItemId,
│ [in] string aText)
│ void setPopupMenu( [in] short nItemId,
│ [in] .awt.XPopupMenu aPopupMenu)
│ void setTipHelpText( [in] short nItemId,
│ [in] string sTipHelpText)
└─stardiv.vcl.MenuBar
│ └─.awt.XMenuBar
│ └─.awt.XMenu
│ void addMenuListener( [in] .awt.XMenuListener xListener)
│ void clear()
│ void enableAutoMnemonics( [in] boolean bEnable)
│ void enableItem( [in] short nItemId,
│ [in] boolean bEnable)
│ string getCommand( [in] short nItemId)
│ string getHelpCommand( [in] short nItemId)
│ string getHelpText( [in] short nItemId)
│ short getItemCount()
│ short getItemId( [in] short nItemPos)
│ short getItemPos( [in] short nItemId)
│ string getItemText( [in] short nItemId)
│ .awt.MenuItemType getItemType( [in] short nItemPos)
│ .awt.XPopupMenu getPopupMenu( [in] short nItemId)
│ string getTipHelpText( [in] short nItemId)
│ void hideDisabledEntries( [in] boolean bHide)
│ void insertItem( [in] short nItemId,
│ [in] string aText,
│ [in] short nItemStyle,
│ [in] short nItemPos)
│ boolean isItemEnabled( [in] short nItemId)
│ boolean isPopupMenu()
│ void removeItem( [in] short nItemPos,
│ [in] short nCount)
│ void removeMenuListener( [in] .awt.XMenuListener xListener)
│ void setCommand( [in] short nItemId,
│ [in] string aCommand)
│ void setHelpCommand( [in] short nItemId,
│ [in] string aCommand)
│ void setHelpText( [in] short nItemId,
│ [in] string sHelpText)
│ void setItemText( [in] short nItemId,
│ [in] string aText)
│ void setPopupMenu( [in] short nItemId,
│ [in] .awt.XPopupMenu aPopupMenu)
│ void setTipHelpText( [in] short nItemId,
│ [in] string sTipHelpText)
└─stardiv.vcl.MenuBar
PopupMenuのサービスとインターフェイスの一覧
├─.awt.PopupMenu
│ └─.awt.XPopupMenu
│ │ void checkItem( [in] short nItemId,
│ │ [in] boolean bCheck)
│ │ void endExecute()
│ │ short execute( [in] .awt.XWindowPeer Parent,
│ │ [in] .awt.Rectangle Position,
│ │ [in] short Direction)
│ │ .awt.KeyEvent getAcceleratorKeyEvent( [in] short nItemId)
│ │ short getDefaultItem()
│ │ .graphic.XGraphic getItemImage( [in] short nItemId)
│ │ void insertSeparator( [in] short nItemPos)
│ │ boolean isInExecute()
│ │ boolean isItemChecked( [in] short nItemId)
│ │ void setAcceleratorKeyEvent( [in] short nItemId,
│ │ [in] .awt.KeyEvent aKeyEvent)
│ │ void setDefaultItem( [in] short nItemId)
│ │ void setItemImage( [in] short nItemId,
│ │ [in] .graphic.XGraphic xGraphic,
│ │ [in] boolean bScale)
│ └─.awt.XMenu
│ void addMenuListener( [in] .awt.XMenuListener xListener)
│ void clear()
│ void enableAutoMnemonics( [in] boolean bEnable)
│ void enableItem( [in] short nItemId,
│ [in] boolean bEnable)
│ string getCommand( [in] short nItemId)
│ string getHelpCommand( [in] short nItemId)
│ string getHelpText( [in] short nItemId)
│ short getItemCount()
│ short getItemId( [in] short nItemPos)
│ short getItemPos( [in] short nItemId)
│ string getItemText( [in] short nItemId)
│ .awt.MenuItemType getItemType( [in] short nItemPos)
│ .awt.XPopupMenu getPopupMenu( [in] short nItemId)
│ string getTipHelpText( [in] short nItemId)
│ void hideDisabledEntries( [in] boolean bHide)
│ void insertItem( [in] short nItemId,
│ [in] string aText,
│ [in] short nItemStyle,
│ [in] short nItemPos)
│ boolean isItemEnabled( [in] short nItemId)
│ boolean isPopupMenu()
│ void removeItem( [in] short nItemPos,
│ [in] short nCount)
│ void removeMenuListener( [in] .awt.XMenuListener xListener)
│ void setCommand( [in] short nItemId,
│ [in] string aCommand)
│ void setHelpCommand( [in] short nItemId,
│ [in] string aCommand)
│ void setHelpText( [in] short nItemId,
│ [in] string sHelpText)
│ void setItemText( [in] short nItemId,
│ [in] string aText)
│ void setPopupMenu( [in] short nItemId,
│ [in] .awt.XPopupMenu aPopupMenu)
│ void setTipHelpText( [in] short nItemId,
│ [in] string sTipHelpText)
└─stardiv.vcl.PopupMenu
│ └─.awt.XPopupMenu
│ │ void checkItem( [in] short nItemId,
│ │ [in] boolean bCheck)
│ │ void endExecute()
│ │ short execute( [in] .awt.XWindowPeer Parent,
│ │ [in] .awt.Rectangle Position,
│ │ [in] short Direction)
│ │ .awt.KeyEvent getAcceleratorKeyEvent( [in] short nItemId)
│ │ short getDefaultItem()
│ │ .graphic.XGraphic getItemImage( [in] short nItemId)
│ │ void insertSeparator( [in] short nItemPos)
│ │ boolean isInExecute()
│ │ boolean isItemChecked( [in] short nItemId)
│ │ void setAcceleratorKeyEvent( [in] short nItemId,
│ │ [in] .awt.KeyEvent aKeyEvent)
│ │ void setDefaultItem( [in] short nItemId)
│ │ void setItemImage( [in] short nItemId,
│ │ [in] .graphic.XGraphic xGraphic,
│ │ [in] boolean bScale)
│ └─.awt.XMenu
│ void addMenuListener( [in] .awt.XMenuListener xListener)
│ void clear()
│ void enableAutoMnemonics( [in] boolean bEnable)
│ void enableItem( [in] short nItemId,
│ [in] boolean bEnable)
│ string getCommand( [in] short nItemId)
│ string getHelpCommand( [in] short nItemId)
│ string getHelpText( [in] short nItemId)
│ short getItemCount()
│ short getItemId( [in] short nItemPos)
│ short getItemPos( [in] short nItemId)
│ string getItemText( [in] short nItemId)
│ .awt.MenuItemType getItemType( [in] short nItemPos)
│ .awt.XPopupMenu getPopupMenu( [in] short nItemId)
│ string getTipHelpText( [in] short nItemId)
│ void hideDisabledEntries( [in] boolean bHide)
│ void insertItem( [in] short nItemId,
│ [in] string aText,
│ [in] short nItemStyle,
│ [in] short nItemPos)
│ boolean isItemEnabled( [in] short nItemId)
│ boolean isPopupMenu()
│ void removeItem( [in] short nItemPos,
│ [in] short nCount)
│ void removeMenuListener( [in] .awt.XMenuListener xListener)
│ void setCommand( [in] short nItemId,
│ [in] string aCommand)
│ void setHelpCommand( [in] short nItemId,
│ [in] string aCommand)
│ void setHelpText( [in] short nItemId,
│ [in] string sHelpText)
│ void setItemText( [in] short nItemId,
│ [in] string aText)
│ void setPopupMenu( [in] short nItemId,
│ [in] .awt.XPopupMenu aPopupMenu)
│ void setTipHelpText( [in] short nItemId,
│ [in] string sTipHelpText)
└─stardiv.vcl.PopupMenu
コントロールダイアログと違ってdispose()メソッドはありません。
そうするとMenuBarやPopupMenuに追加したリスナーのdisposing()メソッドが発火する機会がないことになります。
hideDisabledEntries(False) で無効にしたメニュー項目を表示することができるのかと思いましたが、そうはなりませんでした。
0 件のコメント:
コメントを投稿