com.sas.visuals
Interface ScrollbarVisibilityInterface

All Known Implementing Classes:
TableView, TreeView, TreeView

public interface ScrollbarVisibilityInterface

ScrollbarVisibilityInterface defines a set of methods and constants for objects that support hiding and showing of scrollbars.


Field Summary
static int SCROLLBARS_ALWAYS
          Indicates that scrollbars are to always be displayed.
static int SCROLLBARS_AS_NEEDED
          Indicates that scrollbars are to be displayed only when they are needed.
static int SCROLLBARS_NEVER
          Indicates that scrollbars are to never be displayed.
 
Method Summary
 int getHorizontalScrollbarVisibility()
          Returns the horizontal scrollbar's visibility.
 int getVerticalScrollbarVisibility()
          Returns the vertical scrollbar's visibility.
 void setHorizontalScrollbarVisibility(int newValue)
          Sets the horizontal scrollbar's visibility.
 void setVerticalScrollbarVisibility(int newValue)
          Sets the vertical scrollbar's visibility.
 

Field Detail

SCROLLBARS_AS_NEEDED

static final int SCROLLBARS_AS_NEEDED
Indicates that scrollbars are to be displayed only when they are needed.

See Also:
Constant Field Values

SCROLLBARS_ALWAYS

static final int SCROLLBARS_ALWAYS
Indicates that scrollbars are to always be displayed.

See Also:
Constant Field Values

SCROLLBARS_NEVER

static final int SCROLLBARS_NEVER
Indicates that scrollbars are to never be displayed.

See Also:
Constant Field Values
Method Detail

getHorizontalScrollbarVisibility

int getHorizontalScrollbarVisibility()
Returns the horizontal scrollbar's visibility.

Returns:
Indicates when the horizontal scrollbar should be displayed. Possible values are SCROLLBARS_AS_NEEDED, SCROLLBARS_ALWAYS, and SCROLLBARS_NEVER.

setHorizontalScrollbarVisibility

void setHorizontalScrollbarVisibility(int newValue)
Sets the horizontal scrollbar's visibility.

Parameters:
newValue - Indicates when the horizontal scrollbar should be displayed. Possible values are SCROLLBARS_AS_NEEDED, SCROLLBARS_ALWAYS, and SCROLLBARS_NEVER.

getVerticalScrollbarVisibility

int getVerticalScrollbarVisibility()
Returns the vertical scrollbar's visibility.

Returns:
Indicates when the vertical scrollbar should be displayed. Possible values are SCROLLBARS_AS_NEEDED, SCROLLBARS_ALWAYS, and SCROLLBARS_NEVER.

setVerticalScrollbarVisibility

void setVerticalScrollbarVisibility(int newValue)
Sets the vertical scrollbar's visibility.

Parameters:
newValue - Indicates when the vertical scrollbar should be displayed. Possible values are SCROLLBARS_AS_NEEDED, SCROLLBARS_ALWAYS, and SCROLLBARS_NEVER.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.