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