edu.sc.seis.fissuresUtil.chooser
Class IntervalChooserOptions

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.chooser.IntervalChooserOptions

public class IntervalChooserOptions
extends java.lang.Object

IntervalChooserOptions.java Created: Fri Feb 15 14:36:51 2002


Field Summary
static IntervalChooserOptions DAY
          DAY.
static IntervalChooserOptions HOUR
          HOUR.
static IntervalChooserOptions MINUTE
          MINUTE.
static IntervalChooserOptions MONTH
          MONTH.
static IntervalChooserOptions SECOND
          SECOND.
static IntervalChooserOptions YEAR
          YEAR.
 
Method Summary
 int getIntervalChooserValue()
          returns the integer value of this option.
 int getMaximumValue()
          returns the maximum value for this particular option.
 int getMinimumValue()
          returns the minimum value for this particular option.
 void setMaximumValue(int value)
          sets the maximum value for this particular option.
 void setMinimumValue(int value)
          sets the minimum value for this particular option.
 java.lang.String toString()
          returns the string representation of this option.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SECOND

public static final IntervalChooserOptions SECOND
SECOND.


MINUTE

public static final IntervalChooserOptions MINUTE
MINUTE.


HOUR

public static final IntervalChooserOptions HOUR
HOUR.


DAY

public static final IntervalChooserOptions DAY
DAY.


MONTH

public static final IntervalChooserOptions MONTH
MONTH.


YEAR

public static final IntervalChooserOptions YEAR
YEAR.

Method Detail

setMinimumValue

public void setMinimumValue(int value)
sets the minimum value for this particular option.

Parameters:
value - an int value

setMaximumValue

public void setMaximumValue(int value)
sets the maximum value for this particular option.

Parameters:
value - an int value

getMinimumValue

public int getMinimumValue()
returns the minimum value for this particular option.

Returns:
an int value

getMaximumValue

public int getMaximumValue()
returns the maximum value for this particular option.

Returns:
an int value

getIntervalChooserValue

public int getIntervalChooserValue()
returns the integer value of this option.

Returns:
an int value

toString

public java.lang.String toString()
returns the string representation of this option.

Overrides:
toString in class java.lang.Object
Returns:
a String value