http://www.jpicedt.org

jpicedt.graphic.model
Class PicAttributeName<T>

java.lang.Object
  extended by jpicedt.graphic.model.PicAttributeName<T>

public class PicAttributeName<T>
extends Object

A wrapper for an attribute name that can be pushed into a PicAttributeSet. This allows typesafe enumerations, and besides enforces compile-time checking as for attributes values that can be safely attached to this PicAttributeName. The type parameter T represents the type of values that can be attached to this PicAttributeName.

Since:
jpicedt 1.3.2 (generified since jpicedt 1.5)
Version:
$Id: PicAttributeName.java,v 1.18 2013/03/27 07:02:15 vincentb1 Exp $

Author:
Sylvain Reynal

Field Summary
static PicAttributeName<Double> ARROW_GLOBAL_SCALE_LENGTH
           
static PicAttributeName<Double> ARROW_GLOBAL_SCALE_WIDTH
           
static PicAttributeName<Double> ARROW_INSET_SCALE
           
static PicAttributeName<Double> ARROW_LENGTH_SCALE
           
static PicAttributeName<Double> ARROW_WIDTH_LINEWIDTH_SCALE
           
static PicAttributeName<Double> ARROW_WIDTH_MINIMUM_MM
           
static PicAttributeName<Double> BRACKET_LENGTH_SCALE
           
static PicAttributeName<Double> DASH_OPAQUE
           
static PicAttributeName<Double> DASH_TRANSPARENT
           
static PicAttributeName<StyleConstants.Dimen> DIMEN
           
static PicAttributeName<Double> DOT_SEP
           
static PicAttributeName<Color> DOUBLE_COLOR
           
static PicAttributeName<Boolean> DOUBLE_LINE
           
static PicAttributeName<Double> DOUBLE_SEP
           
static PicAttributeName<Color> FILL_COLOR
           
static PicAttributeName<StyleConstants.FillStyle> FILL_STYLE
           
static PicAttributeName<Double> HATCH_ANGLE
           
static PicAttributeName<Color> HATCH_COLOR
           
static PicAttributeName<Double> HATCH_SEP
           
static PicAttributeName<Double> HATCH_WIDTH
           
static PicAttributeName<StyleConstants.ArrowStyle> LEFT_ARROW
           
static PicAttributeName<Color> LINE_COLOR
           
static PicAttributeName<StyleConstants.LineStyle> LINE_STYLE
           
static PicAttributeName<Double> LINE_WIDTH
           
static PicAttributeName<Boolean> OVER_STRIKE
           
static PicAttributeName<Color> OVER_STRIKE_COLOR
           
static PicAttributeName<Double> OVER_STRIKE_WIDTH
           
static PicAttributeName<Double> POLYDOTS_ANGLE
           
static PicAttributeName<Double> POLYDOTS_SCALE_H
           
static PicAttributeName<Double> POLYDOTS_SCALE_V
           
static PicAttributeName<Double> POLYDOTS_SIZE_LINEWIDTH_SCALE
           
static PicAttributeName<Double> POLYDOTS_SIZE_MINIMUM_MM
           
static PicAttributeName<StyleConstants.PolydotsStyle> POLYDOTS_STYLE
           
static PicAttributeName<Boolean> POLYDOTS_SUPERIMPOSE
           
static PicAttributeName<String> PST_CUSTOM
           
static PicAttributeName<Double> RBRACKET_LENGTH_SCALE
           
static PicAttributeName<StyleConstants.ArrowStyle> RIGHT_ARROW
           
static PicAttributeName<Boolean> SHADOW
           
static PicAttributeName<Double> SHADOW_ANGLE
           
static PicAttributeName<Color> SHADOW_COLOR
           
static PicAttributeName<Double> SHADOW_SIZE
           
static PicAttributeName<Double> TBAR_WIDTH_LINEWIDTH_SCALE
           
static PicAttributeName<Double> TBAR_WIDTH_MINIMUM_MM
           
static PicAttributeName<PicText.FrameStyle> TEXT_FRAME
           
static PicAttributeName<PicText.HorAlign> TEXT_HOR_ALIGN
           
static PicAttributeName<PicText.TextIcon> TEXT_ICON
           
static PicAttributeName<PicText.TextMode> TEXT_MODE
           
static PicAttributeName<Double> TEXT_ROTATION
           
static PicAttributeName<PicText.VertAlign> TEXT_VERT_ALIGN
           
static PicAttributeName<String> TIKZ_CUSTOM
           
 
Constructor Summary
PicAttributeName(String name)
           
 
Method Summary
 String getName()
          Return the name of the attribute described by this PicAttributeName
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LINE_STYLE

public static final PicAttributeName<StyleConstants.LineStyle> LINE_STYLE

LINE_COLOR

public static final PicAttributeName<Color> LINE_COLOR

LINE_WIDTH

public static final PicAttributeName<Double> LINE_WIDTH

DASH_TRANSPARENT

public static final PicAttributeName<Double> DASH_TRANSPARENT

DASH_OPAQUE

public static final PicAttributeName<Double> DASH_OPAQUE

DOT_SEP

