com.cc.framework.ui
Class SelectMode

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

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

Enumeration for select nodes of checkboxes in a list or tree control.

The selection mode single means that only one checkbox can be selected. So other check ckeckboxes will be unchecked. If you choose the select mode multiple different chekcboxes can be checked at the same time.

Since:
1.0
Version:
$Revision: 1.17 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static SelectMode[] ALL
          Collection with all objects
static SelectMode MULTIPLE
          mode: MULTIPLE
static SelectMode NONE
          mode: NONE
private static long serialVersionUID
          Serial Version UID
static SelectMode SINGLE
          mode: SINGLE
private  java.lang.String type
          The internal type
 
Constructor Summary
private SelectMode(java.lang.String type)
          Constructor for SelectMode
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static SelectMode parse(java.lang.String code)
          Creates for the argument an object of type SelectMode
 java.lang.String toString()
          Returns a string representation for the object
 
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

NONE

public static final SelectMode NONE
mode: NONE


SINGLE

public static final SelectMode SINGLE
mode: SINGLE


MULTIPLE

public static final SelectMode MULTIPLE
mode: MULTIPLE


type

private java.lang.String type
The internal type


ALL

private static final SelectMode[] ALL
Collection with all objects

Constructor Detail

SelectMode

private SelectMode(java.lang.String type)
Constructor for SelectMode

Parameters:
type - The select mode
Method Detail

toString

public java.lang.String toString()
Returns a string representation for the object

Returns:
The select mode

equals

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

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

hashCode

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

parse

public static SelectMode parse(java.lang.String code)
Creates for the argument an object of type SelectMode

Parameters:
code - String to parse
Returns:
The new Object


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