org.jtgl.ext
Class JTGLAbstractExtension

java.lang.Object
  extended by org.jtgl.ext.JTGLAbstractExtension
All Implemented Interfaces:
JTGLExtension
Direct Known Subclasses:
JTGLExtensionConfigurable, MediaManager, Vibrator

public abstract class JTGLAbstractExtension
extends java.lang.Object
implements JTGLExtension

Base Extension

Author:
Manuel Polo (manuel_polo at yahoo dot es)

Constructor Summary
JTGLAbstractExtension()
          Creates a new instance of JTGLAbstractExtension
 
Method Summary
 java.lang.String getName()
           
 java.lang.Object getProperty(java.lang.String key)
           
 void init()
           
 void release()
           
 void setProperty(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jtgl.ext.JTGLExtension
getInfo, getVendor, getVersion
 

Constructor Detail

JTGLAbstractExtension

public JTGLAbstractExtension()
Creates a new instance of JTGLAbstractExtension

Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface JTGLExtension

init

public void init()
          throws JTGLExtensionException
Specified by:
init in interface JTGLExtension
Throws:
JTGLExtensionException

release

public void release()
             throws JTGLExtensionException
Specified by:
release in interface JTGLExtension
Throws:
JTGLExtensionException

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Specified by:
setProperty in interface JTGLExtension

getProperty

public java.lang.Object getProperty(java.lang.String key)
Specified by:
getProperty in interface JTGLExtension