Class SymbolDefTable

java.lang.Object
armyc2.c2sd.renderer.utilities.SymbolDefTable

public class SymbolDefTable extends Object
Responsible for loading tactical graphic symbol definitions into a hash table.
  • Method Details

    • getInstance

      public static SymbolDefTable getInstance()
    • init

      public final void init(Context context)
    • getSymbolDef

      public SymbolDef getSymbolDef(String basicSymbolID, int symStd)
      Parameters:
      basicSymbolID - - IN - A 15 character MilStd code
      symStd - 0 or 1.
      Returns:
      SymbolDef whose Symbol Id matches what is passed in
      See Also:
      • ArmyC2.C2SD.Utilities.RendererSettings#Symbology_2525Bch2_USAS_13_14
      • ArmyC2.C2SD.Utilities.RendererSettings#Symbology_2525C
    • GetAllSymbolDefs

      public Map<String,SymbolDef> GetAllSymbolDefs(int symStd)
      Returns a Map of all the symbol definitions, keyed on basic symbol code.
      Parameters:
      symStd - 0 or 1.
      Returns:
      See Also:
      • ArmyC2.C2SD.Utilities.RendererSettings#Symbology_2525Bch2_USAS_13_14
      • ArmyC2.C2SD.Utilities.RendererSettings#Symbology_2525C
    • GetAllSymbolDefDups

      public ArrayList<SymbolDef> GetAllSymbolDefDups(int symStd)
      SymbolIDs are no longer unique thanks to 2525C and some EMS symbols. Here are the EMS symbols that reused symbol IDs. Like how EMS.INCDNT.CVDIS.DISPOP uses the same symbol code as STBOPS.ITM.RFG (O*I*R-----*****)
      Parameters:
      symStd - 0 or 1.
      Returns:
      See Also:
      • ArmyC2.C2SD.Utilities.RendererSettings#Symbology_2525Bch2_USAS_13_14
      • ArmyC2.C2SD.Utilities.RendererSettings#Symbology_2525C
    • HasSymbolDef

      public Boolean HasSymbolDef(String basicSymbolID, int symStd)
      Parameters:
      basicSymbolID -
      symStd - 0 or 1.
      Returns:
      See Also:
      • ArmyC2.C2SD.Utilities.RendererSettings#Symbology_2525Bch2_USAS_13_14
      • ArmyC2.C2SD.Utilities.RendererSettings#Symbology_2525C
    • isMultiPoint

      public Boolean isMultiPoint(String symbolID, int symStd)
      Checks if symbol is a multipoint symbol
      Parameters:
      symbolID -
      symStd -
      Returns: