com.tensegrity.composite
Class CompositeAttributes

java.lang.Object
  extended bycom.tensegrity.composite.CompositeAttributes

public class CompositeAttributes
extends java.lang.Object

The CompositeAttributes class provides the names for the Attributes used within the composite-package.

Version:
$Id: CompositeAttributes.java,v 1.32 2006/04/27 15:30:25 MichaelKegel Exp $
Author:
MKegel

Field Summary
static boolean ALLOW_CURVEDEDGES
           
static java.lang.String ATTRIBUTENAME_ADJUSTSIZETO_SINGLECHILD
           
static java.lang.String ATTRIBUTENAME_ALLOWMEMBER_MOVING
          Constant for the allow member moving attribute name
static java.lang.String ATTRIBUTENAME_ALLOWMEMBER_RESIZING
          Constant for the allow member resizing attribute name
static java.lang.String ATTRIBUTENAME_ALLOWMEMBER_SELECTING
          Constant for the allow member selecting attribute name
static java.lang.String ATTRIBUTENAME_ANCHOR
          Constant for the anchor attribute
static java.lang.String ATTRIBUTENAME_BORDER
          Constant for the border attribute
static java.lang.String ATTRIBUTENAME_BOTTOMMARGIN
          BottomMargin attribute.
static java.lang.String ATTRIBUTENAME_DRAG_SOURCE
          Constant for the allow member resizing attribute name
static java.lang.String ATTRIBUTENAME_DROP_TARGET
          Constant for the allow member resizing attribute name
static java.lang.String ATTRIBUTENAME_FILL
          Constant for the fill attribute
static java.lang.String ATTRIBUTENAME_FOLDABLE
          Constant for the foldable attribute name
static java.lang.String ATTRIBUTENAME_FOLDING_ANCHOR
           
static java.lang.String ATTRIBUTENAME_FOLDSTATEBUTTON_ANCHOR
           
static java.lang.String ATTRIBUTENAME_FONT
          Constant for the font attribute
static java.lang.String ATTRIBUTENAME_GEOMETRY
          Constant for the geometry attribute
static java.lang.String ATTRIBUTENAME_HCONTENTBORDER
          Constant for the horizontal content border
static java.lang.String ATTRIBUTENAME_HEIGHT
          Constant for the vertical position attribute.
static java.lang.String ATTRIBUTENAME_INDEX
          Index attribute.
static java.lang.String ATTRIBUTENAME_ISLABELVISIBLE
          Deprecated. should be used nowhere
static java.lang.String ATTRIBUTENAME_LEFTMARGIN
          LeftMargin attribute.
static java.lang.String ATTRIBUTENAME_LINEPOSITION
          Constant for the label positioning attribute
static java.lang.String ATTRIBUTENAME_MARKERBEGIN
          Constant for the marker attribute at the starting point
static java.lang.String ATTRIBUTENAME_MARKEREND
          Constant for the marker attribute at the ending point
static java.lang.String ATTRIBUTENAME_MINHEIGHT
          Constant for the vertical position attribute.
static java.lang.String ATTRIBUTENAME_MINWIDTH
          Constant for the horizontal size attribute.
static java.lang.String ATTRIBUTENAME_PAINT
          Constant for a paint attribute
static java.lang.String ATTRIBUTENAME_PLACEMENT
          Constant for the placement attribute
static java.lang.String ATTRIBUTENAME_POSITION
          Constant for the label position attribute
static java.lang.String ATTRIBUTENAME_POSITIONING
          Constant for the label positioning attribute
static java.lang.String ATTRIBUTENAME_SHADOW
          Constant for the visibility attribute.
static java.lang.String ATTRIBUTENAME_SHADOWCOLOR
          Constant for the color attribute of shadows.
static java.lang.String ATTRIBUTENAME_SHADOWDIRECTION
          Constant for the direction attribute of shadows.
static java.lang.String ATTRIBUTENAME_SIZEADJUSTMENT
          Constant for the size adjustment attribute
static java.lang.String ATTRIBUTENAME_STROKE
          Constant for the stroke attribute
static java.lang.String ATTRIBUTENAME_STYLE
          Constant for the style attribute
static java.lang.String ATTRIBUTENAME_SWIMLANE
          SwimLane attribute.
