< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/SeparatorMenuItem.java

Print this page

        

*** 36,47 **** * A {@link MenuItem} that as the name suggests allows for a horizontal Separator to be embedded within it, * by assigning a {@link Separator} to the {@link #contentProperty() content} property of the {@link CustomMenuItem} * This is provided for convenience as groups of {@link MenuItem menuitems} can be separated * by a separator. Instead of a creating a {@link CustomMenuItem} for this purpose, the user * can use this class as indicated below. ! * <p> ! * <p> <pre><code> SeparatorMenuItem separatorMenuItem = new SeparatorMenuItem(); </code></pre> * <p> * --- 36,46 ---- * A {@link MenuItem} that as the name suggests allows for a horizontal Separator to be embedded within it, * by assigning a {@link Separator} to the {@link #contentProperty() content} property of the {@link CustomMenuItem} * This is provided for convenience as groups of {@link MenuItem menuitems} can be separated * by a separator. Instead of a creating a {@link CustomMenuItem} for this purpose, the user * can use this class as indicated below. ! * <pre><code> SeparatorMenuItem separatorMenuItem = new SeparatorMenuItem(); </code></pre> * <p> *
< prev index next >