public void dispose() { if(m_numObj != null) { m_numObj.dispose(); m_numObj = null; } stopTimer(); m_timerGo = null; }
// 更新倒计时数字 protected void updateDJSNum() { if (m_numObj == null) { m_numObj = new NumResItem(); m_numObj.setParent(m_timerGo); } if(m_timer != null) { if (!m_timer.m_disposed) { m_numObj.setNum((int)m_timer.m_curTime); } else { //dispose(); m_numObj.disposeNum(); } } }
public void setNum(int num) { m_num = new NumResItem(); m_num.setNum(num); }
protected void testNum() { NumResItem num = new NumResItem(); num.setNum(121); }