MenuItem.setBreak

Overview | Methods | This Package | All Packages

MenuItem.setBreak

Sets a boolean value that determines whether this menu item should be placed on a new line (if the item is part of a menu bar) or in a new column (if the item is part of a drop-down menu, submenu, or shortcut menu).

Syntax

public void setBreak( boolean value )

Parameters

value

Set to true to place the menu item on a new line or in a new column; otherwise, set to false.

Remarks

For a drop-down menu, submenu, or shortcut menu, no vertical line separates the columns.

See Also   getBarBreak, setBarBreak