net.sourceforge.toscanaj.dbviewer
Class SimpleDatabaseViewer

java.lang.Object
  extended bynet.sourceforge.toscanaj.dbviewer.PagingDatabaseViewer
      extended bynet.sourceforge.toscanaj.dbviewer.SimpleDatabaseViewer
All Implemented Interfaces:
DatabaseViewer

public class SimpleDatabaseViewer
extends PagingDatabaseViewer

Shows an object in a simple dialog. A definition for this viewer looks like this: Here the three fields "name", "type" and "size" will be queried and the template will be filled with the results and then displayed in a dialog. Note that the whitespace will be copied, too -- if you format your XML in a nice way you might get weird indentation in the dialog. If multiple items have to be displayed, paging buttons will be used.


Nested Class Summary
 
Nested classes inherited from class net.sourceforge.toscanaj.dbviewer.PagingDatabaseViewer
PagingDatabaseViewer.PageViewPanel
 
Constructor Summary
SimpleDatabaseViewer()
           
 
Method Summary
protected  PagingDatabaseViewer.PageViewPanel createPanel()
           
 
Methods inherited from class net.sourceforge.toscanaj.dbviewer.PagingDatabaseViewer
getManager, initialize, showView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDatabaseViewer

public SimpleDatabaseViewer()
Method Detail

createPanel

protected PagingDatabaseViewer.PageViewPanel createPanel()
Specified by:
createPanel in class PagingDatabaseViewer


The ToscanaJ project