com.tensegrity.composite.geometry
Class GeometryHintSizeAdjustment

java.lang.Object
  extended bycom.tensegrity.composite.geometry.GeometryHintSizeAdjustment

public final class GeometryHintSizeAdjustment
extends java.lang.Object

TODO: comment

Version:
$Id: GeometryHintSizeAdjustment.java,v 1.1 2005/01/06 08:16:25 MichaelKegel Exp $
Author:
MKegel

Field Summary
 int adjustment
           
static int FIXED
          constant that tells about a size adjustment type
static int NONE
          constant that tells about a size adjustment type
static int PROPORTIONAL
          constant that tells about a size adjustment type
static int SCALETOCOORDSYSTEM_X_MAX
          constant that tells about a size adjustment type
static int SCALETOCOORDSYSTEM_Y_MAX
          constant that tells about a size adjustment type
static int SCALETOCOORDSYSTEMRANGE_X
          constant that tells about a size adjustment type
static int SCALETOCOORDSYSTEMRANGE_Y
          constant that tells about a size adjustment type
 
Constructor Summary
GeometryHintSizeAdjustment()
           
GeometryHintSizeAdjustment(int adjustment)
           
 
Method Summary
static int toConstant(java.lang.String adjustment)
          Converts the size adjustment string representation given by adjustment into the according constant.
static java.lang.Integer toObject(int adjustment)
           
static java.lang.String toString(int adjustment)
          Converts the size adjustment constant given by adjustment into the according string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
constant that tells about a size adjustment type

See Also:
Constant Field Values

PROPORTIONAL

public static final int PROPORTIONAL
constant that tells about a size adjustment type

See Also:
Constant Field Values

FIXED

public static final int FIXED
constant that tells about a size adjustment type

See Also:
Constant Field Values

SCALETOCOORDSYSTEMRANGE_X

public static final int SCALETOCOORDSYSTEMRANGE_X
constant that tells about a size adjustment type

See Also:
Constant Field Values

SCALETOCOORDSYSTEMRANGE_Y

public static final int SCALETOCOORDSYSTEMRANGE_Y
constant that tells about a size adjustment type

See Also:
Constant Field Values

SCALETOCOORDSYSTEM_X_MAX

public static final int SCALETOCOORDSYSTEM_X_MAX
constant that tells about a size adjustment type

See Also:
Constant Field Values

SCALETOCOORDSYSTEM_Y_MAX

public static final int SCALETOCOORDSYSTEM_Y_MAX
constant that tells about a size adjustment type

See Also:
Constant Field Values

adjustment

public int adjustment
Constructor Detail

GeometryHintSizeAdjustment

public GeometryHintSizeAdjustment()

GeometryHintSizeAdjustment

public GeometryHintSizeAdjustment(int adjustment)
Method Detail

toConstant

public static final int toConstant(java.lang.String adjustment)
Converts the size adjustment string representation given by adjustment into the according constant.

Parameters:
adjustment - the size adjustment string representation to convert
Returns:
int the according constant

toString

public static final java.lang.String toString(int adjustment)
Converts the size adjustment constant given by adjustment into the according string representation.

Parameters:
adjustment - the size adjustment constant to convert
Returns:
String the according string represenation

toObject

public static final java.lang.Integer toObject(int adjustment)


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.