org.jrabbit.base.data
Interface DataController

All Superinterfaces:
Createable, Destroyable
All Known Subinterfaces:
FontRenderer
All Known Implementing Classes:
AcceleratedFontRenderer, AngelCodeRenderer, BaseWindowController, CanvasWindowController, DesktopWindowController, Font, Image, Image.SubImage, UnicodeRenderer, WindowController

public interface DataController
extends Createable, Destroyable

A DataController is an object that is both Createable and Destroyable - it manages data over its entire life cycle, from creation to destruction. Additionally, a DataController has a method to check if the Data it manages is valid - a.k.a, it has been created, and not destroyed.

Author:
Chris Molini

Method Summary
 boolean valid()
          Determines whether the DataController's internal data is valid.
 
Methods inherited from interface org.jrabbit.base.data.Createable
create
 
Methods inherited from interface org.jrabbit.base.data.Destroyable
destroy
 

Method Detail

valid

boolean valid()
Determines whether the DataController's internal data is valid.

Returns:
True if the object has been created and not destroyed.