org.qi4j.library.swing.entityviewer
Class EntityViewer

java.lang.Object
  extended by org.qi4j.library.swing.entityviewer.EntityViewer

public class EntityViewer
extends java.lang.Object

The Entity Viewer.


Constructor Summary
EntityViewer()
           
 
Method Summary
 javax.swing.JComponent $$$getRootComponent$$$()
           
protected  Query createQuery(Module module, java.lang.Class clazz)
          Create simple query (display all properties) based on the supplied class.
 void show(Qi4jSPI qi4jspi, ApplicationDescriptor model, Application application)
           
 void stop()
           
 void treePanelValueChanged(javax.swing.event.TreeSelectionEvent evt)
          Event Handler for TreePanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityViewer

public EntityViewer()
Method Detail

show

public void show(Qi4jSPI qi4jspi,
                 ApplicationDescriptor model,
                 Application application)

stop

public void stop()

createQuery

protected Query createQuery(Module module,
                            java.lang.Class clazz)
Create simple query (display all properties) based on the supplied class.

Parameters:
module - the module to create the query
clazz - the class to be queried
Returns:
query

treePanelValueChanged

public void treePanelValueChanged(javax.swing.event.TreeSelectionEvent evt)
Event Handler for TreePanel

Parameters:
evt - the Event

$$$getRootComponent$$$

public javax.swing.JComponent $$$getRootComponent$$$()