org.jgnuplot
Class PointType

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

public final class PointType
extends java.lang.Object

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

Author:
Pander

Field Summary
static int NOT_SPECIFIED
           
static int POSTSCRIPT_CIRCLE_DOT
           
static int POSTSCRIPT_CIRCLE_FILLED
           
static int POSTSCRIPT_DIAMOND_DOT
           
static int POSTSCRIPT_DIAMOND_FILLED
           
static int POSTSCRIPT_DOT
           
static int POSTSCRIPT_DOT_SMALL
           
static int POSTSCRIPT_PENTAGON_DOT
           
static int POSTSCRIPT_PENTAGON_FILLED
           
static int POSTSCRIPT_PLUS
           
static int POSTSCRIPT_SQUARE_DOT
           
static int POSTSCRIPT_SQUARE_FILLED
           
static int POSTSCRIPT_STAR
           
static int POSTSCRIPT_TRIANGLE_DOWN_DOT
           
static int POSTSCRIPT_TRIANGLE_DOWN_FILLED
           
static int POSTSCRIPT_TRIANGLE_UP_DOT
           
static int POSTSCRIPT_TRIANGLE_UP_FILLED
           
static int POSTSCRIPT_X
           
static int SCREEN_CIRCLE_DOT
           
static int SCREEN_CIRCLE_FILLED
           
static int SCREEN_DIAMOND_DOT
           
static int SCREEN_DIAMOND_FILLED
           
static int SCREEN_DOT
           
static int SCREEN_NONE
           
static int SCREEN_PLUS
           
static int SCREEN_SQUARE_DOT
           
static int SCREEN_SQUARE_FILLED
           
static int SCREEN_STAR
           
static int SCREEN_TRIANGLE_DOWN_DOT
           
static int SCREEN_TRIANGLE_DOWN_FILLED
           
static int SCREEN_TRIANGLE_UP_DOT
           
static int SCREEN_TRIANGLE_UP_FILLED
           
static int SCREEN_X
           
 
Constructor Summary
private PointType()
           
 
Method Summary
static int convertPostscriptToScreen(int thePointType)
          This method converts PostScript point type to screen point type because the underlying integer values are not identical.
static int convertScreenToPostscript(int thePointType)
          This method converts screen point type to PostScript point 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_NONE

public static final int SCREEN_NONE
See Also:
Constant Field Values

SCREEN_DOT

public static final int SCREEN_DOT
See Also:
Constant Field Values

SCREEN_PLUS

public static final int SCREEN_PLUS
See Also:
Constant Field Values

SCREEN_X

public static final int SCREEN_X
See Also:
Constant Field Values

SCREEN_STAR

public static final int SCREEN_STAR
See Also:
Constant Field Values

SCREEN_SQUARE_DOT

public static final int SCREEN_SQUARE_DOT
See Also:
Constant Field Values

SCREEN_SQUARE_FILLED

public static final int SCREEN_SQUARE_FILLED
See Also:
Constant Field Values

SCREEN_CIRCLE_DOT

public static final int SCREEN_CIRCLE_DOT
See Also:
Constant Field Values

SCREEN_CIRCLE_FILLED

public static final int SCREEN_CIRCLE_FILLED
See Also:
Constant Field Values

SCREEN_TRIANGLE_UP_DOT

public static final int SCREEN_TRIANGLE_UP_DOT
See Also:
Constant Field Values

SCREEN_TRIANGLE_UP_FILLED

public static final int SCREEN_TRIANGLE_UP_FILLED
See Also:
Constant Field Values

SCREEN_TRIANGLE_DOWN_DOT

public static final int SCREEN_TRIANGLE_DOWN_DOT
See Also:
Constant Field Values

SCREEN_TRIANGLE_DOWN_FILLED

public static final int SCREEN_TRIANGLE_DOWN_FILLED
See Also:
Constant Field Values

SCREEN_DIAMOND_DOT

public static final int SCREEN_DIAMOND_DOT
See Also:
Constant Field Values

SCREEN_DIAMOND_FILLED

public static final int SCREEN_DIAMOND_FILLED
See Also:
Constant Field Values

POSTSCRIPT_DOT

public static final int POSTSCRIPT_DOT
See Also:
Constant Field Values

POSTSCRIPT_DOT_SMALL

public static final int POSTSCRIPT_DOT_SMALL
See Also:
Constant Field Values

POSTSCRIPT_PLUS

public static final int POSTSCRIPT_PLUS
See Also:
Constant Field Values

POSTSCRIPT_X

public static final int POSTSCRIPT_X
See Also:
Constant Field Values

POSTSCRIPT_STAR

public static final int POSTSCRIPT_STAR
See Also:
Constant Field Values

POSTSCRIPT_SQUARE_DOT

public static final int POSTSCRIPT_SQUARE_DOT
See Also:
Constant Field Values

POSTSCRIPT_SQUARE_FILLED

public static final int POSTSCRIPT_SQUARE_FILLED
See Also:
Constant Field Values

POSTSCRIPT_CIRCLE_DOT

public static final int POSTSCRIPT_CIRCLE_DOT
See Also:
Constant Field Values

POSTSCRIPT_CIRCLE_FILLED

public static final int POSTSCRIPT_CIRCLE_FILLED
See Also:
Constant Field Values

POSTSCRIPT_TRIANGLE_UP_DOT

public static final int POSTSCRIPT_TRIANGLE_UP_DOT
See Also:
Constant Field Values

POSTSCRIPT_TRIANGLE_UP_FILLED

public static final int POSTSCRIPT_TRIANGLE_UP_FILLED
See Also:
Constant Field Values

POSTSCRIPT_TRIANGLE_DOWN_DOT

public static final int POSTSCRIPT_TRIANGLE_DOWN_DOT
See Also:
Constant Field Values

POSTSCRIPT_TRIANGLE_DOWN_FILLED

public static final int POSTSCRIPT_TRIANGLE_DOWN_FILLED
See Also:
Constant Field Values

POSTSCRIPT_DIAMOND_DOT

public static final int POSTSCRIPT_DIAMOND_DOT
See Also:
Constant Field Values

POSTSCRIPT_DIAMOND_FILLED

public static final int POSTSCRIPT_DIAMOND_FILLED
See Also:
Constant Field Values

POSTSCRIPT_PENTAGON_DOT

public static final int POSTSCRIPT_PENTAGON_DOT
See Also:
Constant Field Values

POSTSCRIPT_PENTAGON_FILLED

public static final int POSTSCRIPT_PENTAGON_FILLED
See Also:
Constant Field Values
Constructor Detail

PointType

private PointType()
Method Detail

convertScreenToPostscript

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

Parameters:
thePointType - screen point type
Returns:
postscript point type.

convertPostscriptToScreen

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

Parameters:
thePointType - PostScript point type
Returns:
screen point type.