TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.svg.internal.part
Interface IConstants

All Known Implementing Classes:
Part

public interface IConstants

$Revision: 1.1 $


Field Summary
static int AXIS_LABEL_FONT_SIZE
          Axis label font size
static int AXIS_SPACE_BTW_AXIS_AND_LABEL
          Space between axis and label
static int AXIS_SPACE_BTW_TITLE_AND_LABEL
          Space between labels and title (used in horizontal number axes)
static int AXIS_TITLE_FONT_SIZE
          Axis title font size
static short AXIS_TYPE_INDEPENDENT_AXIS
          Constant - independent axis
static short AXIS_TYPE_PRIMARY_DEPENDENT_AXIS
          Constant - primary dependent axis
static short AXIS_TYPE_SECONDARY_DEPENDENT_AXIS
          Constant - secondary dependent axis
static int BASE_FONT_SIZE
          Base font size
static double CHART_AREA_DEFAULT_HEIGHT
          default chart height
static double CHART_AREA_DEFAULT_WIDTH
          default chart width (for all charts except meter chart)
static double CHART_AREA_METER_DEFAULT_WIDTH
          default width for meter charts
static java.lang.String EMPTY_STRING
          EMPTY_STRING
static double GRAPH_AREA_MARGIN
          Margin for graph area (used on left, right and bottom sides)
static double GRAPH_AREA_TOP_MARGIN
          Top margin in Graph area (need more space at the top)
static java.lang.String HIDDEN
          Visibililty value.
static double HOLE_RADIUS
          radius of the "hole" shape
static short HORIZONTAL
          Orientation - Horizontal
static int LEGEND_HORIZONTAL_HEIGHT
          height of the legend if it is positioned at the top of bottom of the graph
static int LEGEND_HORIZONTAL_SIDE_MARGIN
          side margin for horizontal legends
static double LEGEND_HORIZONTAL_TOP_MARGIN
          top margin for horizontal legends
static int LEGEND_ITEM_FONT_SIZE
          font size of legend item text
static int LEGEND_ITEMS_PER_ROW
          Number of items per row (for horizontal legends only)
static double LEGEND_MAX_HEIGHT_FRACTION
          For horizontal legends: The legend height can be at most this fraction of the height of the chart.
static double LEGEND_MAX_WIDTH_FRACTION
          For vertical legends: The legend width can be at most this fraction of the width of the chart.
static double LEGEND_NARROW_SIDE_MARGIN
          side margin of legend, used if margin is next to the graph area
static double LEGEND_SPACE_AFTER_TITLE
          space after legend title and before the first legend item
static double LEGEND_SPACE_BETWEEN_ITEMS
          space between legend items
static double LEGEND_SPACE_BETWEEN_SYMBOL_AND_TEXT
          space between legend symbol and legend text
static int LEGEND_SYMBOL_LINE_LENGTH
          The length of the line drawn through the symbol in the legend area.
static int LEGEND_TITLE_FONT_SIZE
          font size of legend title
static double LEGEND_VERTICAL_TOP_MARGIN
          top margin for vertical legends
static double LEGEND_WIDE_SIDE_MARGIN
          side margin of legend, used at the edge of the chart area
static java.lang.String MARKER_LINE_DEFAULT_COLOR
           
static double PLOT_AREA_MARGIN
           
static java.lang.String POSITION_EAST
          Position - East
static java.lang.String POSITION_LEADING
          Postion - leading
static java.lang.String POSITION_NORTH
          Position - North
static java.lang.String POSITION_SOUTH
          Position - South
static java.lang.String POSITION_TRAILING
          Position - trailing
static java.lang.String POSITION_WEST
          Position - West
static int TEXT_ANCHOR_END
          Text anchor value.
static int TEXT_ANCHOR_MIDDLE
          Text anchor value.
static int TEXT_ANCHOR_START
          Text anchor value.
static int TICK_MARK_LENGTH
          Length of tick mark
static double TIMESTAMP_BOTTOM_MARGIN
          bottom margin for timestamp
static double TIMESTAMP_HEIGHT
          height of the timestamp part
static double TIMESTAMP_SIDE_MARGIN
          Side margin for timestamp part
static int TITLE_FONT_SIZE
           
static double TITLE_HEIGHT
           
static double TITLE_PREF_ICON_HEIGHT
           
static double TITLE_PREF_ICON_WIDTH
           
static double TITLE_SIDE_MARGIN
           
static short VERTICAL
          Orientation - Vertical
static java.lang.String VISIBLE
          Visibililty value.
 

