Class dgui_FadePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable, Accessible

public class dgui_FadePanel extends JPanel implements Runnable
See Also:
  • Field Details

    • onfadeOut

      private final transient List<Runnable> onfadeOut
    • alpha

      protected float alpha
    • fadeStep

      protected float fadeStep
    • initialDelay

      protected long initialDelay
    • per_step

      protected long per_step
    • timer

      private transient Timer timer
  • Constructor Details

    • dgui_FadePanel

      public dgui_FadePanel(float fadeStep, long initialDelay)
    • dgui_FadePanel

      public dgui_FadePanel(float fadeStep, long initDelay, long delay_per_step)
  • Method Details

    • add_FadeOutListener

      public void add_FadeOutListener(Runnable e)
    • remove_FadeOutListener

      public void remove_FadeOutListener(Runnable r)
    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • run

      public final void run()
      Specified by:
      run in interface Runnable