com.tensegrity.graphics
Class FormatUtilities

java.lang.Object
  extended bycom.tensegrity.graphics.FormatUtilities

public class FormatUtilities
extends java.lang.Object

This class provides utility methods and constants for the xml export of format instances. Use the create...Format(AttributeSet) to create a format instance from a given AttributeSet. Use the getAttributeSetFromFormat(Object) to convert a given format to an attributeSet. The getIdentifier() allow you to match Format specific int constants to String constants (and vice versa) of this class.

Version:
$Id: FormatUtilities.java,v 1.43 2005/12/12 15:19:25 MichaelKegel Exp $
Author:
Gilles Iachelini

Field Summary
static java.lang.String DELIM
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTCOLOR
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTFAMILY
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTITALIC
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTSIZE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTSTRIKETHROUGH
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTSTRIKETHROUGHSTROKE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTUNDERLINE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTUNDERLINESTROKE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTUNIT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHTBOLD
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String[] fontWeightConstants
          The list of font weight constants as string.
static java.lang.String FONTWEIGHTEXTRABOLD
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHTEXTRALIGHT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static int[] fontWeightFormats
          The list of font weight constants.
static java.lang.String FONTWEIGHTHEAVY
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHTLIGHT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHTMEDIUM
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHTNONE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHTNORMAL
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHTSEMIBOLD
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String FONTWEIGHTTHIN
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTCENTERCIRCLE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTCENTERSQUARED
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTDOWN
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTDOWNCENTER
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTHORIZONTALCENTER
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTLEFTBOTTOM
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTLEFTTOP
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTLEFTTOPCIRCLE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTRIGHTBOTTOM
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTRIGHTLEFT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTRIGHTTOP
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTRIGHTTOPCIRCLE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTTOPBOTTOM
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String[] gradientTypeConstants
          The list of gradient type constants as string.
static int[] gradientTypeFormats
          The list of gradient type constants.
static java.lang.String GRADIENTUP
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTUPCENTER
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String GRADIENTVERTICALCENTER
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String LINELENGTH
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARGINBOTTOM
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARGINLEFT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARGINRIGHT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARGINTOP
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWLARGEFILLED
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWLARGEFILLEDHALF
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWLARGEFILLEDHALFLONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWLARGEFILLEDLONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWLARGENOTFILLED
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWLARGENOTFILLED_LONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWMEDIUMFILLED
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWMEDIUMFILLEDHALF
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWMEDIUMFILLEDHALFLONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWMEDIUMFILLEDLONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWMEDIUMNOTFILLED
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWMEDIUMNOTFILLED_LONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWSMALLFILLED
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWSMALLFILLEDHALF
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWSMALLFILLEDHALFLONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWSMALLFILLEDLONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWSMALLNOTFILLED
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERARROWSMALLNOTFILLED_LONG
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERBEGIN
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERDIAMOND
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKEREND
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERINVISIBLE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERPAINT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERSIZE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERSQUARE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERSTROKE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MARKERTYPE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String[] markerTypeConstants
          The list of marker type constants as string.
static int[] markerTypeFormats
          The list of marker type constants.
static java.lang.String MARKERVERTLINE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String MODEMASK
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTBACKGROUND
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTFILLGRADIENT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTFILLNONE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTFILLPATTERN
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTFILLSOLID
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTFILLTEXTURE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTFOREGROUND
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTGRADIENTTYPE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTPATTERNTYPE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTSTYLE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String[] paintStyleConstants
          The list of paint style constants as string.
static int[] paintStyleFormats
          The list of paint style constants.
static java.lang.String PAINTTEXTUREKEY
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTTEXTUREKEYREFCLASS
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTTRANSPARENCYLEVEL
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PAINTTRANSPARENT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPECHECKER
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String[] patternTypeConstants
          The list of pattern type constants as string.
static java.lang.String PATTERNTYPECRISSCROSS
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEDOWN
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static int[] patternTypeFormats
          The list of pattern type constants.
