org.jgnuplot
Class LineType

java.lang.Object
  extended by org.jgnuplot.LineType

public final class LineType
extends java.lang.Object

This class models all possible values for the line style option for a graph in a plot command.

Author:
Pander

Field Summary
static int NOT_SPECIFIED
           
static int POSTSCRIPT_DASH_DASH_DASH_DASH_SPACE
          ---- ---- is a 'dash dash dash dash space' line in PostScript.
static int POSTSCRIPT_DASH_DASH_DASH_SPACE
          --- --- is a 'dash dash dash space' line in PostScript.
static int POSTSCRIPT_DASH_DASH_SPACE
          -- -- -- is a 'dash dash space' line in PostScript.
static int POSTSCRIPT_DASH_DOT
          -.-.-.-.- is a 'dash dot' line in PostScript.
static int POSTSCRIPT_DASH_SPACE
          - - - - - is a 'dash space' line in PostScript.
static int POSTSCRIPT_DASH_SPACE_DOT_SPACE
          - .
static int POSTSCRIPT_DASHES
          --------- is a dashed line in PostScript.
static int POSTSCRIPT_DOT_SPACE
          .
static int POSTSCRIPT_DOTS
          ......... is a dotted line in PostScript.
static int POSTSCRIPT_SOLID
          _________ is a solid line in PostScript.
static int POSTSCRIPT_SOLID_BOLD
          ========= is solid bold line on screen.
static int SCREEN_BLACK_DOTS
          .
static int SCREEN_BLACK_SOLID_BOLD
          =========== is a black solid bold line on screen.
static int SCREEN_BLUE
          ___________ is a blue solid line on screen.
static int SCREEN_BROWN
          ___________ is a brown solid line on screen.
static int SCREEN_CYAN
          ___________ is a cyan solid line on screen.
static int SCREEN_GREEN
          ___________ is a green solid line on screen.
static int SCREEN_MAGENTA
          ___________ is a magenta solid line on screen.
static int SCREEN_RED
          ___________ is a red solid line on screen.
static int SCREEN_SALMON
          ___________ is salmon solid line on screen.
static int SCREEN_YELLOW
          ___________ is yellow solid line on screen.
 
Constructor Summary
private LineType()
           
 
Method Summary
static int convertPostscriptToScreen(int theLineType)
          This method converts PostScript line type to screen line type because the underlying integer values are not identical.
static int convertScreenToPostscript(int theLineType)
          This method converts screen line type to PostScript line type because the underlying integer values are not identical.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_SPECIFIED

public static final int NOT_SPECIFIED
See Also:
Constant Field Values

SCREEN_BLACK_SOLID_BOLD

public static final int SCREEN_BLACK_SOLID_BOLD
=========== is a black solid bold line on screen.

See Also:
Constant Field Values

SCREEN_BLACK_DOTS

public static final int SCREEN_BLACK_DOTS
. . . . . is a black dotted line on screen.

See Also:
Constant Field Values

SCREEN_RED

public static final int SCREEN_RED
___________ is a red solid line on screen.

See Also:
Constant Field Values

SCREEN_GREEN

public static final int SCREEN_GREEN
___________ is a green solid line on screen.

See Also:
Constant Field Values

SCREEN_BLUE

public static final int SCREEN_BLUE
___________ is a blue solid line on screen.

See Also:
Constant Field Values

SCREEN_MAGENTA

public static final int SCREEN_MAGENTA
___________ is a magenta solid line on screen.

See Also:
Constant Field Values

SCREEN_CYAN

public static final int SCREEN_CYAN
___________ is a cyan solid line on screen.

See Also:
Constant Field Values

SCREEN_BROWN

public static final int SCREEN_BROWN
___________ is a brown solid line on screen.

See Also:
Constant Field Values

SCREEN_YELLOW

public static final int SCREEN_YELLOW
___________ is yellow solid line on screen.

See Also:
Constant Field Values

SCREEN_SALMON

public static final int SCREEN_SALMON
___________ is salmon solid line on screen.

See Also:
Constant Field Values

POSTSCRIPT_SOLID_BOLD

public static final int POSTSCRIPT_SOLID_BOLD
========= is solid bold line on screen.

See Also:
Constant Field Values

POSTSCRIPT_DOT_SPACE

public static final int POSTSCRIPT_DOT_SPACE
. . . . . is a 'dot space' line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_SOLID

public static final int POSTSCRIPT_SOLID
_________ is a solid line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_DASHES

public static final int POSTSCRIPT_DASHES
--------- is a dashed line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_DASH_SPACE

public static final int POSTSCRIPT_DASH_SPACE
- - - - - is a 'dash space' line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_DOTS

public static final int POSTSCRIPT_DOTS
......... is a dotted line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_DASH_DOT

public static final int POSTSCRIPT_DASH_DOT
-.-.-.-.- is a 'dash dot' line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_DASH_SPACE_DOT_SPACE

public static final int POSTSCRIPT_DASH_SPACE_DOT_SPACE
- . - . - is a 'dash space dot space' line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_DASH_DASH_SPACE

public static final int POSTSCRIPT_DASH_DASH_SPACE
-- -- -- is a 'dash dash space' line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_DASH_DASH_DASH_SPACE

public static final int POSTSCRIPT_DASH_DASH_DASH_SPACE
--- --- is a 'dash dash dash space' line in PostScript.

See Also:
Constant Field Values

POSTSCRIPT_DASH_DASH_DASH_DASH_SPACE

public static final int POSTSCRIPT_DASH_DASH_DASH_DASH_SPACE
---- ---- is a 'dash dash dash dash space' line in PostScript.

See Also:
Constant Field Values
Constructor Detail

LineType

private LineType()
Method Detail

convertScreenToPostscript

public static int convertScreenToPostscript(int theLineType)
This method converts screen line type to PostScript line type because the underlying integer values are not identical.

Parameters:
theLineType - screen line type
Returns:
postscript line type.

convertPostscriptToScreen

public static int convertPostscriptToScreen(int theLineType)
This method converts PostScript line type to screen line type because the underlying integer values are not identical.

Parameters:
theLineType - PostScript line type
Returns:
screen line type.