Horus Doc || Java GUI Reference || Doxygen's quick Index  

QuerySegmentations Class Reference

Inheritance diagram for QuerySegmentations::

CorbaSampleApp SampleApp List of all members.

Static Public Methods

void main (String[] args)
 main is called when this is used as an application. More...


Protected Methods

boolean buildSample (JFrame parent, JApplet applet, String[] args)

Member Function Documentation

void QuerySegmentations::main String    args[] [inline, static]
 

main is called when this is used as an application.

This function has to be overloaded in the "leaf node" application itself.

Reimplemented from SampleApp.

00023 {
00024     QuerySegmentations app = new QuerySegmentations();
00025     app.doMain(args);
00026 
00027     // doMain will call buildSample
00028 }

boolean QuerySegmentations::buildSample JFrame    parent,
JApplet    applet,
String    args[]
[inline, protected, virtual]
 

Reimplemented from SampleApp.

00031 {
00032     ErrorStreamArea err = new ErrorStreamArea(parent, 10, 80);
00033 
00034     OutputStreamArea.println("Initializing CorbaMediator...");
00035     initCorbaMediator(args);
00036     setAdvancedLookupManager(parent);
00037 
00038     HxCorba.DatabaseSession session = openSession(parent);
00039 
00040     OutputStreamArea.println("Building "+getSampleName()+" GUI...");
00041 
00042     QueryTreePanel qPanel = new QueryTreePanel(session);
00043     qPanel.setUser(new MyQueryUser(session));
00044 
00045     parent.getContentPane().add(qPanel);
00046     parent.pack();//setSize(500,400);
00047     parent.setLocation(100,100);
00048 
00049     OutputStreamArea.println("Done.");
00050 
00051     return true;
00052 }


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 15:11:25 2003 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001