static java.lang.String ATTRIBUTENAME_TEXT
          Constant for the text attribute
static java.lang.String ATTRIBUTENAME_TITLE
          Constant for the title attribute
static java.lang.String ATTRIBUTENAME_TOPMARGIN
          TopMargin attribute.
static java.lang.String ATTRIBUTENAME_TYPE
          Constant for the line type attribute
static java.lang.String ATTRIBUTENAME_VCONTENTBORDER
          Constant for the vertical content border
static java.lang.String ATTRIBUTENAME_VISIBLE
          Constant for the visibility attribute.
static java.lang.String ATTRIBUTENAME_WATERMARK
          Watermark attribute.
static java.lang.String ATTRIBUTENAME_WEIGHT
          Weight
static java.lang.String ATTRIBUTENAME_WIDTH
          Constant for the horizontal size attribute.
static java.lang.String ATTRIBUTENAME_X
          Constant for the horizontal position attribute.
static java.lang.String ATTRIBUTENAME_Y
          Constant for the vertical position attribute.
static java.lang.String CATEGORYNAME_APPEARANCE
          Constant for the label representation category
static java.lang.String CATEGORYNAME_GEOMETRY
          Constant for the geometry category.
static java.lang.String CATEGORYNAME_LABEL
          Constant for the label category
static java.lang.String CATEGORYNAME_LINE
          Constant for the label category
static java.lang.String CATEGORYNAME_REPRESENTATION
          Constant for the label representation category
static java.lang.String CATEGORYNAME_SIGN
          Constant for the label category
static java.lang.String MINIMUM_HEIGHT
          Name of the Attribute holding the maximum width
static java.lang.String MINIMUM_WIDTH
          Name of the Attribute holding the minimum width
 
Method Summary
static int compositelineIconPositioning2Constant(java.lang.String iconposition)
          Converts the String representation of one of the icon-positioning constants of a CompositeLine given by iconposition into the cooresponding label position constant.
static java.lang.String compositelineIconPositioning2String(int iconposition)
          Converts the icon-positioning constant of a CompositeLine given by iconposition into the corresponding String representation.
static int compositelineSignAnchor2Constant(java.lang.String anchor)
           
static java.lang.String compositelineSignAnchor2String(int anchor)
           
static int compositelineSignLinePosition2Constant(java.lang.String anchor)
           
static int compositelineSignPlacement2Constant(java.lang.String placement)
           
static java.lang.String compositelineSignPlacement2String(int placement)
           
static int foldplacementToConstant(java.lang.String foldplacement)
          Converts the fold placement string representation given by foldplacement into the corresponding constant.
static java.lang.String foldplacementToString(int foldplacement)
          Converts the fold placement given by foldplacement from the constant into a string representation.
static Constraint getCompositeGroupFoldingAnchorConstraint()
           
static Constraint getCompositeGroupFoldStateButtonAnchorConstraint()
           
static Constraint getCompositeLineIconPositioningConstraint()
          Returns a Constraint that can be used with the compositeline-icon-positioning Attribute.
static Constraint getCompositeLineSignAnchorConstraint()
           
static Constraint getCompositeLineSignPlacementConstraint()
           
static Constraint getLineTypeConstraint()
          Returns a Constraint that can be used with a line type Attribute.
static Constraint getSizeAdjustmentConstraint()
          Returns a Constraint that can be used with a size adjustment Attribute.
static int linetypeToConstant(java.lang.String type)
          Converts the line type string representation given by type into the corresponding constant.
static java.lang.String linetypeToString(int type)
          Converts the line type given by type from the constant into a string representation.
static int sizeadjustmentToConstant(java.lang.String sizeadjustment)
          Converts the size adjustment string representation given by sizeadjustment into the corresponding constant.
static java.lang.String sizeadjustmentToString(int sizeadjustment)
          Converts the size adjustment given by sizeadjustment from the constant into a string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CATEGORYNAME_LINE

public static final java.lang.String CATEGORYNAME_LINE
Constant for the label category

See Also:
Constant Field Values

CATEGORYNAME_GEOMETRY

public static final java.lang.String CATEGORYNAME_GEOMETRY
Constant for the geometry category.

