Sets the orientation of the tool bar. The orientation must have
either the value HORIZONTAL or VERTICAL.
If orientation is
an invalid value, an exception will be thrown.
o | the new orientation -- either HORIZONTAL or
VERTICAL |
IllegalArgumentException | if orientation is neither
HORIZONTAL nor VERTICAL |
getOrientation
Diagram: Menu