public static final PicAttributeName<Double> DOT_SEP

DOUBLE_LINE

public static final PicAttributeName<Boolean> DOUBLE_LINE

DOUBLE_SEP

public static final PicAttributeName<Double> DOUBLE_SEP

DOUBLE_COLOR

public static final PicAttributeName<Color> DOUBLE_COLOR

OVER_STRIKE

public static final PicAttributeName<Boolean> OVER_STRIKE

OVER_STRIKE_WIDTH

public static final PicAttributeName<Double> OVER_STRIKE_WIDTH

OVER_STRIKE_COLOR

public static final PicAttributeName<Color> OVER_STRIKE_COLOR

SHADOW

public static final PicAttributeName<Boolean> SHADOW

SHADOW_SIZE

public static final PicAttributeName<Double> SHADOW_SIZE

SHADOW_ANGLE

public static final PicAttributeName<Double> SHADOW_ANGLE

SHADOW_COLOR

public static final PicAttributeName<Color> SHADOW_COLOR

DIMEN

public static final PicAttributeName<StyleConstants.Dimen> DIMEN

FILL_STYLE

public static final PicAttributeName<StyleConstants.FillStyle> FILL_STYLE

FILL_COLOR

public static final PicAttributeName<Color> FILL_COLOR

HATCH_WIDTH

public static final PicAttributeName<Double> HATCH_WIDTH

HATCH_SEP

public static final PicAttributeName<Double> HATCH_SEP

HATCH_COLOR

public static final PicAttributeName<Color> HATCH_COLOR

HATCH_ANGLE

public static final PicAttributeName<Double> HATCH_ANGLE

LEFT_ARROW

public static final PicAttributeName<StyleConstants.ArrowStyle> LEFT_ARROW

RIGHT_ARROW

public static final PicAttributeName<StyleConstants.ArrowStyle> RIGHT_ARROW

ARROW_GLOBAL_SCALE_WIDTH

public static final PicAttributeName<Double> ARROW_GLOBAL_SCALE_WIDTH

ARROW_GLOBAL_SCALE_LENGTH

public static final PicAttributeName<Double> ARROW_GLOBAL_SCALE_LENGTH

ARROW_WIDTH_MINIMUM_MM

public static final PicAttributeName<Double> ARROW_WIDTH_MINIMUM_MM

ARROW_WIDTH_LINEWIDTH_SCALE

public static final PicAttributeName<Double> ARROW_WIDTH_LINEWIDTH_SCALE

ARROW_LENGTH_SCALE

public static final PicAttributeName<Double> ARROW_LENGTH_SCALE

ARROW_INSET_SCALE

public static final PicAttributeName<Double> ARROW_INSET_SCALE

TBAR_WIDTH_MINIMUM_MM

public static final PicAttributeName<Double> TBAR_WIDTH_MINIMUM_MM

TBAR_WIDTH_LINEWIDTH_SCALE

public static final PicAttributeName<Double> TBAR_WIDTH_LINEWIDTH_SCALE

BRACKET_LENGTH_SCALE

public static final PicAttributeName<Double> BRACKET_LENGTH_SCALE

RBRACKET_LENGTH_SCALE

public static final PicAttributeName<Double> RBRACKET_LENGTH_SCALE

POLYDOTS_STYLE

public static final PicAttributeName<StyleConstants.PolydotsStyle> POLYDOTS_STYLE

POLYDOTS_SUPERIMPOSE

public static final PicAttributeName<Boolean> POLYDOTS_SUPERIMPOSE

POLYDOTS_SIZE_MINIMUM_MM

public static final PicAttributeName<Double> POLYDOTS_SIZE_MINIMUM_MM

POLYDOTS_SIZE_LINEWIDTH_SCALE

public static final PicAttributeName<Double> POLYDOTS_SIZE_LINEWIDTH_SCALE

POLYDOTS_SCALE_H

public static final PicAttributeName<Double> POLYDOTS_SCALE_H

POLYDOTS_SCALE_V

public static final PicAttributeName<Double> POLYDOTS_SCALE_V

POLYDOTS_ANGLE

public static final PicAttributeName<Double> POLYDOTS_ANGLE

TEXT_VERT_ALIGN

public static final PicAttributeName<PicText.VertAlign> TEXT_VERT_ALIGN

TEXT_HOR_ALIGN

public static final PicAttributeName<PicText.HorAlign> TEXT_HOR_ALIGN

TEXT_FRAME

public static final PicAttributeName<PicText.FrameStyle> TEXT_FRAME

TEXT_ROTATION

public static final PicAttributeName<Double> TEXT_ROTATION

TEXT_MODE

public static final PicAttributeName<PicText.TextMode> TEXT_MODE

TEXT_ICON

public static final PicAttributeName<PicText.TextIcon> TEXT_ICON

PST_CUSTOM

public static final PicAttributeName<String> PST_CUSTOM

TIKZ_CUSTOM

public static final PicAttributeName<String> TIKZ_CUSTOM
Constructor Detail

PicAttributeName

public PicAttributeName(String name)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()
Return the name of the attribute described by this PicAttributeName


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org