Class EnumQuickSymbol


  • public class EnumQuickSymbol
    extends java.lang.Object
    Symbol lookup for EnumDSSXMLSymbol, and caching for various fonts and output. Wingdings is used by Internet Explorer. Unicode by FireFox. Note that for thresholds, use the replace text value.
    • Method Detail

      • getName

        public java.lang.String getName()
      • getsymbol

        public int getsymbol()
      • getWingdings

        public char getWingdings()
      • getWingdingsString

        public java.lang.String getWingdingsString()
      • getWingdingsHTML

        public java.lang.String getWingdingsHTML()
      • getUnicodeHTML

        public java.lang.String getUnicodeHTML()
      • getMobileUnicodeHTML

        public java.lang.String getMobileUnicodeHTML()
      • getUnicode

        public int getUnicode()
      • getUnicodeString

        public java.lang.String getUnicodeString()
      • getMobileUnicodeString

        public java.lang.String getMobileUnicodeString()
      • getImageSource

        public java.lang.String getImageSource()
      • getDescriptorID

        public int getDescriptorID()
      • get

        public static EnumQuickSymbol get​(int symbol)
        Lookup based on dss index. This will return Unknown if the input parameter is not recognized.
      • get

        public static EnumQuickSymbol get​(java.lang.String symbol)
        Parameters:
        symbol - replacement text
      • get

        public static EnumQuickSymbol get​(java.lang.String thresholdSrc,
                                          java.lang.Boolean isQuickSymbol)
        Lookup based on given threshold image src
        Parameters:
        thresholdSrc - String - quick symbol or image filename
        boolean - isQuickSymbol - flag to indicate whether 'src' is a quick symbol or an image file
      • getHTML

        public static java.lang.String getHTML​(int symbol,
                                               boolean isIE)
      • getHTML

        public static java.lang.String getHTML​(java.lang.String symbol,
                                               boolean isIE)
      • getHTML

        public static java.lang.String getHTML​(java.lang.String symbol,
                                               int browserType)
        Parameters:
        symbol - threshold replacement text value
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object