public enum CheckerVectorGraphics extends Enum<CheckerVectorGraphics> implements org.refcodes.data.DataLocator
CheckerVectorGraphics defines the pixmaps which can be retrieved
by the according CheckerVectorGraphicsUrlFactory and
CheckerVectorGraphicsInputStreamFactoryorg.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 |
|---|---|
static CheckerVectorGraphics |
fromName(String aPixmapName)
Retrieves the enumeration element representing the given vector graphics
name (ignoring the case) or null if none was found.
|
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.DataLocatorpublic InputStream getDataInputStream()
getDataInputStream in interface org.refcodes.data.DataLocatorpublic static CheckerVectorGraphics fromName(String aPixmapName)
aPixmapName - The pixmap name for which to get the enumeration
element.Copyright © 2017. All rights reserved.