Package org.refcodes.data.ext.checkers
Enum Class CheckerVectorGraphics
- All Implemented Interfaces:
Serializable
,Comparable<CheckerVectorGraphics>
,Constable
,org.refcodes.data.DataLocator
public enum CheckerVectorGraphics
extends Enum<CheckerVectorGraphics>
implements org.refcodes.data.DataLocator
The
CheckerVectorGraphics
defines the pixmaps which can be retrieved
by the according CheckerVectorGraphicsUrlFactory
and
CheckerVectorGraphicsInputStreamFactory
.- Author:
- steiner
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.refcodes.data.DataLocator
org.refcodes.data.DataLocator.DataLocatorBuilder<B extends org.refcodes.data.DataLocator.DataLocatorBuilder<B>>, org.refcodes.data.DataLocator.DataLocatorMutator, org.refcodes.data.DataLocator.DataLocatorProperty
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic CheckerVectorGraphics
Retrieves the enumeration element representing the given vector graphics name (ignoring the case) or null if none was found.static CheckerVectorGraphics
Returns the enum constant of this class with the specified name.static CheckerVectorGraphics[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SVG_PIECE_GRAY
-
FXML_PIECE_GRAY
-
SVG_PIECE_RED
-
FXML_PIECE_RED
-
SVG_PIECE_WHITE
-
FXML_PIECE_WHITE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getDataUrl
- Specified by:
getDataUrl
in interfaceorg.refcodes.data.DataLocator
-
getDataInputStream
- Specified by:
getDataInputStream
in interfaceorg.refcodes.data.DataLocator
-
fromName
Retrieves the enumeration element representing the given vector graphics name (ignoring the case) or null if none was found.- Parameters:
aPixmapName
- The pixmap name for which to get the enumeration element.- Returns:
- The enumeration element determined or null if none matching was found.
-