Field Detail

POSITION_EAST

public static final java.lang.String POSITION_EAST
Position - East

See Also:
Constant Field Values

POSITION_SOUTH

public static final java.lang.String POSITION_SOUTH
Position - South

See Also:
Constant Field Values

POSITION_WEST

public static final java.lang.String POSITION_WEST
Position - West

See Also:
Constant Field Values

POSITION_NORTH

public static final java.lang.String POSITION_NORTH
Position - North

See Also:
Constant Field Values

POSITION_LEADING

public static final java.lang.String POSITION_LEADING
Postion - leading

See Also:
Constant Field Values

POSITION_TRAILING

public static final java.lang.String POSITION_TRAILING
Position - trailing

See Also:
Constant Field Values

HORIZONTAL

public static final short HORIZONTAL
Orientation - Horizontal

See Also:
Constant Field Values

VERTICAL

public static final short VERTICAL
Orientation - Vertical

See Also:
Constant Field Values

BASE_FONT_SIZE

public static final int BASE_FONT_SIZE
Base font size

See Also:
Constant Field Values

CHART_AREA_DEFAULT_WIDTH

public static final double CHART_AREA_DEFAULT_WIDTH
default chart width (for all charts except meter chart)

See Also:
Constant Field Values

CHART_AREA_DEFAULT_HEIGHT

public static final double CHART_AREA_DEFAULT_HEIGHT
default chart height

See Also:
Constant Field Values

CHART_AREA_METER_DEFAULT_WIDTH

public static final double CHART_AREA_METER_DEFAULT_WIDTH
default width for meter charts

See Also:
Constant Field Values

AXIS_TYPE_INDEPENDENT_AXIS

public static final short AXIS_TYPE_INDEPENDENT_AXIS
Constant - independent axis

See Also:
Constant Field Values

AXIS_TYPE_PRIMARY_DEPENDENT_AXIS

public static final short AXIS_TYPE_PRIMARY_DEPENDENT_AXIS
Constant - primary dependent axis

See Also:
Constant Field Values

AXIS_TYPE_SECONDARY_DEPENDENT_AXIS

public static final short AXIS_TYPE_SECONDARY_DEPENDENT_AXIS
Constant - secondary dependent axis

See Also:
Constant Field Values

TICK_MARK_LENGTH

public static final int TICK_MARK_LENGTH
Length of tick mark

See Also:
Constant Field Values

AXIS_LABEL_FONT_SIZE

public static final int AXIS_LABEL_FONT_SIZE
Axis label font size

See Also:
Constant Field Values

AXIS_TITLE_FONT_SIZE

public static final int AXIS_TITLE_FONT_SIZE
Axis title font size

See Also:
Constant Field Values

AXIS_SPACE_BTW_AXIS_AND_LABEL

public static final int AXIS_SPACE_BTW_AXIS_AND_LABEL
Space between axis and label

See Also:
Constant Field Values

AXIS_SPACE_BTW_TITLE_AND_LABEL

public static final int AXIS_SPACE_BTW_TITLE_AND_LABEL
Space between labels and title (used in horizontal number axes)

See Also:
Constant Field Values

GRAPH_AREA_MARGIN

public static final double GRAPH_AREA_MARGIN
Margin for graph area (used on left, right and bottom sides)

See Also:
Constant Field Values

GRAPH_AREA_TOP_MARGIN

public static final double GRAPH_AREA_TOP_MARGIN
Top margin in Graph area (need more space at the top)

See Also:
Constant Field Values

PLOT_AREA_MARGIN

public static final double PLOT_AREA_MARGIN
See Also:
Constant Field Values

TIMESTAMP_SIDE_MARGIN

public static final double TIMESTAMP_SIDE_MARGIN
Side margin for timestamp part

See Also:
Constant Field Values

TIMESTAMP_BOTTOM_MARGIN

public static final double TIMESTAMP_BOTTOM_MARGIN
bottom margin for timestamp

See Also:
Constant Field Values

TIMESTAMP_HEIGHT

public static final double TIMESTAMP_HEIGHT
height of the timestamp part

See Also:
Constant Field Values

MARKER_LINE_DEFAULT_COLOR

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

LEGEND_NARROW_SIDE_MARGIN

public static final double LEGEND_NARROW_SIDE_MARGIN
side margin of legend, used if margin is next to the graph area

See Also:
Constant Field Values

LEGEND_WIDE_SIDE_MARGIN

