com.cc.framework.ui
Class AlignmentType

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

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

Defines alignment types used in the Common Controls Framework

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

Field Summary
static AlignmentType ABSMIDDLE
          alignment type: absmiddle
private static AlignmentType[] ALL
          Collection with all kinds of alignment types
static AlignmentType BASELINE
          alignment type: baseline
static AlignmentType BOTTOM
          alignment type: bottom
static AlignmentType CENTER
          alignment type: center
static AlignmentType LEFT
          alignment type: left
static AlignmentType MIDDLE
          alignment type: middle
static AlignmentType RIGHT
          alignment type: right
private static long serialVersionUID
          Serial Version UID
static AlignmentType TEXTTOP
          alignment type: texttop
static AlignmentType TOP
          alignment type: top
private  java.lang.String type
          The internal type
 
Constructor Summary
private AlignmentType(java.lang.String type)
          Constructor for AlignmentType
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static AlignmentType parse(java.lang.String code)
          Creates for the argument an object of type AlignmentType
 java.lang.String toString()
          Returns the alignment 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

LEFT

public static final AlignmentType LEFT
alignment type: left


RIGHT

public static final AlignmentType RIGHT
alignment type: right


CENTER

public static final AlignmentType CENTER
alignment type: center


TOP

public static final AlignmentType TOP
alignment type: top


TEXTTOP

public static final AlignmentType TEXTTOP
alignment type: texttop


BOTTOM

public static final AlignmentType BOTTOM
alignment type: bottom


BASELINE

public static final AlignmentType BASELINE
alignment type: baseline


ABSMIDDLE

public static final AlignmentType ABSMIDDLE
alignment type: absmiddle


MIDDLE

public static final AlignmentType MIDDLE
alignment type: middle


type

private java.lang.String type
The internal type


ALL

private static final AlignmentType[] ALL
Collection with all kinds of alignment types

Constructor Detail

AlignmentType

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

Parameters:
type - The alignment type to initialize the Object
Method Detail

toString

public java.lang.String toString()
Returns the alignment type

Returns:
The alignment type

equals

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

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

hashCode

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

parse

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

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


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