Class Symbol.NatoUnitSymbolSet
java.lang.Object
VASSAL.build.module.gamepieceimage.Symbol.NatoUnitSymbolSet
- Enclosing class:
- Symbol
public static class Symbol.NatoUnitSymbolSet extends Object
-
Field Summary
Fields Modifier and Type Field Description protected static StringAIR_DEFENCEprotected static StringAIR_FORCEprotected static StringAIRBORNEprotected static StringANTI_TANKprotected static StringARMOREDprotected static StringARMY_AVIATIONprotected static StringARTILLERYprotected static StringBRIGADE_SYMBOLprotected static StringCOMMANDOprotected static StringCOMPANY_SYMBOLprotected static StringENGINEERSprotected static StringGLIDERprotected static StringGUERILLAprotected static StringINFANTRYprotected static StringINSTALLATION_SYMBOLprotected static StringMARINESprotected static StringMOUNTAINprotected static StringNAVYprotected static StringNONEprotected static StringRECONprotected static String[]sizeNamesprotected static VASSAL.build.module.gamepieceimage.Symbol.SizeOption[]SIZESprotected static StringSQUAD_SYMBOLprotected static StringSZ_ARMYprotected static StringSZ_ARMY_GROUPprotected static StringSZ_BATTALIONprotected static StringSZ_BRIGADEprotected static StringSZ_COMPANYprotected static StringSZ_CORPSprotected static StringSZ_DIVISIONprotected static StringSZ_ECHELONprotected static StringSZ_INSTALLATIONprotected static StringSZ_NONEprotected static StringSZ_PLATOONprotected static StringSZ_REGIMENTprotected static StringSZ_REGIONprotected static StringSZ_SECTIONprotected static StringSZ_SQUADprotected static StringSZ_TEAMprotected static StringTEAM_SYMBOL -
Constructor Summary
Constructors Constructor Description NatoUnitSymbolSet() -
Method Summary
Modifier and Type Method Description static BufferedImagebuildSizeImage(Graphics g, int count, String type, int sym_w, int sym_h, int gap)static BufferedImagebuildSizeImage(String size, int sym_w, int sym_h, int gap)protected static BufferedImagecreateImage(int count, int sym_w, int sym_h, int gap)protected static voiddraw(Graphics g, float lineWidth, String name, Rectangle bounds, boolean drawLow)protected static voiddraw(String name1, String name2, Graphics g, Rectangle bounds, Color fg, Color bg, Color sz, float lineWidth, String size)protected static voiddrawSize(Graphics g, String size, Rectangle bounds)protected static VASSAL.build.module.gamepieceimage.Symbol.SizeOptionfindSize(String name)protected static String[]getSymbolNames()protected static String[]getSymbolSizes()
-
Field Details
-
SZ_NONE
- See Also:
- Constant Field Values
-
SZ_INSTALLATION
- See Also:
- Constant Field Values
-
SZ_TEAM
- See Also:
- Constant Field Values
-
SZ_SQUAD
- See Also:
- Constant Field Values
-
SZ_SECTION
- See Also:
- Constant Field Values
-
SZ_PLATOON
- See Also:
- Constant Field Values
-
SZ_ECHELON
- See Also:
- Constant Field Values
-
SZ_COMPANY
- See Also:
- Constant Field Values
-
SZ_BATTALION
- See Also:
- Constant Field Values
-
SZ_REGIMENT
- See Also:
- Constant Field Values
-
SZ_BRIGADE
- See Also:
- Constant Field Values
-
SZ_DIVISION
- See Also:
- Constant Field Values
-
SZ_CORPS
- See Also:
- Constant Field Values
-
SZ_ARMY
- See Also:
- Constant Field Values
-
SZ_ARMY_GROUP
- See Also:
- Constant Field Values
-
SZ_REGION
- See Also:
- Constant Field Values
-
NONE
- See Also:
- Constant Field Values
-
AIRBORNE
- See Also:
- Constant Field Values
-
AIR_DEFENCE
- See Also:
- Constant Field Values
-
AIR_FORCE
- See Also:
- Constant Field Values
-
ANTI_TANK
- See Also:
- Constant Field Values
-
ARMORED
- See Also:
- Constant Field Values
-
ARMY_AVIATION
- See Also:
- Constant Field Values
-
ARTILLERY
- See Also:
- Constant Field Values
-
COMMANDO
- See Also:
- Constant Field Values
-
ENGINEERS
- See Also:
- Constant Field Values
-
GLIDER
- See Also:
- Constant Field Values
-
GUERILLA
- See Also:
- Constant Field Values
-
INFANTRY
- See Also:
- Constant Field Values
-
MARINES
- See Also:
- Constant Field Values
-
MOUNTAIN
- See Also:
- Constant Field Values
-
NAVY
- See Also:
- Constant Field Values
-
RECON
- See Also:
- Constant Field Values
-
INSTALLATION_SYMBOL
- See Also:
- Constant Field Values
-
TEAM_SYMBOL
- See Also:
- Constant Field Values
-
SQUAD_SYMBOL
- See Also:
- Constant Field Values
-
COMPANY_SYMBOL
- See Also:
- Constant Field Values
-
BRIGADE_SYMBOL
- See Also:
- Constant Field Values
-
sizeNames
-
SIZES
protected static final VASSAL.build.module.gamepieceimage.Symbol.SizeOption[] SIZES
-
-
Constructor Details
-
NatoUnitSymbolSet
public NatoUnitSymbolSet()
-
-
Method Details
-
getSymbolNames
-
getSymbolSizes
-
findSize
-
draw
-
draw
-
drawSize
- Parameters:
g- Grahicssize- Name of size symbolbounds- Size of the unit symbol
-
buildSizeImage
-
createImage
-
buildSizeImage
public static BufferedImage buildSizeImage(Graphics g, int count, String type, int sym_w, int sym_h, int gap)
-