MenuItem.setBarBreak

Overview | Methods | This Package | All Packages

MenuItem.setBarBreak

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 setBarBreak( 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 a shortcut menu, a vertical line separates the new column from the old.

See Also   getBarBreak, setBreak