Called by a Skinnable when the Skin is replaced on the Skinnable. This method
allows a Skin to implement any logic necessary to clean up itself after
the Skin is no longer needed. It may be used to release native resources.
The methods getSkinnable()
and getNode()
should return null following a call to dispose. Calling dispose twice
has no effect.
Diagram: Skin