com.cc.framework.ui.model
Class ButtonType

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

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

Enumeration Button-Types

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

Field Summary
private static ButtonType[] ALL
          Collection with all elements
static ButtonType BUTTON
          ButtonType: button
static ButtonType CANCEL
          ButtonType: cancel
static ButtonType RESET
          ButtonType: reset
private static long serialVersionUID
          Serial Version UID
static ButtonType SUBMIT
          ButtonType: submit
private  java.lang.String type
          Internal Type
 
Constructor Summary
private ButtonType(java.lang.String type)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static ButtonType parse(java.lang.String code)
          Creates for the argument an Object of Type ButtonType
 java.lang.String toString()
          Returns the Type
 
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

BUTTON

public static final ButtonType BUTTON
ButtonType: button


SUBMIT

public static final ButtonType SUBMIT
ButtonType: submit


CANCEL

public static final ButtonType CANCEL
ButtonType: cancel


RESET

public static final ButtonType RESET
ButtonType: reset


type

private java.lang.String type
Internal Type


ALL

private static final ButtonType[] ALL
Collection with all elements

Constructor Detail

ButtonType

private ButtonType(java.lang.String type)
Constructor

Parameters:
type - Type
Method Detail

toString

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

Returns:
String

equals

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

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

hashCode

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

parse

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

Parameters:
code - String to parse
Returns:
ButtonType


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