public void step(double workDone, Object... args) { comp.setDefaultAlpha((float) Helper.linearInterpolate(m_startAlpha, m_endAlpha, workDone)); comp.repaint(); }
public void init() { if (m_relative) m_startAlpha = comp.getDefaultAlpha(); }