org.problets.lib.io.output
Class ProgressBarModel

java.lang.Object
  extended by org.problets.lib.io.output.ProgressBarModel

public class ProgressBarModel
extends java.lang.Object

Holds data for one ProgressBar, consisting of a string and an integer

Author:
Amruth Kumar

Field Summary
static int DEFAULT_MAXIMUM
           
static int DEFAULT_MINIMUM
           
 
Constructor Summary
ProgressBarModel(java.lang.String inName, int inValue)
           
ProgressBarModel(java.lang.String inName, int inValue, int inMinimum, int inMaximum)
           
 
Method Summary
 java.lang.String getName()
           
 int getValue()
           
static void main(java.lang.String[] args)
           
 void setMaximum(int inMaximum)
           
 void setValue(int inValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MINIMUM

public static final int DEFAULT_MINIMUM
See Also:
Constant Field Values

DEFAULT_MAXIMUM

public static final int DEFAULT_MAXIMUM
See Also:
Constant Field Values
Constructor Detail

ProgressBarModel

public ProgressBarModel(java.lang.String inName,
                        int inValue)

ProgressBarModel

public ProgressBarModel(java.lang.String inName,
                        int inValue,
                        int inMinimum,
                        int inMaximum)
Method Detail

getName

public java.lang.String getName()

getValue

public int getValue()

setValue

public void setValue(int inValue)

setMaximum

public void setMaximum(int inMaximum)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

main

public static void main(java.lang.String[] args)