See Also:
Constant Field Values

CATEGORYNAME_LABEL

public static final java.lang.String CATEGORYNAME_LABEL
Constant for the label category

See Also:
Constant Field Values

CATEGORYNAME_SIGN

public static final java.lang.String CATEGORYNAME_SIGN
Constant for the label category

See Also:
Constant Field Values

CATEGORYNAME_APPEARANCE

public static final java.lang.String CATEGORYNAME_APPEARANCE
Constant for the label representation category

See Also:
Constant Field Values

CATEGORYNAME_REPRESENTATION

public static final java.lang.String CATEGORYNAME_REPRESENTATION
Constant for the label representation category

See Also:
Constant Field Values

ATTRIBUTENAME_VISIBLE

public static final java.lang.String ATTRIBUTENAME_VISIBLE
Constant for the visibility attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_X

public static final java.lang.String ATTRIBUTENAME_X
Constant for the horizontal position attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_Y

public static final java.lang.String ATTRIBUTENAME_Y
Constant for the vertical position attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_WIDTH

public static final java.lang.String ATTRIBUTENAME_WIDTH
Constant for the horizontal size attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_HEIGHT

public static final java.lang.String ATTRIBUTENAME_HEIGHT
Constant for the vertical position attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_MINWIDTH

public static final java.lang.String ATTRIBUTENAME_MINWIDTH
Constant for the horizontal size attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_MINHEIGHT

public static final java.lang.String ATTRIBUTENAME_MINHEIGHT
Constant for the vertical position attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_VCONTENTBORDER

public static final java.lang.String ATTRIBUTENAME_VCONTENTBORDER
Constant for the vertical content border

See Also:
Constant Field Values

ATTRIBUTENAME_HCONTENTBORDER

public static final java.lang.String ATTRIBUTENAME_HCONTENTBORDER
Constant for the horizontal content border

See Also:
Constant Field Values

ATTRIBUTENAME_SIZEADJUSTMENT

public static final java.lang.String ATTRIBUTENAME_SIZEADJUSTMENT
Constant for the size adjustment attribute

See Also:
Constant Field Values

ATTRIBUTENAME_ADJUSTSIZETO_SINGLECHILD

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

ATTRIBUTENAME_FOLDABLE

public static final java.lang.String ATTRIBUTENAME_FOLDABLE
Constant for the foldable attribute name

See Also:
Constant Field Values

ATTRIBUTENAME_FOLDING_ANCHOR

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

ATTRIBUTENAME_FOLDSTATEBUTTON_ANCHOR

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

ATTRIBUTENAME_ALLOWMEMBER_SELECTING

public static final java.lang.String ATTRIBUTENAME_ALLOWMEMBER_SELECTING
Constant for the allow member selecting attribute name

See Also:
Constant Field Values

ATTRIBUTENAME_ALLOWMEMBER_MOVING

public static final java.lang.String ATTRIBUTENAME_ALLOWMEMBER_MOVING
Constant for the allow member moving attribute name

See Also:
Constant Field Values

ATTRIBUTENAME_ALLOWMEMBER_RESIZING

public static final java.lang.String ATTRIBUTENAME_ALLOWMEMBER_RESIZING
Constant for the allow member resizing attribute name

See Also:
Constant Field Values

ATTRIBUTENAME_DROP_TARGET

public static final java.lang.String ATTRIBUTENAME_DROP_TARGET
Constant for the allow member resizing attribute name

See Also:
Constant Field Values

ATTRIBUTENAME_DRAG_SOURCE

public static final java.lang.String ATTRIBUTENAME_DRAG_SOURCE
Constant for the allow member resizing attribute name

See Also:
Constant Field Values

ATTRIBUTENAME_SHADOW

public static final java.lang.String ATTRIBUTENAME_SHADOW
Constant for the visibility attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_SHADOWCOLOR

public static final java.lang.String ATTRIBUTENAME_SHADOWCOLOR
Constant for the color attribute of shadows.

See Also:
Constant Field Values

ATTRIBUTENAME_SHADOWDIRECTION

public static final java.lang.String ATTRIBUTENAME_SHADOWDIRECTION
Constant for the direction attribute of shadows.

See Also:
Constant Field Values

