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