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 String
AIR_DEFENCE
protected static String
AIR_FORCE
protected static String
AIRBORNE
protected static String
ANTI_TANK
protected static String
ARMORED
protected static String
ARMY_AVIATION
protected static String
ARTILLERY
protected static String
BRIGADE_SYMBOL
protected static String
COMMANDO
protected static String
COMPANY_SYMBOL
protected static String
ENGINEERS
protected static String
GLIDER
protected static String
GUERILLA
protected static String
INFANTRY
protected static String
INSTALLATION_SYMBOL
protected static String
MARINES
protected static String
MOUNTAIN
protected static String
NAVY
protected static String
NONE
protected static String
RECON
protected static String[]
sizeNames
protected static VASSAL.build.module.gamepieceimage.Symbol.SizeOption[]
SIZES
protected static String
SQUAD_SYMBOL
protected static String
SZ_ARMY
protected static String
SZ_ARMY_GROUP
protected static String
SZ_BATTALION
protected static String
SZ_BRIGADE
protected static String
SZ_COMPANY
protected static String
SZ_CORPS
protected static String
SZ_DIVISION
protected static String
SZ_ECHELON
protected static String
SZ_INSTALLATION
protected static String
SZ_NONE
protected static String
SZ_PLATOON
protected static String
SZ_REGIMENT
protected static String
SZ_REGION
protected static String
SZ_SECTION
protected static String
SZ_SQUAD
protected static String
SZ_TEAM
protected static String
TEAM_SYMBOL
-
Constructor Summary
Constructors Constructor Description NatoUnitSymbolSet()
-
Method Summary
Modifier and Type Method Description static BufferedImage
buildSizeImage(Graphics g, int count, String type, int sym_w, int sym_h, int gap)
static BufferedImage
buildSizeImage(String size, int sym_w, int sym_h, int gap)
protected static BufferedImage
createImage(int count, int sym_w, int sym_h, int gap)
protected static void
draw(Graphics g, float lineWidth, String name, Rectangle bounds, boolean drawLow)
protected static void
draw(String name1, String name2, Graphics g, Rectangle bounds, Color fg, Color bg, Color sz, float lineWidth, String size)
protected static void
drawSize(Graphics g, String size, Rectangle bounds)
protected static VASSAL.build.module.gamepieceimage.Symbol.SizeOption
findSize(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)
-