de.uni_paderborn.fujaba.app
Class FujabaApp

java.lang.Object
  extended byde.uni_paderborn.fujaba.app.FujabaApp

public class FujabaApp
extends java.lang.Object

The Fujaba application. Here you can find the main method.

Version:
$Revision: 1.126 $
Author:
$Author: cschneid $

Field Summary
private static boolean allowedToCallSystemExit
          true if Fujaba calls System.exit(int) on exit
private static FujabaApp fujabaApp
          No comment provided by developer, please add a comment to improve documentation.
private  boolean invisible
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Vector javaFiles
          No comment provided by developer, please add a comment to improve documentation.
private  java.lang.String loadFprFile
          No comment provided by developer, please add a comment to improve documentation.
private static org.apache.log4j.Logger log
          log4j logging
private  boolean maximize
          No comment provided by developer, please add a comment to improve documentation.
private static de.upb.lib.plugins.PluginManager pluginManager
          No comment provided by developer, please add a comment to improve documentation.
private  boolean showAboutBox
          No comment provided by developer, please add a comment to improve documentation.
private static boolean started
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
private FujabaApp()
          Constructor for class FujabaApp
 
Method Summary
static void exit(int status)
          Calls System.exit or hides FrameMain
static FujabaApp get()
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String getLoadFprFile()
          Get the loadFprFile attribute of the FujabaApp object
static de.upb.lib.plugins.PluginManager getPluginManager()
           
static boolean isAllowedToCallSystemExit()
          exit behaviour
 boolean isInvisible()
          Get the invisible attribute of the FujabaApp object
 boolean isMaximize()
          Get the maximize attribute of the FujabaApp object
 boolean isShowAboutBox()
          Get the showAboutBox attribute of the FujabaApp object
static void main(java.lang.String[] argv)
          main function of fujaba. the following parameters are allowed: -noabout : do not show the fujaba about box.
 void run()
          this method initializes fujaba.
static void setAllowedToCallSystemExit(boolean allowedToCallSystemExit)
          change the exit behaviour
 void setInvisible(boolean flag)
          Sets the invisible attribute of the FujabaApp object
 void setLoadFprFile(java.lang.String name)
          Sets the loadFprFile attribute of the FujabaApp object
 void setMaximize(boolean maximize)
          Sets the maximize attribute of the FujabaApp object
static void setPluginManager(de.upb.lib.plugins.PluginManager manager)
          sets the pluginManager attribute
 void setShowAboutBox(boolean flag)
          Sets the showAboutBox attribute of the FujabaApp object
private static void setStarted()
          Sets the started attribute of the FujabaApp class
static FujabaApp start()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final transient org.apache.log4j.Logger log
log4j logging


fujabaApp

private static volatile FujabaApp fujabaApp
No comment provided by developer, please add a comment to improve documentation.


pluginManager

private static de.upb.lib.plugins.PluginManager pluginManager
No comment provided by developer, please add a comment to improve documentation.


started

private static boolean started
No comment provided by developer, please add a comment to improve documentation.


javaFiles

public java.util.Vector javaFiles
No comment provided by developer, please add a comment to improve documentation.


loadFprFile

private java.lang.String loadFprFile
No comment provided by developer, please add a comment to improve documentation.


showAboutBox

private boolean showAboutBox
No comment provided by developer, please add a comment to improve documentation.


invisible

private boolean invisible
No comment provided by developer, please add a comment to improve documentation.


maximize

private boolean maximize
No comment provided by developer, please add a comment to improve documentation.


allowedToCallSystemExit

private static boolean allowedToCallSystemExit
true if Fujaba calls System.exit(int) on exit

Constructor Detail

FujabaApp

private FujabaApp()
Constructor for class FujabaApp

Method Detail

get

public static FujabaApp get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

setStarted

private static void setStarted()
Sets the started attribute of the FujabaApp class


start

public static FujabaApp start()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

run

public void run()
this method initializes fujaba. It creates everything the user sees after calling fujaba.


setLoadFprFile

public void setLoadFprFile(java.lang.String name)
Sets the loadFprFile attribute of the FujabaApp object

Parameters:
name - The new loadFprFile value

getLoadFprFile

public java.lang.String getLoadFprFile()
Get the loadFprFile attribute of the FujabaApp object

Returns:
The loadFprFile value

setShowAboutBox

public void setShowAboutBox(boolean flag)
Sets the showAboutBox attribute of the FujabaApp object

Parameters:
flag - The new showAboutBox value

isShowAboutBox

public boolean isShowAboutBox()
Get the showAboutBox attribute of the FujabaApp object

Returns:
The showAboutBox value

setInvisible

public void setInvisible(boolean flag)
Sets the invisible attribute of the FujabaApp object

Parameters:
flag - The new invisible value

isInvisible

public boolean isInvisible()
Get the invisible attribute of the FujabaApp object

Returns:
The invisible value

setMaximize

public void setMaximize(boolean maximize)
Sets the maximize attribute of the FujabaApp object

Parameters:
maximize - The new maximize value

isMaximize

public boolean isMaximize()
Get the maximize attribute of the FujabaApp object

Returns:
The maximize value

main

public static void main(java.lang.String[] argv)
main function of fujaba. the following parameters are allowed: -noabout : do not show the fujaba about box. -debug : turns on the debug mode. -max : starts fujaba in full screen mode. -start : after initializing start class. -config : uses /.fujaba instead of $HOME/.fujaba

Parameters:
argv - No description provided

getPluginManager

public static de.upb.lib.plugins.PluginManager getPluginManager()
Returns:
the associated PluginManager instance

setPluginManager

public static void setPluginManager(de.upb.lib.plugins.PluginManager manager)
sets the pluginManager attribute

Parameters:
manager -

isAllowedToCallSystemExit

public static boolean isAllowedToCallSystemExit()
exit behaviour

Returns:
true if Fujaba calls System.exit(int) on exit (default)

setAllowedToCallSystemExit

public static void setAllowedToCallSystemExit(boolean allowedToCallSystemExit)
change the exit behaviour

Parameters:
allowedToCallSystemExit - true if Fujaba should call System.exit(int) on exit, false if not

exit

public static void exit(int status)
Calls System.exit or hides FrameMain

Parameters:
status - exit code for System.exit(int)
See Also:
isAllowedToCallSystemExit()