Package snap.util
Class Loadable.MultiLoadable
java.lang.Object
snap.util.Loadable.MultiLoadable
- All Implemented Interfaces:
Loadable
- Enclosing interface:
- Loadable
A class to load a list of loadables.
-
Nested Class Summary
Nested classes/interfaces inherited from interface snap.util.Loadable
Loadable.MultiLoadable, Loadable.Support
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLoadListener
(Runnable aLoadLsnr) Adds a load listener (cleared automatically when loader is loaded).boolean
isLoaded()
Returns whether puppet is loaded.protected void
setLoaded
(boolean aValue) Sets whether loadable is loaded.
-
Constructor Details
-
MultiLoadable
Creates a MultiLoadable.
-
-
Method Details
-
isLoaded
public boolean isLoaded()Returns whether puppet is loaded. -
setLoaded
protected void setLoaded(boolean aValue) Sets whether loadable is loaded. -
addLoadListener
Adds a load listener (cleared automatically when loader is loaded).- Specified by:
addLoadListener
in interfaceLoadable
-