Skip to content
mlabuda edited this page Feb 18, 2014 · 3 revisions

API / Abstract

  • Scale / AbstractScale

Implementation(s)

  • DefaultScale

Usage

DefaultScale

Look up a scale with index 0

Scale scale = new DefaultScale(0);

Set focus on the scale

scale.setFocus();

Get current value

int current = scale.getSelection();

Get minimum value

int min = scale.getMinimum();

Get maximum value

int min = scale.getMaximum();

Set value to 100

scale.setSelection(100);
Clone this wiki locally