com.tensegrity.composite.geometry
Class GeometryHints

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

public class GeometryHints
extends java.lang.Object

The GeometryHints define some geometrical hints that are used with the Primitives inside a Composite.

Version:
$Id: GeometryHints.java,v 1.13 2005/10/17 07:35:31 MichaelKegel Exp $
Author:
MKegel

Field Summary
static java.lang.String GEOMETRY_HINTKEY_CARE_LABELSIZE_ADJUSTMENT
          Name of the attribute that determines whether a composite should care about label-size-adjustments or not
static java.lang.String GEOMETRY_HINTKEY_IGNOREFOR_CONTENTBORDERS
           
static java.lang.String GEOMETRY_HINTKEY_IGNOREFOR_MINIMUMSIZE
           
static java.lang.String GEOMETRY_HINTKEY_IGNOREFORSIZEADJUSTMENT
           
static java.lang.String GEOMETRY_HINTKEY_LABEL_RESIZES_COMPOSITE_X
           
static java.lang.String GEOMETRY_HINTKEY_LABEL_RESIZES_COMPOSITE_Y
           
static java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_SEGMENT
           
static java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X
          Name of the attribute for the horizontal location adjustment type for x
static java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X1
          Name of the attribute for the horizontal location adjustment type for x1
static java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X2
          Name of the attribute for the horizontal location adjustment type for x2
static java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y
          Name of the attribute for the horizontal location adjustment type for y
static java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y1
          Name of the attribute for the vertical location adjustment type for y1
static java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y2
          Name of the attribute for the vertical location adjustment type for y2
static java.lang.String GEOMETRY_HINTKEY_SIZEADJUSTMENT_X
          Name of the attribute for the horizontal size adjustment type
static java.lang.String GEOMETRY_HINTKEY_SIZEADJUSTMENT_Y
          Name of the attribute for the vertical size adjustment type
 
Method Summary
static java.lang.String[] getConstantsList()
           
static java.lang.String[] getFunctionsList()
           
static boolean isLocationAdjustmentConstant(java.lang.String adjustment)
           
static boolean isSizeAdjustmentConstant(java.lang.String adjustment)
           
static void registerCompositeAdjustmentConstants(java.util.Map constants, Composite c)
           
static void registerCompositeGroupConstants(java.util.Map constants, CompositeGroup cg)
           
static void registerCoordinateSystemConstants(java.util.Map constants, CoordinateSystem coordSystem)
           
static void registerScaleConstants(java.util.Map constants, double scalefactorX, double scalefactorY, double unscalefactorX, double unscalefactorY)
           
static void unregisterCompositeAdjustmentConstants(java.util.Map constants)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GEOMETRY_HINTKEY_CARE_LABELSIZE_ADJUSTMENT

public static final java.lang.String GEOMETRY_HINTKEY_CARE_LABELSIZE_ADJUSTMENT
Name of the attribute that determines whether a composite should care about label-size-adjustments or not

See Also:
Constant Field Values

GEOMETRY_HINTKEY_LABEL_RESIZES_COMPOSITE_X

public static final java.lang.String GEOMETRY_HINTKEY_LABEL_RESIZES_COMPOSITE_X
See Also:
Constant Field Values

GEOMETRY_HINTKEY_LABEL_RESIZES_COMPOSITE_Y

public static final java.lang.String GEOMETRY_HINTKEY_LABEL_RESIZES_COMPOSITE_Y
See Also:
Constant Field Values

GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X

public static final java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X
Name of the attribute for the horizontal location adjustment type for x

See Also:
Constant Field Values

GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y

public static final java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y
Name of the attribute for the horizontal location adjustment type for y

See Also:
Constant Field Values

GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_SEGMENT

public static final java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_SEGMENT
See Also:
Constant Field Values

GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X1

public static final java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X1
Name of the attribute for the horizontal location adjustment type for x1

See Also:
Constant Field Values

GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y1

public static final java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y1
Name of the attribute for the vertical location adjustment type for y1

See Also:
Constant Field Values

GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X2

public static final java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_X2
Name of the attribute for the horizontal location adjustment type for x2

See Also:
Constant Field Values

GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y2

public static final java.lang.String GEOMETRY_HINTKEY_LOCATIONADJUSTMENT_Y2
Name of the attribute for the vertical location adjustment type for y2

See Also:
Constant Field Values

GEOMETRY_HINTKEY_SIZEADJUSTMENT_X

public static final java.lang.String GEOMETRY_HINTKEY_SIZEADJUSTMENT_X
Name of the attribute for the horizontal size adjustment type

See Also:
Constant Field Values

GEOMETRY_HINTKEY_SIZEADJUSTMENT_Y

public static final java.lang.String GEOMETRY_HINTKEY_SIZEADJUSTMENT_Y
Name of the attribute for the vertical size adjustment type

See Also:
Constant Field Values

GEOMETRY_HINTKEY_IGNOREFORSIZEADJUSTMENT

public static final java.lang.String GEOMETRY_HINTKEY_IGNOREFORSIZEADJUSTMENT
See Also:
Constant Field Values

GEOMETRY_HINTKEY_IGNOREFOR_CONTENTBORDERS

public static final java.lang.String GEOMETRY_HINTKEY_IGNOREFOR_CONTENTBORDERS
See Also:
Constant Field Values

GEOMETRY_HINTKEY_IGNOREFOR_MINIMUMSIZE

public static final java.lang.String GEOMETRY_HINTKEY_IGNOREFOR_MINIMUMSIZE
See Also:
Constant Field Values
Method Detail

isLocationAdjustmentConstant

public static final boolean isLocationAdjustmentConstant(java.lang.String adjustment)

isSizeAdjustmentConstant

public static final boolean isSizeAdjustmentConstant(java.lang.String adjustment)

getConstantsList

public static final java.lang.String[] getConstantsList()

getFunctionsList

public static final java.lang.String[] getFunctionsList()

registerCoordinateSystemConstants

public static final void registerCoordinateSystemConstants(java.util.Map constants,
                                                           CoordinateSystem coordSystem)

registerScaleConstants

public static final void registerScaleConstants(java.util.Map constants,
                                                double scalefactorX,
                                                double scalefactorY,
                                                double unscalefactorX,
                                                double unscalefactorY)

registerCompositeGroupConstants

public static final void registerCompositeGroupConstants(java.util.Map constants,
                                                         CompositeGroup cg)

registerCompositeAdjustmentConstants

public static final void registerCompositeAdjustmentConstants(java.util.Map constants,
                                                              Composite c)

unregisterCompositeAdjustmentConstants

public static final void unregisterCompositeAdjustmentConstants(java.util.Map constants)


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