JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
IndexedSeekBar.java
Go to the documentation of this file.
1 package jarmos.app.misc.rb;
2 
3 import android.content.Context;
4 import android.widget.SeekBar;
5 
15 public class IndexedSeekBar extends SeekBar {
16 
17  private int mIndex;
18 
19  public IndexedSeekBar(Context c) {
20  super(c);
21 
22  mIndex = 0;
23  }
24 
25  public void setIndex(int index_in) {
26  mIndex = index_in;
27  }
28 
29  public int getIndex() {
30  return mIndex;
31  }
32 }
Utility class for a seekbar with index.