ATTRIBUTENAME_STROKE

public static final java.lang.String ATTRIBUTENAME_STROKE
Constant for the stroke attribute

See Also:
Constant Field Values

ATTRIBUTENAME_MARKERBEGIN

public static final java.lang.String ATTRIBUTENAME_MARKERBEGIN
Constant for the marker attribute at the starting point

See Also:
Constant Field Values

ATTRIBUTENAME_MARKEREND

public static final java.lang.String ATTRIBUTENAME_MARKEREND
Constant for the marker attribute at the ending point

See Also:
Constant Field Values

ATTRIBUTENAME_BORDER

public static final java.lang.String ATTRIBUTENAME_BORDER
Constant for the border attribute

See Also:
Constant Field Values

ATTRIBUTENAME_PAINT

public static final java.lang.String ATTRIBUTENAME_PAINT
Constant for a paint attribute

See Also:
Constant Field Values

ATTRIBUTENAME_FILL

public static final java.lang.String ATTRIBUTENAME_FILL
Constant for the fill attribute

See Also:
Constant Field Values

ATTRIBUTENAME_FONT

public static final java.lang.String ATTRIBUTENAME_FONT
Constant for the font attribute

See Also:
Constant Field Values

ATTRIBUTENAME_TEXT

public static final java.lang.String ATTRIBUTENAME_TEXT
Constant for the text attribute

See Also:
Constant Field Values

ATTRIBUTENAME_TITLE

public static final java.lang.String ATTRIBUTENAME_TITLE
Constant for the title attribute

See Also:
Constant Field Values

ATTRIBUTENAME_POSITION

public static final java.lang.String ATTRIBUTENAME_POSITION
Constant for the label position attribute

See Also:
Constant Field Values

ATTRIBUTENAME_LINEPOSITION

public static final java.lang.String ATTRIBUTENAME_LINEPOSITION
Constant for the label positioning attribute

See Also:
Constant Field Values

ATTRIBUTENAME_ANCHOR

public static final java.lang.String ATTRIBUTENAME_ANCHOR
Constant for the anchor attribute

See Also:
Constant Field Values

ATTRIBUTENAME_PLACEMENT

public static final java.lang.String ATTRIBUTENAME_PLACEMENT
Constant for the placement attribute

See Also:
Constant Field Values

ATTRIBUTENAME_POSITIONING

public static final java.lang.String ATTRIBUTENAME_POSITIONING
Constant for the label positioning attribute

See Also:
Constant Field Values

ATTRIBUTENAME_TYPE

public static final java.lang.String ATTRIBUTENAME_TYPE
Constant for the line type attribute

See Also:
Constant Field Values

ATTRIBUTENAME_STYLE

public static final java.lang.String ATTRIBUTENAME_STYLE
Constant for the style attribute

See Also:
Constant Field Values

ATTRIBUTENAME_GEOMETRY

public static final java.lang.String ATTRIBUTENAME_GEOMETRY
Constant for the geometry attribute

See Also:
Constant Field Values

ATTRIBUTENAME_WATERMARK

public static final java.lang.String ATTRIBUTENAME_WATERMARK
Watermark attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_INDEX

public static final java.lang.String ATTRIBUTENAME_INDEX
Index attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_TOPMARGIN

public static final java.lang.String ATTRIBUTENAME_TOPMARGIN
TopMargin attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_LEFTMARGIN

public static final java.lang.String ATTRIBUTENAME_LEFTMARGIN
LeftMargin attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_BOTTOMMARGIN

public static final java.lang.String ATTRIBUTENAME_BOTTOMMARGIN
BottomMargin attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_SWIMLANE

public static final java.lang.String ATTRIBUTENAME_SWIMLANE
SwimLane attribute.

See Also:
Constant Field Values

ATTRIBUTENAME_WEIGHT

public static final java.lang.String ATTRIBUTENAME_WEIGHT
Weight

See Also:
Constant Field Values

ATTRIBUTENAME_ISLABELVISIBLE

public static final java.lang.String ATTRIBUTENAME_ISLABELVISIBLE
Deprecated. should be used nowhere

Label visibility for composite lines.

See Also:
Constant Field Values

ALLOW_CURVEDEDGES

