Holger's
Java API

com.antelmann.util.gui
Enum JDateIntervalChooser.Interval

java.lang.Object
  extended by java.lang.Enum<JDateIntervalChooser.Interval>
      extended by com.antelmann.util.gui.JDateIntervalChooser.Interval
All Implemented Interfaces:
Serializable, Comparable<JDateIntervalChooser.Interval>
Enclosing class:
JDateIntervalChooser

public static enum JDateIntervalChooser.Interval
extends Enum<JDateIntervalChooser.Interval>


Enum Constant Summary
DAY
           
MONTH
           
WEEK
           
YEAR
           
 
Method Summary
static JDateIntervalChooser.Interval valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JDateIntervalChooser.Interval[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DAY

public static final JDateIntervalChooser.Interval DAY

WEEK

public static final JDateIntervalChooser.Interval WEEK

MONTH

public static final JDateIntervalChooser.Interval MONTH

YEAR

public static final JDateIntervalChooser.Interval YEAR
Method Detail

values

public static final JDateIntervalChooser.Interval[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(JDateIntervalChooser.Interval c : JDateIntervalChooser.Interval.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static JDateIntervalChooser.Interval valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads