Retrieves a value indicating whether the trackbar is oriented horizontally or vertically.
public int getOrientation()
Returns Orientation.HORIZONTAL if the trackbar is oriented horizontally; returns Orientation.VERTICAL if the trackbar is oriented vertically.
See Also setOrientation