Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
mlabuda edited this page Feb 18, 2014 · 3 revisions

API / Abstract

  • Scale / AbstractScale

Implementation(s)

  • DefaultScale

Usage

DefaultScale

img/.png

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