Package snap.util

Class Loadable.Support

java.lang.Object
snap.util.Loadable.Support
Enclosing interface:
Loadable

public static class Loadable.Support extends Object
A class to store a list of loadables.
  • Constructor Details

    • Support

      public Support(Loadable aLoadable)
      Creates a new Support for a Loadable.
  • Method Details

    • addLoadListener

      public void addLoadListener(Runnable aLoadLsnr)
      Adds a load listener (cleared automatically when loaded).
    • fireListeners

      public void fireListeners()
      Triggers callbacks to load listeners and clears listeners.