Package com.microstrategy.web.app.utils
Class EnumQuickSymbol
- java.lang.Object
-
- com.microstrategy.web.app.utils.EnumQuickSymbol
-
public class EnumQuickSymbol extends java.lang.Object
Symbol lookup forEnumDSSXMLSymbol
, 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.
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnumQuickSymbol
get(int symbol)
Lookup based on dss index.static EnumQuickSymbol
get(java.lang.String symbol)
static EnumQuickSymbol
get(java.lang.String thresholdSrc, java.lang.Boolean isQuickSymbol)
Lookup based on given threshold image srcint
getDescriptorID()
static java.lang.String
getHTML(int symbol, boolean isIE)
static java.lang.String
getHTML(java.lang.String symbol, boolean isIE)
static java.lang.String
getHTML(java.lang.String symbol, int browserType)
java.lang.String
getImageSource()
java.lang.String
getMobileUnicodeHTML()
java.lang.String
getMobileUnicodeString()
java.lang.String
getName()
int
getsymbol()
int
getUnicode()
java.lang.String
getUnicodeHTML()
java.lang.String
getUnicodeString()
char
getWingdings()
java.lang.String
getWingdingsHTML()
java.lang.String
getWingdingsString()
java.lang.String
toString()
-
-
-
Field Detail
-
Unknown
public static final EnumQuickSymbol Unknown
-
BlackCircle
public static final EnumQuickSymbol BlackCircle
-
BlackSquare
public static final EnumQuickSymbol BlackSquare
-
Lozenge
public static final EnumQuickSymbol Lozenge
-
BlackDiamond
public static final EnumQuickSymbol BlackDiamond
-
InkBlot
public static final EnumQuickSymbol InkBlot
-
WheelofDharma
public static final EnumQuickSymbol WheelofDharma
-
BlackFlorette
public static final EnumQuickSymbol BlackFlorette
-
PlaceInterestSign
public static final EnumQuickSymbol PlaceInterestSign
-
HeavyCheckMark
public static final EnumQuickSymbol HeavyCheckMark
-
HeavyBallotX
public static final EnumQuickSymbol HeavyBallotX
-
RightArrow
public static final EnumQuickSymbol RightArrow
-
UpArrow
public static final EnumQuickSymbol UpArrow
-
DownArrow
public static final EnumQuickSymbol DownArrow
-
iUnknown
public static final EnumQuickSymbol iUnknown
-
iStoplightYellow
public static final EnumQuickSymbol iStoplightYellow
-
iStoplightRed
public static final EnumQuickSymbol iStoplightRed
-
iStoplightGreen
public static final EnumQuickSymbol iStoplightGreen
-
iArrowRedDownSmall
public static final EnumQuickSymbol iArrowRedDownSmall
-
iArrowOrangeLarge
public static final EnumQuickSymbol iArrowOrangeLarge
-
iArrowGreenUpSmall
public static final EnumQuickSymbol iArrowGreenUpSmall
-
iFlagRed
public static final EnumQuickSymbol iFlagRed
-
iFlagSunshine
public static final EnumQuickSymbol iFlagSunshine
-
iFlagGreen
public static final EnumQuickSymbol iFlagGreen
-
iRatePoor
public static final EnumQuickSymbol iRatePoor
-
iRateFair
public static final EnumQuickSymbol iRateFair
-
iRateGood
public static final EnumQuickSymbol iRateGood
-
iRateVeryGood
public static final EnumQuickSymbol iRateVeryGood
-
iRateExcellent
public static final EnumQuickSymbol iRateExcellent
-
TYPE_WINGDINGS
public static final int TYPE_WINGDINGS
- See Also:
- Constant Field Values
-
TYPE_UNICODE
public static final int TYPE_UNICODE
- See Also:
- Constant Field Values
-
TYPE_MOBILE_UNICODE
public static final int TYPE_MOBILE_UNICODE
- See Also:
- Constant Field Values
-
-
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 returnUnknown
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 filenameboolean
- 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 classjava.lang.Object
-
-