JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Wrapper for a native MenuItem for use in a NativeMenu.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicactionfunction():Void

Action that will get executed when this menu item is clicked.

publictextString

The name of this menu item.

The name of this menu item. Corresponds to the label property on the native peer.

 

Inherited Variables

Function Summary

public getMenuItem() : java.awt.MenuItem

Returns the java.awt.MenuItem instance associated with this class.

Returns the java.awt.MenuItem instance associated with this class.

Returns
MenuItem
The native java.awt.MenuItem instance
 

Inherited Functions