com.stringsandints.inventium.khlrooster.layout
Class NumberPicker

java.lang.Object
  extended by LinearLayout
      extended by com.stringsandints.inventium.khlrooster.layout.NumberPicker

public class NumberPicker
extends LinearLayout


Field Summary
private  int number
           
private  java.util.ArrayList<OnNumberListener> numberListeners
           
private  TextView tv
           
 
Constructor Summary
NumberPicker(Context context)
           
NumberPicker(Context context, AttributeSet attrs)
           
 
Method Summary
 void addOnNumberListener(OnNumberListener nl)
           
 int getNumber()
           
private  void prepare()
           
 void removeOnNumberListener(OnNumberListener nl)
           
 void setNumber(int number)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

number

private int number

numberListeners

private java.util.ArrayList<OnNumberListener> numberListeners

tv

private TextView tv
Constructor Detail

NumberPicker

public NumberPicker(Context context)

NumberPicker

public NumberPicker(Context context,
                    AttributeSet attrs)
Method Detail

setNumber

public void setNumber(int number)

getNumber

public int getNumber()

addOnNumberListener

public void addOnNumberListener(OnNumberListener nl)

removeOnNumberListener

public void removeOnNumberListener(OnNumberListener nl)

prepare

private void prepare()