Package org.refcodes.data.ext.chess
Enum ChessVectorGraphics
- java.lang.Object
-
- java.lang.Enum<ChessVectorGraphics>
-
- org.refcodes.data.ext.chess.ChessVectorGraphics
-
- All Implemented Interfaces:
org.refcodes.data.DataLocator
public enum ChessVectorGraphics extends java.lang.Enum<ChessVectorGraphics> implements org.refcodes.data.DataLocator
TheChessVectorGraphics
defines the pixmaps which can be retrieved by the accordingChessVectorGraphicsUrlFactory
andChessVectorGraphicsInputStreamFactory
.- Author:
- steiner
-
-
Nested Class Summary
-
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, org.refcodes.data.DataLocator.DataLocatorPropertyBuilder
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChessVectorGraphics
fromName(java.lang.String aPixmapName)
Retrieves the enumeration element representing the given vector graphics name (ignoring the case) or null if none was found.java.io.InputStream
getDataInputStream()
java.net.URL
getDataUrl()
static ChessVectorGraphics
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChessVectorGraphics[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FXML_BDT_BISHOP_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_BDT_BISHOP_DARK_TRANSPARENT
-
SVG_BDT_BISHOP_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_BDT_BISHOP_DARK_TRANSPARENT
-
FXML_BDT_BISHOP_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_BDT_BISHOP_ROTATED_DARK_TRANSPARENT
-
SVG_BDT_BISHOP_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_BDT_BISHOP_ROTATED_DARK_TRANSPARENT
-
FXML_BLT_BISHOP_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_BLT_BISHOP_LIGHT_TRANSPARENT
-
SVG_BLT_BISHOP_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_BLT_BISHOP_LIGHT_TRANSPARENT
-
FXML_BLT_BISHOP_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_BLT_BISHOP_ROTATED_LIGHT_TRANSPARENT
-
SVG_BLT_BISHOP_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_BLT_BISHOP_ROTATED_LIGHT_TRANSPARENT
-
FXML_EDT_BISHOP_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_EDT_BISHOP_ROTATED_DARK_TRANSPARENT
-
SVG_EDT_BISHOP_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_EDT_BISHOP_ROTATED_DARK_TRANSPARENT
-
FXML_ELT_BISHOP_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_ELT_BISHOP_ROTATED_LIGHT_TRANSPARENT
-
SVG_ELT_BISHOP_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_ELT_BISHOP_ROTATED_LIGHT_TRANSPARENT
-
FXML_FDT_KING_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_FDT_KING_ROTATED_DARK_TRANSPARENT
-
SVG_FDT_KING_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_FDT_KING_ROTATED_DARK_TRANSPARENT
-
FXML_FLT_KING_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_FLT_KING_ROTATED_LIGHT_TRANSPARENT
-
SVG_FLT_KING_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_FLT_KING_ROTATED_LIGHT_TRANSPARENT
-
FXML_GDT_QUEEN_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_GDT_QUEEN_ROTATED_DARK_TRANSPARENT
-
SVG_GDT_QUEEN_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_GDT_QUEEN_ROTATED_DARK_TRANSPARENT
-
FXML_GLT_QUEEN_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_GLT_QUEEN_ROTATED_LIGHT_TRANSPARENT
-
SVG_GLT_QUEEN_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_GLT_QUEEN_ROTATED_LIGHT_TRANSPARENT
-
FXML_HDT_PAWN_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_HDT_PAWN_ROTATED_DARK_TRANSPARENT
-
SVG_HDT_PAWN_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_HDT_PAWN_ROTATED_DARK_TRANSPARENT
-
FXML_HLT_PAWN_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_HLT_PAWN_ROTATED_LIGHT_TRANSPARENT
-
SVG_HLT_PAWN_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_HLT_PAWN_ROTATED_LIGHT_TRANSPARENT
-
FXML_KDT_KING_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_KDT_KING_DARK_TRANSPARENT
-
SVG_KDT_KING_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_KDT_KING_DARK_TRANSPARENT
-
FXML_KLT_KING_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_KLT_KING_LIGHT_TRANSPARENT
-
SVG_KLT_KING_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_KLT_KING_LIGHT_TRANSPARENT
-
FXML_MDT_ROOK_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_MDT_ROOK_ROTATED_DARK_TRANSPARENT
-
SVG_MDT_ROOK_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_MDT_ROOK_ROTATED_DARK_TRANSPARENT
-
FXML_MLT_ROOK_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_MLT_ROOK_ROTATED_LIGHT_TRANSPARENT
-
SVG_MLT_ROOK_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_MLT_ROOK_ROTATED_LIGHT_TRANSPARENT
-
FXML_NDT_KNIGHT_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_NDT_KNIGHT_DARK_TRANSPARENT
-
SVG_NDT_KNIGHT_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_NDT_KNIGHT_DARK_TRANSPARENT
-
FXML_NDT_KNIGHT_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_NDT_KNIGHT_ROTATED_DARK_TRANSPARENT
-
SVG_NDT_KNIGHT_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_NDT_KNIGHT_ROTATED_DARK_TRANSPARENT
-
FXML_NLT_KNIGHT_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_NLT_KNIGHT_LIGHT_TRANSPARENT
-
SVG_NLT_KNIGHT_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_NLT_KNIGHT_LIGHT_TRANSPARENT
-
FXML_NLT_KNIGHT_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_NLT_KNIGHT_ROTATED_LIGHT_TRANSPARENT
-
SVG_NLT_KNIGHT_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_NLT_KNIGHT_ROTATED_LIGHT_TRANSPARENT
-
FXML_PDT_PAWN_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_PDT_PAWN_DARK_TRANSPARENT
-
SVG_PDT_PAWN_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_PDT_PAWN_DARK_TRANSPARENT
-
FXML_PLT_PAWN_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_PLT_PAWN_LIGHT_TRANSPARENT
-
SVG_PLT_PAWN_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_PLT_PAWN_LIGHT_TRANSPARENT
-
FXML_QDT_QUEEN_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_QDT_QUEEN_DARK_TRANSPARENT
-
SVG_QDT_QUEEN_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_QDT_QUEEN_DARK_TRANSPARENT
-
FXML_QLT_QUEEN_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_QLT_QUEEN_LIGHT_TRANSPARENT
-
SVG_QLT_QUEEN_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_QLT_QUEEN_LIGHT_TRANSPARENT
-
FXML_RDT_ROOK_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_RDT_ROOK_DARK_TRANSPARENT
-
SVG_RDT_ROOK_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_RDT_ROOK_DARK_TRANSPARENT
-
FXML_RLT_ROOK_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_RLT_ROOK_LIGHT_TRANSPARENT
-
SVG_RLT_ROOK_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_RLT_ROOK_LIGHT_TRANSPARENT
-
FXML_SDT_KNIGHT_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics FXML_SDT_KNIGHT_ROTATED_DARK_TRANSPARENT
-
SVG_SDT_KNIGHT_ROTATED_DARK_TRANSPARENT
public static final ChessVectorGraphics SVG_SDT_KNIGHT_ROTATED_DARK_TRANSPARENT
-
FXML_SLT_KNIGHT_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics FXML_SLT_KNIGHT_ROTATED_LIGHT_TRANSPARENT
-
SVG_SLT_KNIGHT_ROTATED_LIGHT_TRANSPARENT
public static final ChessVectorGraphics SVG_SLT_KNIGHT_ROTATED_LIGHT_TRANSPARENT
-
-
Method Detail
-
values
public static ChessVectorGraphics[] 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 (ChessVectorGraphics c : ChessVectorGraphics.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChessVectorGraphics 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
-
getDataUrl
public java.net.URL getDataUrl()
- Specified by:
getDataUrl
in interfaceorg.refcodes.data.DataLocator
-
getDataInputStream
public java.io.InputStream getDataInputStream()
- Specified by:
getDataInputStream
in interfaceorg.refcodes.data.DataLocator
-
fromName
public static ChessVectorGraphics fromName(java.lang.String aPixmapName)
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.
-
-