TrackBar.setOrientation

Overview | Methods | This Package | All Packages

TrackBar.setOrientation

Sets a value indicating whether the trackbar is oriented horizontally or vertically.

Syntax

public void setOrientation( int value )

Parameters

value

Set to Orientation.HORIZONTAL to orient the trackbar horizontally; set to Orientation.VERTICAL to orient the trackbar vertically. The default value is Orientation.HORIZONTAL.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid Orientation constant.

See Also   getOrientation