public enum CheckerVectorGraphics extends Enum<CheckerVectorGraphics> implements org.refcodes.data.DataLocator
CheckerVectorGraphics
defines the pixmaps which can be retrieved by
the according CheckerVectorGraphicsUrlFactory
and
CheckerVectorGraphicsInputStreamFactory
org.refcodes.data.DataLocator.DataLocatorBuilder<B extends org.refcodes.data.DataLocator.DataLocatorBuilder<B>>, org.refcodes.data.DataLocator.DataLocatorMutator, org.refcodes.data.DataLocator.DataLocatorProperty, org.refcodes.data.DataLocator.DataLocatorPropertyBuilder
Enum Constant and Description |
---|
FXML_PIECE_GRAY |
FXML_PIECE_RED |
FXML_PIECE_WHITE |
SVG_PIECE_GRAY |
SVG_PIECE_RED |
SVG_PIECE_WHITE |
Modifier and Type | Method and Description |
---|---|
InputStream |
getDataInputStream() |
URL |
getDataUrl() |
static CheckerVectorGraphics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckerVectorGraphics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckerVectorGraphics SVG_PIECE_GRAY
public static final CheckerVectorGraphics FXML_PIECE_GRAY
public static final CheckerVectorGraphics SVG_PIECE_RED
public static final CheckerVectorGraphics FXML_PIECE_RED
public static final CheckerVectorGraphics SVG_PIECE_WHITE
public static final CheckerVectorGraphics FXML_PIECE_WHITE
public static CheckerVectorGraphics[] values()
for (CheckerVectorGraphics c : CheckerVectorGraphics.values()) System.out.println(c);
public static CheckerVectorGraphics valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic URL getDataUrl()
getDataUrl
in interface org.refcodes.data.DataLocator
public InputStream getDataInputStream()
getDataInputStream
in interface org.refcodes.data.DataLocator
Copyright © 2016. All rights reserved.