uk.ac.essex.ia
Class ImageApp

java.lang.Object
  extended by uk.ac.essex.ia.ImageApp

public class ImageApp
extends java.lang.Object

This is the main application class You should have received a copy of Lesser GNU public license with this code. If not please visit this site


Field Summary
protected static javax.swing.Action[] helpActions
          Actions for the Help Menu's
 
Method Summary
 com.jgraph.JGraph getCurrentGraph()
           
 HelpViewer getHelpViewer()
           
 Viewer getImageViewer()
           
static ImageApp getInstance()
           
static ImageApp getInstance(java.lang.String[] args)
           
 LanguageManager getLanguageManager()
           
 Viewer getOpViewer()
           
 void handleException(java.lang.Exception e)
           
 void handleException(java.lang.Exception e, java.lang.String msg)
           
protected static void loadViewers()
          Loads the Viewers: OpViewer and ImageViewer
static void main(java.lang.String[] args)
           
 void setUI(java.lang.String lf)
          Sets the look and feel of all GUIs.
 void showHelpViewer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

helpActions

protected static javax.swing.Action[] helpActions
Actions for the Help Menu's

Method Detail

getInstance

public static ImageApp getInstance()
Returns:

getInstance

public static ImageApp getInstance(java.lang.String[] args)
Parameters:
args -

loadViewers

protected static void loadViewers()
Loads the Viewers: OpViewer and ImageViewer


getHelpViewer

public HelpViewer getHelpViewer()
Returns:
HelpViewer - The HelpViewer

getImageViewer

public Viewer getImageViewer()
Returns:

getLanguageManager

public LanguageManager getLanguageManager()
Returns:

getOpViewer

public Viewer getOpViewer()
Returns:
OpViewer - The OpViewer

showHelpViewer

public void showHelpViewer()

getCurrentGraph

public com.jgraph.JGraph getCurrentGraph()
Returns:

setUI

public void setUI(java.lang.String lf)
Sets the look and feel of all GUIs. The parameter passed should be one of the constants defined in the class IAConstants


handleException

public void handleException(java.lang.Exception e)

handleException

public void handleException(java.lang.Exception e,
                            java.lang.String msg)

main

public static void main(java.lang.String[] args)