Version 0.04

MenuTooltipFX

Author T201016 & Source by Steve Laming

Index < BLD_MenuCustom - BLD_MenuManager >


Class : BLD_MenuItemText    ShortName : BLD_MenuItemText

Properties:

Text As String
Get / Set the text of the menu item

StyleClass As List
Get the list of style classes set on this menu item


Methods:

Initialize(Module As Object, EventName As String, Text As String)
Initializes the object. You can add parameters to this method if needed.

SetGraphic(Graphic As Node, Tooltip As String) As BLD_MenuItemText
Set a Graphic on this menu item Returns the menu item

GetGraphic As Node
Get the graphic set on this menu item

SetShortCutKey(Combination As String) As BLD_MenuItemText
Set a shortcut key for this menu item Returns the menu item

SetBold(Bold As Boolean) As BLD_MenuItemText

SetVisibled(Visibled As Boolean) As BLD_MenuItemText
Set the visibled state for the menu item Returns the menu item

SetEnabled(Enabled As Boolean) As BLD_MenuItemText
Set the enabled state for this menu item Returns the menu item

GetEnabled As Boolean
Get the enabled state for this menu item

SetEventName(Name As String) As BLD_MenuItemText
Set an alternate event name for this menu item Returns the menu item

GetEventName As String
Get the alternate Event name for this menu item

SetMnemonicParsing(value As Boolean) As BLD_MenuItemText

isMnemonicParsing As Boolean

SetStyleClass(Class As String) As BLD_MenuItemText
Set a style class for this menu item, checks it is not already added Returns the menu item

SetTag(TTag As Object) As BLD_MenuItemText
Set a tag for this menu item Returns the menu item

GetTag As Object
Get the tag for this menu item

AsJavaObject As JavaObject
Get the native menu item as a Javaobject

AsObject As Object
Get the native menu item as an object