org.xins.common.spec
Class SpecGUI

java.lang.Object
  extended byorg.xins.common.spec.SpecGUI

public class SpecGUI
extends Object

Graphical user interface that allows to browse the specification of an API and execute the functions of this API.

Since:
XINS 2.1
Version:
$Revision: 1.8 $ $Date: 2007/09/18 11:20:47 $
Author:
Anthony Goubard

Constructor Summary
SpecGUI()
          Constructs a new ConsoleGUI.
SpecGUI(JFrame mainFrame)
          Constructs a new SpecGUI.
 
Method Summary
protected  void createMenuBar()
           
protected  JPanel createQueryPanel()
           
 JPanel getMainPanel()
           
 JMenuBar getMenuBar()
           
protected  void initData()
           
protected  void initUI(JFrame mainFrame)
          Creates the user interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecGUI

public SpecGUI()
Constructs a new ConsoleGUI.


SpecGUI

public SpecGUI(JFrame mainFrame)
Constructs a new SpecGUI.

Parameters:
mainFrame - the main frame or null if no frame is available.
Method Detail

initUI

protected void initUI(JFrame mainFrame)
Creates the user interface. This method also creates the actions available in the menu.

Parameters:
mainFrame - the main frame or null if no frame is available.

initData

protected void initData()

createQueryPanel

protected JPanel createQueryPanel()

createMenuBar

protected void createMenuBar()

getMainPanel

public JPanel getMainPanel()

getMenuBar

public JMenuBar getMenuBar()


See http://www.xins.org/.