org.eu.sk.zero.acd
Class Gui

java.lang.Object
  |
  +--org.eu.sk.zero.acd.Gui

public class Gui
extends Object

Graphical user interface of the ACD application

Version:
$Id: Gui.java,v 1.22 2003/05/14 20:33:42 robo Exp $
See Also:
ACD

Constructor Summary
Gui(org.eu.sk.zero.acd.ACD app)
          The GUI object is only created from the ACD class
 
Method Summary
 void addAction(Action a)
          Add a global function.
 void addAreaButton(org.eu.sk.zero.acd.AreaType type)
          Only called from the application.
 void addNodeButton(org.eu.sk.zero.acd.NodeType type)
          Only called from the application.
protected  int getStatus()
           
 void redraw()
          Only called from the application.
 void repaint()
          Repaints the gui.
protected  void setStatus(int ns)
           
 void showUsageHelp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gui

public Gui(org.eu.sk.zero.acd.ACD app)
The GUI object is only created from the ACD class

Method Detail

setStatus

protected void setStatus(int ns)

getStatus

protected int getStatus()

redraw

public void redraw()
Only called from the application. And only when modules have been added


addNodeButton

public void addNodeButton(org.eu.sk.zero.acd.NodeType type)
Only called from the application. Called when adding a new node type when loading a module


addAreaButton

public void addAreaButton(org.eu.sk.zero.acd.AreaType type)
Only called from the application. Called when adding a new area type when loading a module


addAction

public void addAction(Action a)
Add a global function.

See Also:
MenuBar

repaint

public void repaint()
Repaints the gui. Also checks for new components and adjusts size of the component panel. For a lightweight repaint call componentPanel.repaint()


showUsageHelp

public void showUsageHelp()