Package snap.util
Class Loadable.Support
java.lang.Object
snap.util.Loadable.Support
- Enclosing interface:
- Loadable
A class to store a list of loadables.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLoadListener
(Runnable aLoadLsnr) Adds a load listener (cleared automatically when loaded).void
Triggers callbacks to load listeners and clears listeners.
-
Constructor Details
-
Support
Creates a new Support for a Loadable.
-
-
Method Details
-
addLoadListener
Adds a load listener (cleared automatically when loaded). -
fireListeners
public void fireListeners()Triggers callbacks to load listeners and clears listeners.
-