static java.lang.String PATTERNTYPEGREY16
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEGREY25
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEGREY50
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEGREY75
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEGREY8
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEGRID
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEHORIZONTAL
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPELIGHTDOWN
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPELIGHTHORIZONTAL
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPELIGHTUP
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPELIGHTVERTICAL
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPESEMIGREY75
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPESOLID
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEUP
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String PATTERNTYPEVERTICAL
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKECOLOR
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKEPATTERN
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKESTYLE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String[] strokeTypeConstants
          The list of stroke type constants as string.
static int[] strokeTypeFormats
          The list of stroke type constants.
static java.lang.String STROKETYPESTYLECONTINUOUS
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKETYPESTYLECUSTOM
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKETYPESTYLEDASH
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKETYPESTYLEDASHDOT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKETYPESTYLEDASHDOTDOT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKETYPESTYLEDOT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKETYPESTYLENULL
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String STROKEWEIGHT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String TEXT
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String TEXTLINE
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String TEXTSCALEX
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String TEXTSCALEY
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
static java.lang.String TRANSFORM2D
          This are all the string constants for the attributes appearing during the xml export of all available format classes.
 
Method Summary
static FontFormat createFontFormat(AttributeSet set)
          Creates a FontFormat by using the FormatPool's parseFontFormat method.
static MarkerFormat createMarkerFormat(AttributeSet set)
          Creates a MarkerFormat instance from the given AttributeSet.
static PaintFormat createPaintFormat(AttributeSet set)
          This method creates a PaintFormat by using the FormatPool's parsePaintFormat method.
static StrokeFormat createStrokeFormat(AttributeSet set)
          Creates a StrokeFormat by using the FormatPool's parseStrokeFormat method.
static TextFormatter createTextFormatter(AttributeSet set)
          Creates a TextFormatter instance from the AttributeSet given by set.
static AttributeSet fillInCanonicalDescriptions(AttributeSet set)
          Replaces all AttributeSet representations of formats or instances of FontFormat, PaintFormat, MarkerFormat or StrokeFormat by their corresponding canonical description.
static AttributeSet getAttributeSetFromFormat(java.lang.Object format)
          Method getAttributeSetFromFormat returns an AttributeSet representing the given Format instance splitted up to name-value-pairs.
static java.lang.String getCanonicalFontDescription(AttributeSet set)
          Creates a canonical description for the FontFormat defined by the given AttributeSet.
static java.lang.String getCanonicalMarkerDescription(AttributeSet set)
          Creates a canonical description for the MarkerFormat defined by the given AttributeSet.
static java.lang.String getCanonicalPaintDescription(AttributeSet set)
          Creates a canonical description for the PaintFormat defined by the given AttributeSet.
static java.lang.String getCanonicalStrokeDescription(AttributeSet set)
          Creates a canonical description for the StrokeFormat defined by the given AttributeSet.
static FontFormat getFontFormatFromAwtFont(java.awt.Font font)
          Creates a FontFormat instance from a given AWT Font.
static AttributeSet getFontSet(FontFormat font)
          Method getFontSet returns an AttributeSet representing the given FontFormat.
static java.lang.String getIdentifier(java.lang.String[] types, int[] identifier, int type)
          Method getIdentifier returns the first matching identifier from the parameter types array.
static int getIdentifier(java.lang.String[] types, int[] identifier, java.lang.String token)
          Method getIdentifier returns the first matching identifier from the parameter identifier array.
static AttributeSet getMarkerSet(MarkerFormat marker)
          Method getMarkerSet returns a set defining a MarkerFormat.
static AttributeSet getPaintSet(PaintFormat paint)
          Method getPaintSet returns an AttributeSet of the given PaintFormat.
static AttributeSet getStrokeSet(StrokeFormat stroke)
          Method getStrokeSet returns an AttributeSet representing the given StrokeFormat.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELIM

public static final java.lang.String DELIM
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERBEGIN

public static final java.lang.String MARKERBEGIN
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKEREND

public static final java.lang.String MARKEREND
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTSTYLE

public static final java.lang.String PAINTSTYLE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTBACKGROUND

public static final java.lang.String PAINTBACKGROUND
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTFOREGROUND

public static final java.lang.String PAINTFOREGROUND
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTGRADIENTTYPE

