public int getOrientation ()

Returns the current orientation of the tool bar. The value is either HORIZONTAL or VERTICAL.

Returns:  an integer representing the current orientation -- either HORIZONTAL or VERTICAL

See also:
setOrientation