Package snap.util

Class Loadable.MultiLoadable

java.lang.Object
snap.util.Loadable.MultiLoadable
All Implemented Interfaces:
Loadable
Enclosing interface:
Loadable

public static class Loadable.MultiLoadable extends Object implements Loadable
A class to load a list of loadables.
  • Constructor Details

    • MultiLoadable

      public MultiLoadable(Loadable[] theLoadables)
      Creates a MultiLoadable.
  • Method Details

    • isLoaded

      public boolean isLoaded()
      Returns whether puppet is loaded.
      Specified by:
      isLoaded in interface Loadable
    • setLoaded

      protected void setLoaded(boolean aValue)
      Sets whether loadable is loaded.
    • addLoadListener

      public void addLoadListener(Runnable aLoadLsnr)
      Adds a load listener (cleared automatically when loader is loaded).
      Specified by:
      addLoadListener in interface Loadable