public static final java.lang.String PAINTGRADIENTTYPE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTPATTERNTYPE

public static final java.lang.String PAINTPATTERNTYPE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTTEXTUREKEY

public static final java.lang.String PAINTTEXTUREKEY
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTTEXTUREKEYREFCLASS

public static final java.lang.String PAINTTEXTUREKEYREFCLASS
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTTRANSPARENCYLEVEL

public static final java.lang.String PAINTTRANSPARENCYLEVEL
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTTRANSPARENT

public static final java.lang.String PAINTTRANSPARENT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTFILLNONE

public static final java.lang.String PAINTFILLNONE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTFILLSOLID

public static final java.lang.String PAINTFILLSOLID
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTFILLGRADIENT

public static final java.lang.String PAINTFILLGRADIENT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTFILLPATTERN

public static final java.lang.String PAINTFILLPATTERN
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PAINTFILLTEXTURE

public static final java.lang.String PAINTFILLTEXTURE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPESOLID

public static final java.lang.String PATTERNTYPESOLID
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEGREY75

public static final java.lang.String PATTERNTYPEGREY75
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEGREY50

public static final java.lang.String PATTERNTYPEGREY50
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEGREY25

public static final java.lang.String PATTERNTYPEGREY25
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEGREY16

public static final java.lang.String PATTERNTYPEGREY16
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEGREY8

public static final java.lang.String PATTERNTYPEGREY8
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEHORIZONTAL

public static final java.lang.String PATTERNTYPEHORIZONTAL
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEVERTICAL

public static final java.lang.String PATTERNTYPEVERTICAL
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEDOWN

public static final java.lang.String PATTERNTYPEDOWN
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEUP

public static final java.lang.String PATTERNTYPEUP
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPECHECKER

public static final java.lang.String PATTERNTYPECHECKER
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPESEMIGREY75

public static final java.lang.String PATTERNTYPESEMIGREY75
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPELIGHTHORIZONTAL

public static final java.lang.String PATTERNTYPELIGHTHORIZONTAL
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPELIGHTVERTICAL

public static final java.lang.String PATTERNTYPELIGHTVERTICAL
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPELIGHTDOWN

public static final java.lang.String PATTERNTYPELIGHTDOWN
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPELIGHTUP

public static final java.lang.String PATTERNTYPELIGHTUP
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPEGRID

public static final java.lang.String PATTERNTYPEGRID
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

PATTERNTYPECRISSCROSS

public static final java.lang.String PATTERNTYPECRISSCROSS
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTRIGHTLEFT

public static final java.lang.String GRADIENTRIGHTLEFT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTVERTICALCENTER

public static final java.lang.String GRADIENTVERTICALCENTER
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTTOPBOTTOM

public static final java.lang.String GRADIENTTOPBOTTOM
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTHORIZONTALCENTER

public static final java.lang.String GRADIENTHORIZONTALCENTER
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTUP

public static final java.lang.String GRADIENTUP
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTUPCENTER

public static final java.lang.String GRADIENTUPCENTER
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTDOWN

public static final java.lang.String GRADIENTDOWN
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTDOWNCENTER

public static final java.lang.String GRADIENTDOWNCENTER
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTLEFTBOTTOM

public static final java.lang.String GRADIENTLEFTBOTTOM
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTRIGHTBOTTOM

public static final java.lang.String GRADIENTRIGHTBOTTOM
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTLEFTTOP

public static final java.lang.String GRADIENTLEFTTOP
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTRIGHTTOP

public static final java.lang.String GRADIENTRIGHTTOP
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTCENTERSQUARED

public static final java.lang.String GRADIENTCENTERSQUARED
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTCENTERCIRCLE

public static final java.lang.String GRADIENTCENTERCIRCLE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTLEFTTOPCIRCLE

public static final java.lang.String GRADIENTLEFTTOPCIRCLE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

GRADIENTRIGHTTOPCIRCLE

public static final java.lang.String GRADIENTRIGHTTOPCIRCLE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKESTYLE

public static final java.lang.String STROKESTYLE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKEPATTERN

public static final java.lang.String STROKEPATTERN
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKEWEIGHT

