public int getScrollbarVisibility ()

Returns an enumerated value that indicates which scroll bars the text area uses.

The TextArea class defines four integer constants that are used to specify which scroll bars are available. TextArea has one constructor that gives the application discretion over scroll bars.

Returns:  an integer that indicates which scroll bars are used

See also:
java.awt.TextArea.SCROLLBARS_BOTH, java.awt.TextArea.SCROLLBARS_VERTICAL_ONLY, java.awt.TextArea.SCROLLBARS_HORIZONTAL_ONLY, java.awt.TextArea.SCROLLBARS_NONE, java.awt.TextArea.TextArea(java.lang.String, int, int, int)

Since:  1.1