Version 0.04

MenuTooltipFX

Author T201016 & Source by Steve Laming

Index < BLD_MenuCheckBox - BLD_MenuItemText >


Class : BLD_MenuCustom    ShortName : BLD_MenuCustom

Properties:

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


Methods:

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

GetContent As Node
Gets the value of the property content.

IsHideOnClick As Boolean
Gets the value of the property hideOnClick.

SetContent(Value As Node) As BLD_MenuCustom
Sets the value of the property content.

SetHideOnClick(Value As Boolean, MouseTransparent As Boolean) As BLD_MenuCustom
Sets the value of the property hideOnClick. Selecting MouseTransparent will make it non responsive to mouse hover and focus

SetGraphic(Graphic As Node, Tooltip As String) As BLD_MenuCustom
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_MenuCustom
Set a shortcut key for this menu item Returns the menu item

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

SetEnabled(Enabled As Boolean) As BLD_MenuCustom
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_MenuCustom
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

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

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

SetTag(TTag As Object) As BLD_MenuCustom
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