public static final java.lang.String STROKEWEIGHT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKECOLOR

public static final java.lang.String STROKECOLOR
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKETYPESTYLENULL

public static final java.lang.String STROKETYPESTYLENULL
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKETYPESTYLECUSTOM

public static final java.lang.String STROKETYPESTYLECUSTOM
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKETYPESTYLECONTINUOUS

public static final java.lang.String STROKETYPESTYLECONTINUOUS
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKETYPESTYLEDASH

public static final java.lang.String STROKETYPESTYLEDASH
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKETYPESTYLEDASHDOT

public static final java.lang.String STROKETYPESTYLEDASHDOT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKETYPESTYLEDASHDOTDOT

public static final java.lang.String STROKETYPESTYLEDASHDOTDOT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

STROKETYPESTYLEDOT

public static final java.lang.String STROKETYPESTYLEDOT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONT

public static final java.lang.String FONT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTSIZE

public static final java.lang.String FONTSIZE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHT

public static final java.lang.String FONTWEIGHT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTFAMILY

public static final java.lang.String FONTFAMILY
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTCOLOR

public static final java.lang.String FONTCOLOR
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTITALIC

public static final java.lang.String FONTITALIC
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTUNDERLINE

public static final java.lang.String FONTUNDERLINE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTSTRIKETHROUGH

public static final java.lang.String FONTSTRIKETHROUGH
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTUNDERLINESTROKE

public static final java.lang.String FONTUNDERLINESTROKE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTSTRIKETHROUGHSTROKE

public static final java.lang.String FONTSTRIKETHROUGHSTROKE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTNONE

public static final java.lang.String FONTWEIGHTNONE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTTHIN

public static final java.lang.String FONTWEIGHTTHIN
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTEXTRALIGHT

public static final java.lang.String FONTWEIGHTEXTRALIGHT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTLIGHT

public static final java.lang.String FONTWEIGHTLIGHT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTNORMAL

public static final java.lang.String FONTWEIGHTNORMAL
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTMEDIUM

public static final java.lang.String FONTWEIGHTMEDIUM
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTSEMIBOLD

public static final java.lang.String FONTWEIGHTSEMIBOLD
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTBOLD

public static final java.lang.String FONTWEIGHTBOLD
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTEXTRABOLD

public static final java.lang.String FONTWEIGHTEXTRABOLD
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTWEIGHTHEAVY

public static final java.lang.String FONTWEIGHTHEAVY
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

LINELENGTH

public static final java.lang.String LINELENGTH
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARGINLEFT

public static final java.lang.String MARGINLEFT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARGINRIGHT

public static final java.lang.String MARGINRIGHT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARGINTOP

public static final java.lang.String MARGINTOP
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARGINBOTTOM

public static final java.lang.String MARGINBOTTOM
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MODEMASK

public static final java.lang.String MODEMASK
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERTYPE

public static final java.lang.String MARKERTYPE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERSIZE

public static final java.lang.String MARKERSIZE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERPAINT

public static final java.lang.String MARKERPAINT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERSTROKE

public static final java.lang.String MARKERSTROKE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERINVISIBLE

public static final java.lang.String MARKERINVISIBLE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWSMALLFILLED

public static final java.lang.String MARKERARROWSMALLFILLED
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWMEDIUMFILLED

public static final java.lang.String MARKERARROWMEDIUMFILLED
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWLARGEFILLED

public static final java.lang.String MARKERARROWLARGEFILLED
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWSMALLFILLEDLONG

public static final java.lang.String MARKERARROWSMALLFILLEDLONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWMEDIUMFILLEDLONG

public static final java.lang.String MARKERARROWMEDIUMFILLEDLONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWLARGEFILLEDLONG

public static final java.lang.String MARKERARROWLARGEFILLEDLONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWSMALLFILLEDHALF

public static final java.lang.String MARKERARROWSMALLFILLEDHALF
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWMEDIUMFILLEDHALF

public static final java.lang.String MARKERARROWMEDIUMFILLEDHALF
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWLARGEFILLEDHALF

