SCROLLBAR

Overview

The SCROLLBAR class implements ISMScrollbar and IPrefixedConstantsObject to provide constants related to scrollbars in a solution model. It includes a getPrefix method that returns the prefix "SM_SCROLLBAR" for identifying related constants and overrides the toString method to provide a descriptive name.

Constants Summarized

Type
Name
Summary

Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.

Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.

Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.

Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed only when needed.

Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.

Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.

Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.

Constants Detailed

HORIZONTAL_SCROLLBAR_ALWAYS

Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.

Type Number

Sample

HORIZONTAL_SCROLLBAR_AS_NEEDED

Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.

Type Number

Sample

HORIZONTAL_SCROLLBAR_NEVER

Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.

Type Number

Sample

SCROLLBARS_WHEN_NEEDED

Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed only when needed.

Type Number

Sample

VERTICAL_SCROLLBAR_ALWAYS

Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.

Type Number

Sample

VERTICAL_SCROLLBAR_AS_NEEDED

Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.

Type Number

Sample

VERTICAL_SCROLLBAR_NEVER

Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.

Type Number

Sample


Last updated

Was this helpful?