public static final double LEGEND_WIDE_SIDE_MARGIN
side margin of legend, used at the edge of the chart area

See Also:
Constant Field Values

LEGEND_HORIZONTAL_SIDE_MARGIN

public static final int LEGEND_HORIZONTAL_SIDE_MARGIN
side margin for horizontal legends

See Also:
Constant Field Values

LEGEND_VERTICAL_TOP_MARGIN

public static final double LEGEND_VERTICAL_TOP_MARGIN
top margin for vertical legends

See Also:
Constant Field Values

LEGEND_HORIZONTAL_TOP_MARGIN

public static final double LEGEND_HORIZONTAL_TOP_MARGIN
top margin for horizontal legends

See Also:
Constant Field Values

LEGEND_SPACE_AFTER_TITLE

public static final double LEGEND_SPACE_AFTER_TITLE
space after legend title and before the first legend item

See Also:
Constant Field Values

LEGEND_SPACE_BETWEEN_ITEMS

public static final double LEGEND_SPACE_BETWEEN_ITEMS
space between legend items

See Also:
Constant Field Values

LEGEND_SPACE_BETWEEN_SYMBOL_AND_TEXT

public static final double LEGEND_SPACE_BETWEEN_SYMBOL_AND_TEXT
space between legend symbol and legend text

See Also:
Constant Field Values

LEGEND_TITLE_FONT_SIZE

public static final int LEGEND_TITLE_FONT_SIZE
font size of legend title

See Also:
Constant Field Values

LEGEND_ITEM_FONT_SIZE

public static final int LEGEND_ITEM_FONT_SIZE
font size of legend item text

See Also:
Constant Field Values

LEGEND_HORIZONTAL_HEIGHT

public static final int LEGEND_HORIZONTAL_HEIGHT
height of the legend if it is positioned at the top of bottom of the graph

See Also:
Constant Field Values

LEGEND_SYMBOL_LINE_LENGTH

public static final int LEGEND_SYMBOL_LINE_LENGTH
The length of the line drawn through the symbol in the legend area.

See Also:
Constant Field Values

LEGEND_ITEMS_PER_ROW

public static final int LEGEND_ITEMS_PER_ROW
Number of items per row (for horizontal legends only)

See Also:
Constant Field Values

LEGEND_MAX_HEIGHT_FRACTION

public static final double LEGEND_MAX_HEIGHT_FRACTION
For horizontal legends: The legend height can be at most this fraction of the height of the chart. For example, if the chart height is 500, the height of the horizontal legend can be at most 250.

See Also:
Constant Field Values

LEGEND_MAX_WIDTH_FRACTION

public static final double LEGEND_MAX_WIDTH_FRACTION
For vertical legends: The legend width can be at most this fraction of the width of the chart. For example, if the chart width is 500, the width of the vertical legend can be at most 250.

See Also:
Constant Field Values

TITLE_HEIGHT

public static final double TITLE_HEIGHT
See Also:
Constant Field Values

TITLE_SIDE_MARGIN

public static final double TITLE_SIDE_MARGIN
See Also:
Constant Field Values

TITLE_FONT_SIZE

public static final int TITLE_FONT_SIZE
See Also:
Constant Field Values

TITLE_PREF_ICON_WIDTH

public static final double TITLE_PREF_ICON_WIDTH
See Also:
Constant Field Values

TITLE_PREF_ICON_HEIGHT

public static final double TITLE_PREF_ICON_HEIGHT
See Also:
Constant Field Values

HOLE_RADIUS

public static final double HOLE_RADIUS
radius of the "hole" shape

See Also:
Constant Field Values

EMPTY_STRING

public static final java.lang.String EMPTY_STRING
EMPTY_STRING

See Also:
Constant Field Values

VISIBLE

public static final java.lang.String VISIBLE
Visibililty value. Element is visible.

See Also:
Constant Field Values

HIDDEN

public static final java.lang.String HIDDEN
Visibililty value. Element is hidden.

See Also:
Constant Field Values

TEXT_ANCHOR_START

public static final int TEXT_ANCHOR_START
Text anchor value. Anchor the text from the starting point.

See Also:
Constant Field Values

TEXT_ANCHOR_MIDDLE

public static final int TEXT_ANCHOR_MIDDLE
Text anchor value. Anchor the text from the middle point.

See Also:
Constant Field Values

TEXT_ANCHOR_END

public static final int TEXT_ANCHOR_END
Text anchor value. Anchor the text from the end point.

See Also:
Constant Field Values

TPTP 4.2.0 Platform Project
Internal API Specification