public static final java.lang.String MARKERARROWLARGEFILLEDHALF
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWSMALLFILLEDHALFLONG

public static final java.lang.String MARKERARROWSMALLFILLEDHALFLONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWMEDIUMFILLEDHALFLONG

public static final java.lang.String MARKERARROWMEDIUMFILLEDHALFLONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWLARGEFILLEDHALFLONG

public static final java.lang.String MARKERARROWLARGEFILLEDHALFLONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWSMALLNOTFILLED

public static final java.lang.String MARKERARROWSMALLNOTFILLED
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWMEDIUMNOTFILLED

public static final java.lang.String MARKERARROWMEDIUMNOTFILLED
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWLARGENOTFILLED

public static final java.lang.String MARKERARROWLARGENOTFILLED
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWSMALLNOTFILLED_LONG

public static final java.lang.String MARKERARROWSMALLNOTFILLED_LONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWMEDIUMNOTFILLED_LONG

public static final java.lang.String MARKERARROWMEDIUMNOTFILLED_LONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERARROWLARGENOTFILLED_LONG

public static final java.lang.String MARKERARROWLARGENOTFILLED_LONG
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERSQUARE

public static final java.lang.String MARKERSQUARE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERDIAMOND

public static final java.lang.String MARKERDIAMOND
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

MARKERVERTLINE

public static final java.lang.String MARKERVERTLINE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

TRANSFORM2D

public static final java.lang.String TRANSFORM2D
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

TEXT

public static final java.lang.String TEXT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

TEXTLINE

public static final java.lang.String TEXTLINE
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

TEXTSCALEX

public static final java.lang.String TEXTSCALEX
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

TEXTSCALEY

public static final java.lang.String TEXTSCALEY
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

FONTUNIT

public static final java.lang.String FONTUNIT
This are all the string constants for the attributes appearing during the xml export of all available format classes. The lists of constants. All these Format constants and their matching String constants. These lists are used to convert int->string (:xml write) and string->int (:xml read).

See Also:
Constant Field Values

fontWeightConstants

public static final java.lang.String[] fontWeightConstants
The list of font weight constants as string.


fontWeightFormats

public static final int[] fontWeightFormats
The list of font weight constants.


patternTypeConstants

public static final java.lang.String[] patternTypeConstants
The list of pattern type constants as string.


patternTypeFormats

public static final int[] patternTypeFormats
The list of pattern type constants.


gradientTypeConstants

public static final java.lang.String[] gradientTypeConstants
The list of gradient type constants as string.


gradientTypeFormats

public static final int[] gradientTypeFormats
The list of gradient type constants.


strokeTypeConstants

public static final java.lang.String[] strokeTypeConstants
The list of stroke type constants as string.


strokeTypeFormats

public static final int[] strokeTypeFormats
The list of stroke type constants.


paintStyleConstants

public static final java.lang.String[] paintStyleConstants
The list of paint style constants as string.


paintStyleFormats

public static final int[] paintStyleFormats
The list of paint style constants.


markerTypeConstants

public static final java.lang.String[] markerTypeConstants
The list of marker type constants as string.


markerTypeFormats

public static final int[] markerTypeFormats
The list of marker type constants.

Method Detail

getAttributeSetFromFormat

public static AttributeSet getAttributeSetFromFormat(java.lang.Object format)
                                              throws SerializeException,
                                                     AttributeException,
                                                     ConstraintViolationException
Method getAttributeSetFromFormat returns an AttributeSet representing the given Format instance splitted up to name-value-pairs.

Parameters:
format - an instance of Paint-, Stroke- or FontFormat.
Returns:
AttributeSet The AttributeSet containing all the attributes of the given Format instance.
Throws:
SerializeException - thrown if one of the Serializer throws an exception.
ConstraintViolationException - if a constraint has been violated.
AttributeException - thrown while an exception occurs during the attribute creation.

getPaintSet

public static AttributeSet getPaintSet(PaintFormat paint)
                                throws ConstraintViolationException,
                                       AttributeException
Method getPaintSet returns an AttributeSet of the given PaintFormat. Only those values are added as attributes, which differ from the default PaintFormat (DEFAULT_PAINT_FORMAT_WHITE).

