org.base.apps.core
Class BaseApplication<D,V>

java.lang.Object
  extended by org.base.apps.util.BaseNameable
      extended by org.base.apps.core.BaseApplication<D,V>
All Implemented Interfaces:
Application<D,V>, Nameable, Named
Direct Known Subclasses:
SwingApplication

public class BaseApplication<D,V>
extends BaseNameable
implements Application<D,V>

Author:
Kevan Simpson

Constructor Summary
BaseApplication()
           
BaseApplication(Class<D> beanType)
          Sets the name and title of this Application from its bean type.
 
Method Summary
protected  void configure(Class<D> beanType)
           
 ApplicationInfo getApplicationInfo()
           
 ApplicationData<D> getData()
           
 V getView()
           
protected  void setApplicationInfo(ApplicationInfo info)
           
 void setData(ApplicationData<D> data)
           
 void setView(V view)
           
 
Methods inherited from class org.base.apps.util.BaseNameable
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.base.apps.util.Nameable
setName
 
Methods inherited from interface org.base.apps.util.Named
getName
 

Constructor Detail

BaseApplication

public BaseApplication()

BaseApplication

public BaseApplication(Class<D> beanType)
Sets the name and title of this Application from its bean type.

Parameters:
beanType - The Application's bean type.
Method Detail

getData

public ApplicationData<D> getData()
Specified by:
getData in interface Application<D,V>
See Also:
Application.getData()

setData

public void setData(ApplicationData<D> data)
Specified by:
setData in interface Application<D,V>
See Also:
Application.setData(org.base.apps.api.ApplicationData)

getApplicationInfo

public ApplicationInfo getApplicationInfo()
Specified by:
getApplicationInfo in interface Application<D,V>
See Also:
Application.getApplicationInfo()

getView

public V getView()
Specified by:
getView in interface Application<D,V>
See Also:
Application.getView()

setView

public void setView(V view)
Specified by:
setView in interface Application<D,V>
See Also:
Application.setView(java.lang.Object)

setApplicationInfo

protected void setApplicationInfo(ApplicationInfo info)

configure

protected void configure(Class<D> beanType)

Please visit Base Apps, hosted on Sourceforge.net.

Copyright 2011, Blue Agate Software Entity (BASE)