public static final boolean ALLOW_CURVEDEDGES
See Also:
Constant Field Values

MINIMUM_HEIGHT

public static final java.lang.String MINIMUM_HEIGHT
Name of the Attribute holding the maximum width

See Also:
Constant Field Values

MINIMUM_WIDTH

public static final java.lang.String MINIMUM_WIDTH
Name of the Attribute holding the minimum width

See Also:
Constant Field Values
Method Detail

getLineTypeConstraint

public static final Constraint getLineTypeConstraint()
Returns a Constraint that can be used with a line type Attribute.

Returns:
Constraint for the line type Attribute

linetypeToString

public static final java.lang.String linetypeToString(int type)
Converts the line type given by type from the constant into a string representation.

Parameters:
type - the line type constant to convert
Returns:
String the string representation for the line type constant

linetypeToConstant

public static final int linetypeToConstant(java.lang.String type)
Converts the line type string representation given by type into the corresponding constant.

Parameters:
type - the string representation of a line type to convert
Returns:
int the corresponding line type constant

getSizeAdjustmentConstraint

public static final Constraint getSizeAdjustmentConstraint()
Returns a Constraint that can be used with a size adjustment Attribute.

Returns:
Constraint for the size adjustment Attribute

sizeadjustmentToString

public static final java.lang.String sizeadjustmentToString(int sizeadjustment)
Converts the size adjustment given by sizeadjustment from the constant into a string representation.

Parameters:
sizeadjustment - the size adjustment constant to convert
Returns:
String the string representation for the size adjustment constant

sizeadjustmentToConstant

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

Parameters:
sizeadjustment - the string representation of a size adjustment to convert
Returns:
int the corresponding size adjustment constant

foldplacementToString

public static final java.lang.String foldplacementToString(int foldplacement)
Converts the fold placement given by foldplacement from the constant into a string representation.

Parameters:
foldplacement - the fold placement constant to convert
Returns:
String the string representation for the fold placement constant

foldplacementToConstant

public static final int foldplacementToConstant(java.lang.String foldplacement)
Converts the fold placement string representation given by foldplacement into the corresponding constant.

Parameters:
foldplacement - the string representation of a fold placement to convert
Returns:
int the corresponding fold placement constant

getCompositeGroupFoldingAnchorConstraint

public static final Constraint getCompositeGroupFoldingAnchorConstraint()

getCompositeGroupFoldStateButtonAnchorConstraint

public static final Constraint getCompositeGroupFoldStateButtonAnchorConstraint()

getCompositeLineIconPositioningConstraint

public static final Constraint getCompositeLineIconPositioningConstraint()
Returns a Constraint that can be used with the compositeline-icon-positioning Attribute.

Returns:
Constraint for the compositeline-icon-positioning Attribute

compositelineIconPositioning2String

public static final java.lang.String compositelineIconPositioning2String(int iconposition)
Converts the icon-positioning constant of a CompositeLine given by iconposition into the corresponding String representation.

Parameters:
iconposition - constant to convert into the corresponding String representation.
Returns:
String the String representation of the icon positioning constant.

compositelineIconPositioning2Constant

public static final int compositelineIconPositioning2Constant(java.lang.String iconposition)
Converts the String representation of one of the icon-positioning constants of a CompositeLine given by iconposition into the cooresponding label position constant.

Parameters:
iconposition - the String representation of one of the icon-positioning constants of a CompositeLine.
Returns:
int constant for the given icon-positioning string representation

getCompositeLineSignPlacementConstraint

public static final Constraint getCompositeLineSignPlacementConstraint()

compositelineSignPlacement2String

public static final java.lang.String compositelineSignPlacement2String(int placement)

compositelineSignPlacement2Constant

public static final int compositelineSignPlacement2Constant(java.lang.String placement)

getCompositeLineSignAnchorConstraint

public static final Constraint getCompositeLineSignAnchorConstraint()

compositelineSignAnchor2String

public static final java.lang.String compositelineSignAnchor2String(int anchor)

compositelineSignAnchor2Constant

public static final int compositelineSignAnchor2Constant(java.lang.String anchor)

compositelineSignLinePosition2Constant

public static final int compositelineSignLinePosition2Constant(java.lang.String anchor)


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