org.paneris.jammyjoes.mvp
Class TimesliceValue

java.lang.Object
  extended by org.paneris.jammyjoes.mvp.TimesliceValue
All Implemented Interfaces:
java.lang.Comparable

public class TimesliceValue
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
TimesliceValue(EquatableComparable month, java.lang.Double amount)
           
TimesliceValue(EquatableComparable month, int i)
           
 
Method Summary
 int compareTo(java.lang.Object arg)
           
 void copyInto(TimesliceValue other)
           
 double doubleValue()
           
 boolean equals(java.lang.Object arg)
           
 java.lang.String getDisplayHeight(TimesliceValue max)
           
 java.lang.String getDisplayMonth()
           
 java.lang.Double getDisplayValue()
           
 void setValue(java.lang.Double amount)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimesliceValue

public TimesliceValue(EquatableComparable month,
                      int i)

TimesliceValue

public TimesliceValue(EquatableComparable month,
                      java.lang.Double amount)
Method Detail

compareTo

public int compareTo(java.lang.Object arg)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object arg)
Overrides:
equals in class java.lang.Object

doubleValue

public double doubleValue()

setValue

public void setValue(java.lang.Double amount)

copyInto

public void copyInto(TimesliceValue other)

getDisplayMonth

public java.lang.String getDisplayMonth()

getDisplayValue

public java.lang.Double getDisplayValue()

getDisplayHeight

public java.lang.String getDisplayHeight(TimesliceValue max)


Copyright © 2001-2008 PanEris. All Rights Reserved.