PMA.UI Documentation by Pathomation

DimensionSelector

DimensionSelector

Creates a new dimension selector control

Constructor

new DimensionSelector(opt_options)

Source:
Parameters:
Name Type Description
opt_options object Options to initialize
Properties
Name Type Description
pmaViewport Viewport Viewport instance this control belongs to
tipLabel string Label for the button
collapsed boolean Whether the control starts collapsed
stateManager Object The state manager to keep settings in sync

Classes

DimensionSelector

Methods

getCollapsed() → {boolean}

Source:
Gets the collapsed state of the control
Returns:
True if the control is currently collapsed
Type
boolean

setCollapsed(collapsed)

Source:
Sets the collapsed state of the control
Parameters:
Name Type Description
collapsed boolean True to collapse the control, otherwise false