public final StringProperty idProperty ()

taken from field

The id of this MenuItem. This simple string identifier is useful for finding a specific MenuItem within the scene graph.