com.cc.framework.ui
Class CheckRange

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

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

Defines the range how items can be checked in a control

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

Field Summary
static CheckRange ALL
          check all elements
private static CheckRange[] LIST
          Collection with all kinds of join modes
static CheckRange NONE
          do not check elements
static CheckRange PAGE
          check only elements that are visible on the current page
private  java.lang.String range
          The internal mode
private static long serialVersionUID
          Serial Version UID
 
Constructor Summary
private CheckRange(java.lang.String range)
          Constructor for CheckRange
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static CheckRange parse(java.lang.String code)
          Creates for the argument an object of type CheckRange
 java.lang.String toString()
          Returns the check range
static CheckRange valueOf(boolean b)
          Maps a boolean value to a CheckRange
 
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 CheckRange NONE
do not check elements


PAGE

public static final CheckRange PAGE
check only elements that are visible on the current page


ALL

public static final CheckRange ALL
check all elements


range

private java.lang.String range
The internal mode


LIST

private static final CheckRange[] LIST
Collection with all kinds of join modes

Constructor Detail

CheckRange

private CheckRange(java.lang.String range)
Constructor for CheckRange

Parameters:
range - The check range
Method Detail

toString

public java.lang.String toString()
Returns the check range

Returns:
The check range

equals

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

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

hashCode

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

parse

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

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

valueOf

public static CheckRange valueOf(boolean b)
Maps a boolean value to a CheckRange

Parameters:
b - the value to map
Returns:
JoinMode


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