Package org.opensourcephysics.display
Interface OSPRuntime.Disposable
- All Known Implementing Classes:
DataToolTab.DataToolPlotter,DrawingPanel,InteractivePanel,MainTView,PageTView,PlottingPanel,PlotTView,TableTView,TMenuBar,TrackChooserTView,TrackControl,TrackerPanel,TrackPlottingPanel,TToolBar,TTrack.TextLineLabel,TTrackBar,TView,TViewChooser,VideoPanel,WorldTView,ZoomTView
- Enclosing class:
- OSPRuntime
public static interface OSPRuntime.Disposable
An interface with static methods that track implementing classes, adding them
to array to "allocate" them, and running their dispose() method when
"deallocation" is requested.
- Author:
- hanson
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidallocate(OSPRuntime.Disposable[] objs, String name) static voidstatic voidstatic voiddeallocate(OSPRuntime.Disposable[] objs) static voiddeallocate(OSPRuntime.Disposable[] objs, int i) static voiddeallocate(OSPRuntime.Disposable[] objs, BitSet bs) static voidvoiddispose()static voiddump()
-
Field Details
-
allocated
-
-
Method Details
-
dispose
void dispose() -
allocate
-
allocate
-
deallocate
-
deallocate
-
deallocate
-
deallocate
-
clearAllocation
-
deallocateAll
static void deallocateAll() -
dump
static void dump()
-