Parameters:
paint - the PaintFormat to return the AttributeSet for
Returns:
AttributeSet the AttributeSet for the given PaintFormat
Throws:
ConstraintViolationException - thrown if the attribute manipulation fails.
AttributeException - thrown if the attribute manipulation fails.

getStrokeSet

public static AttributeSet getStrokeSet(StrokeFormat stroke)
                                 throws ConstraintViolationException,
                                        AttributeException
Method getStrokeSet returns an AttributeSet representing the given StrokeFormat. This method may return an empty set, if the parameter stroke does not differ from the default Stroke.

Parameters:
stroke - the stroke to convert to a set.
Returns:
AttributeSet the attributeSet with the values of the stroke. Might be empty.
Throws:
ConstraintViolationException - thrown if the attribute manipulation fails.
AttributeException - thrown if the attribute manipulation fails.

getFontSet

public static AttributeSet getFontSet(FontFormat font)
                               throws ConstraintViolationException,
                                      AttributeException
Method getFontSet returns an AttributeSet representing the given FontFormat. Only the values which differ from the default FontFormat will be written to the set.

Parameters:
font - the FontFormat to return the AttributeSet for
Returns:
AttributeSet the AttributeSet for the given FontFormat
Throws:
ConstraintViolationException - thrown if the attribute manipulation fails.
AttributeException - thrown if the attribute manipulation fails.

getMarkerSet

public static AttributeSet getMarkerSet(MarkerFormat marker)
                                 throws ConstraintViolationException,
                                        AttributeException
Method getMarkerSet returns a set defining a MarkerFormat. In contrast to other formats like (Paint, Stroke and Font) a MarkerFormat is a composite Format contains a Paint- and StrokeFormat plus some extra attributes. Thus this method returns a set with 4 attributes: Size, Style, PaintSet, StrokeSet.

Parameters:
marker - the MarkerFormat to return the AttributeSet for
Returns:
AttributeSet the AttributeSet for the given MarkerFormat
Throws:
ConstraintViolationException - thrown if the attribute manipulation fails.
AttributeException - thrown if the attribute manipulation fails.

createPaintFormat

public static PaintFormat createPaintFormat(AttributeSet set)
                                     throws BuildException
This method creates a PaintFormat by using the FormatPool's parsePaintFormat method.

Parameters:
set - the AttributeSet containing the description of a PaintFormat.
Returns:
the resulting PaintFormat.
Throws:
BuildException - thrown if the FormatPool.parsePaintFormat(String) throws an exception.

getCanonicalPaintDescription

public static java.lang.String getCanonicalPaintDescription(AttributeSet set)
                                                     throws BuildException
Creates a canonical description for the PaintFormat defined by the given AttributeSet.

Parameters:
set - the AttributeSet containing the description of a PaintFormat.
Returns:
the canonical description for the PaintFormat.
Throws:
BuildException - thrown if the FormatPool.parsePaintFormat(String) throws an exception.
BuildException

createTextFormatter

public static TextFormatter createTextFormatter(AttributeSet set)
                                         throws BuildException
Creates a TextFormatter instance from the AttributeSet given by set.

Parameters:
set - the AttributeSet to create the TextFormatter from
Returns:
TextFormatter the newly created TextFormatter instance
Throws:
BuildException - if the createFontFormat(AttributeSet) call throws an exception.

createFontFormat

public static FontFormat createFontFormat(AttributeSet set)
                                   throws BuildException
Creates a FontFormat by using the FormatPool's parseFontFormat method.

Parameters:
set - the AttributeSet containing the description of a FontFormat.
Returns:
FontFormat the resulting FontFormat.
Throws:
BuildException - thrown if the FontWeight identifier cannot be read or found.

getCanonicalFontDescription

public static java.lang.String getCanonicalFontDescription(AttributeSet set)
                                                    throws BuildException
Creates a canonical description for the FontFormat defined by the given AttributeSet.

Parameters:
set - the AttributeSet containing the description of a FontFormat.
Returns:
the canonical description for the FontFormat.
Throws:
BuildException - thrown if the FormatPool.parseFontFormat(String) throws an exception.
BuildException

