protected Point adjustLabel ( int type , Point labelpos ) { switch ( ChatLogic . modeOf ( type ) ) { case ChatLogic . SHOUT : case ChatLogic . EMOTE : case ChatLogic . THINK : labelpos . translate ( PAD * 2 , PAD * 2 ) ; break ; default : labelpos . translate ( PAD , PAD ) ; break ; } return labelpos ; }
Position the label based on the type .