Package de.gsi.chart.marker
Enum DefaultMarker
- java.lang.Object
-
- java.lang.Enum<DefaultMarker>
-
- de.gsi.chart.marker.DefaultMarker
-
- All Implemented Interfaces:
Marker,java.io.Serializable,java.lang.Comparable<DefaultMarker>
public enum DefaultMarker extends java.lang.Enum<DefaultMarker> implements Marker
- Author:
- rstein
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static voiddrawCircle(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static voiddrawCross(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static voiddrawDiamond(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static voiddrawEmptyCircle(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static voiddrawEmptyDiamond(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static voiddrawEmptyRectangle(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static voiddrawPlus(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static voiddrawRectangle(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)static Markerget(java.lang.String name)static DefaultMarkervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DefaultMarker[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECTANGLE
public static final DefaultMarker RECTANGLE
-
RECTANGLE1
public static final DefaultMarker RECTANGLE1
-
RECTANGLE2
public static final DefaultMarker RECTANGLE2
-
CIRCLE
public static final DefaultMarker CIRCLE
-
CIRCLE1
public static final DefaultMarker CIRCLE1
-
CIRCLE2
public static final DefaultMarker CIRCLE2
-
PLUS
public static final DefaultMarker PLUS
-
CROSS
public static final DefaultMarker CROSS
-
DIAMOND
public static final DefaultMarker DIAMOND
-
DIAMOND1
public static final DefaultMarker DIAMOND1
-
DIAMOND2
public static final DefaultMarker DIAMOND2
-
-
Method Detail
-
values
public static DefaultMarker[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultMarker c : DefaultMarker.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultMarker valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
draw
public void draw(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
drawCircle
public static void drawCircle(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
drawCross
public static void drawCross(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
drawDiamond
public static void drawDiamond(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
drawEmptyCircle
public static void drawEmptyCircle(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
drawEmptyDiamond
public static void drawEmptyDiamond(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
drawEmptyRectangle
public static void drawEmptyRectangle(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
drawPlus
public static void drawPlus(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
drawRectangle
public static void drawRectangle(javafx.scene.canvas.GraphicsContext gc, double x, double y, double size)
-
get
public static Marker get(java.lang.String name)
-
-