createStrokeFormat

public static StrokeFormat createStrokeFormat(AttributeSet set)
                                       throws BuildException
Creates a StrokeFormat by using the FormatPool's parseStrokeFormat method.

Parameters:
set - the AttributeSet containing the description of a StrokeFormat.
Returns:
the resulting StrokeFormat.
Throws:
BuildException - if the FormatPool.parseStrokeFormat(String) call throws an exception.

getCanonicalStrokeDescription

public static final java.lang.String getCanonicalStrokeDescription(AttributeSet set)
                                                            throws BuildException
Creates a canonical description for the StrokeFormat defined by the given AttributeSet.

Parameters:
set - the AttributeSet containing the description of a StrokeFormat.
Returns:
the canonical description for the StrokeFormat.
Throws:
BuildException - thrown if the FormatPool.parseStrokeFormat(String) throws an exception.
BuildException

createMarkerFormat

public static MarkerFormat createMarkerFormat(AttributeSet set)
                                       throws BuildException
Creates a MarkerFormat instance from the given AttributeSet. This method uses createPaintFormat and createStrokeFormat to create the contained paint and stroke for this format.

Parameters:
set - the AttributeSet containing the description of a MarkerFormat.
Returns:
the resulting MarkerFormat.
Throws:
BuildException - thrown if the MarkerType cannot be found or one of the createStrokeFormat(AttributeSet) or createPaintFormat(AttributeSet)] throws an exception.

getCanonicalMarkerDescription

public static final java.lang.String getCanonicalMarkerDescription(AttributeSet set)
                                                            throws BuildException
Creates a canonical description for the MarkerFormat defined by the given AttributeSet.

Parameters:
set - the AttributeSet containing the description of a MarkerFormat.
Returns:
the canonical description for the MarkerFormat.
Throws:
BuildException - thrown if the FormatPool.parseMarkerFormat(String) throws an exception.
BuildException

getIdentifier

public static int getIdentifier(java.lang.String[] types,
                                int[] identifier,
                                java.lang.String token)
                         throws BuildException
Method getIdentifier returns the first matching identifier from the parameter identifier array. The method compares sequential the parameter token with the elements from the types array.

Parameters:
types - the list of types the token should be compared with.
identifier - the list of identifiers
token - the search string
Returns:
int the matching identifier, index-wise.
Throws:
BuildException - thrown if the token is not found in the list of types.

getIdentifier

public static java.lang.String getIdentifier(java.lang.String[] types,
                                             int[] identifier,
                                             int type)
Method getIdentifier returns the first matching identifier from the parameter types array. The method compares sequential the parameter type with the elements from the identifier array.

getIdentifier( String[] { "normal", "bold", "italic"}, int[] { FontFormat.NORMAL, FontFormat.BOLD, FontFormat.ITALIC }, someIdentifier)

would return "normal" for the someIdentifier being equal to FontFormat.NORMAL.

Parameters:
types - the list of types the token should be compared with.
identifier - the list of identifiers.
type - the type identifier.
Returns:
String the matching identifier, index-wise.
Throws:
java.lang.IllegalArgumentException - thrown if the token is not found in the list of types.

getFontFormatFromAwtFont

public static FontFormat getFontFormatFromAwtFont(java.awt.Font font)
Creates a FontFormat instance from a given AWT Font.

Parameters:
font - the AWT Font to which you want to receive the FontFormat.
Returns:
an instance of FontFormat, either newly created or fetched from the FontFormatPool.

fillInCanonicalDescriptions

public static AttributeSet fillInCanonicalDescriptions(AttributeSet set)
                                                throws java.lang.CloneNotSupportedException,
                                                       BuildException
Replaces all AttributeSet representations of formats or instances of FontFormat, PaintFormat, MarkerFormat or StrokeFormat by their corresponding canonical description.

Parameters:
set - The set containing the formats and attributesets
Returns:
A new set containing the canonical descriptions
Throws:
java.lang.CloneNotSupportedException - If the clone of the given set failes
BuildException - If one of the attributesets can't be parsed into a canonical description


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