com.cc.framework.ui
Class OrientationType

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

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

Defines orienation types used in the Common Controls Framework

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

Field Summary
private static OrientationType[] ALL
          Collection with all kinds of alignment types
static OrientationType HORIZONTAL
          orienation type: left
private static long serialVersionUID
          Serial Version UID
private  java.lang.String type
          The internal type
static OrientationType VERTICAL
          orienation type: right
 
Constructor Summary
private OrientationType(java.lang.String type)
          Constructor for OrientationType
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static OrientationType parse(java.lang.String code)
          Creates for the argument an object of type OrientationType
 java.lang.String toString()
          Returns the orientation 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

HORIZONTAL

public static final OrientationType HORIZONTAL
orienation type: left


VERTICAL

public static final OrientationType VERTICAL
orienation type: right


type

private java.lang.String type
The internal type


ALL

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

Constructor Detail

OrientationType

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

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

toString

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

Returns:
The orientation type

equals

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

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

hashCode

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

parse

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

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


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