com.cc.framework.ui.model
Class CalendarMode

java.lang.Object
  extended bycom.cc.framework.ui.model.CalendarMode
All Implemented Interfaces:
java.io.Serializable, SimpleEnumType

public final class CalendarMode
extends java.lang.Object
implements SimpleEnumType, java.io.Serializable

Enumeration for Calendar Modes

Version:
$Revision$
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static CalendarMode[] ALL
          Collection with all elements
static CalendarMode FIELDS
          ButtonType: split into separate fields
static CalendarMode INLINE
          ButtonType: inline calendar
private  java.lang.String mode
          Internal Mode Identifier
static CalendarMode POPUP
          ButtonType: popup calendar
private static long serialVersionUID
          Serial Version UID
 
Constructor Summary
private CalendarMode(java.lang.String mode)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static CalendarMode parse(java.lang.String code)
          Creates for the argument an Object of Type CalendarMode
 java.lang.String toString()
          Returns the mode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

POPUP

public static final CalendarMode POPUP
ButtonType: popup calendar


INLINE

public static final CalendarMode INLINE
ButtonType: inline calendar


FIELDS

public static final CalendarMode FIELDS
ButtonType: split into separate fields


mode

private java.lang.String mode
Internal Mode Identifier


ALL

private static final CalendarMode[] ALL
Collection with all elements

Constructor Detail

CalendarMode

private CalendarMode(java.lang.String mode)
Constructor

Parameters:
mode - Calendar Mode
Method Detail

toString

public java.lang.String toString()
Returns the mode

Returns:
String

equals

public boolean equals(java.lang.Object obj)
Compares this type to the specified object.

Parameters:
obj - The object to compare this CalendarMode object against.
Returns:
true if the internal types are equal; false otherwise.

hashCode

public int hashCode()
See Also:
Object.hashCode()

parse

public static CalendarMode parse(java.lang.String code)
Creates for the argument an Object of Type CalendarMode

Parameters:
code - String to parse
Returns:
CalendarMode


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.