com.cc.framework.ui
Class RunAt

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

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

The runat attribute tells a Control if it should work with or without server roundtrips. So possible values are:

Important: At this time only the tabset control supports this feature. In the next release the tree control will also support this feature.

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

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

DEFAULT

public static final RunAt DEFAULT
RunAt: NONE


CLIENT

public static final RunAt CLIENT
RunAt: SINGLE


SERVER

public static final RunAt SERVER
RunAt: MULTIPLE


AUTO

public static final RunAt AUTO
RunAt: AUTO


type

private java.lang.String type
The internal type


ALL

private static final RunAt[] ALL
Collection with all elements

Constructor Detail

RunAt

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

Parameters:
type - The type
Method Detail

equals

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

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

hashCode

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

parse

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

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

getType

public java.lang.String getType()
Returns a string representation for the object in upper case letters

Returns:
The internal type

toString

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

Returns:
The internal type


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