getColorText static method
Implementation
static Color getColorText(String code) {
switch (code) {
case BC:
return COLOR_BC;
case KB:
return Colors.white;
case HN:
return Colors.white;
case SS:
return Colors.white;
case SH:
return COLOR_SH;
case HD:
return Colors.black;
case LT:
return COLOR_LT;
case CT:
return COLOR_CT;
case NH:
return Colors.white;
case SH2:
return COLOR_SH2;
case SH3:
return COLOR_SH3;
case GJ:
return Colors.white;
case JB:
return COLOR_JB;
case JJ:
case SHCPT:
return COLOR_JJ;
case GVS:
return COLOR_GVS;
case GMST:
case GDNS:
return COLOR_GJCB;
case GAMX:
return Colors.white;
case GJCB:
return Colors.white;
case SKOK:
case POST:
return Colors.white;
case SM:
return COLOR_SM;
case CH:
return COLOR_CH;
case KDB:
return COLOR_KDB;
case HD2:
return COLOR_HD2;
case JC:
return Colors.white;
default:
return COLOR_DEFAULT;
}
}