Package org.praxislive.ide.core.api
Interface Disposable
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BoundArgumentProperty,ComponentPalette,PraxisProperty,PXRRootProxy
An object that may be disposed.
This interface now extends AutoCloseable for convenience. The default
implementation of close() calls through to dispose().
-
Method Summary
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
dispose
void dispose()Dispose of this object. -
dispose
Utility to dispose an object if it is an instance of Disposable. If the object is not disposable, this method does nothing.- Parameters:
obj- object, possibly disposable
-