cage
Class CaGe

java.lang.Object
  extended by cage.CaGe
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class CaGe
extends java.lang.Object
implements java.awt.event.ActionListener


Field Summary
static java.util.Properties config
           
static java.lang.String configFile
           
static boolean expertMode
           
static java.lang.String[] generator
           
static int generators
           
static int graphNoDigits
           
static int lastGeneratorChoice
           
static boolean nativesAvailable
           
static java.lang.String osName
           
static java.lang.String title
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
static BackgroundWindow backgroundWindow()
           
static void exit()
           
static FoldnetThread foldnetThread()
           
static java.lang.String getCaGeProperty(java.lang.String name)
           
static boolean getCaGePropertyAsBoolean(java.lang.String name, boolean defaultValue)
           
static int getCaGePropertyAsInt(java.lang.String name, int defaultValue)
           
static EmbeddingTypeFactory getEmbeddingTypeFactory(int i)
          Returns the ith EmbeddingTypeFactory
static int getNumberOfEmbeddingTypeFactories()
          Returns the number of EmbeddingTypeFactory instances that are registered.
static java.lang.String getSystemProperty(java.lang.String name)
           
static WizardStage getWizardStage()
           
static java.awt.Window getWizardWindow()
           
static java.lang.String installDirectory()
           
static void loadNativeLibrary(java.lang.String libName)
           
static void main(java.lang.String[] args)
           
static Wizard wizard()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

public static final java.lang.String title
See Also:
Constant Field Values

configFile

public static final java.lang.String configFile
See Also:
Constant Field Values

expertMode

public static final boolean expertMode

nativesAvailable

public static final boolean nativesAvailable

osName

public static final java.lang.String osName

graphNoDigits

public static int graphNoDigits

config

public static java.util.Properties config

generators

public static int generators

lastGeneratorChoice

public static int lastGeneratorChoice

generator

public static java.lang.String[] generator
Method Detail

getCaGeProperty

public static java.lang.String getCaGeProperty(java.lang.String name)

getCaGePropertyAsInt

public static int getCaGePropertyAsInt(java.lang.String name,
                                       int defaultValue)

getCaGePropertyAsBoolean

public static boolean getCaGePropertyAsBoolean(java.lang.String name,
                                               boolean defaultValue)

getSystemProperty

public static java.lang.String getSystemProperty(java.lang.String name)

installDirectory

public static java.lang.String installDirectory()

wizard

public static Wizard wizard()

getWizardStage

public static WizardStage getWizardStage()

getWizardWindow

public static java.awt.Window getWizardWindow()

foldnetThread

public static FoldnetThread foldnetThread()

backgroundWindow

public static BackgroundWindow backgroundWindow()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getNumberOfEmbeddingTypeFactories

public static int getNumberOfEmbeddingTypeFactories()
Returns the number of EmbeddingTypeFactory instances that are registered.

Returns:
the number of EmbeddingTypeFactory instances that are registered.

getEmbeddingTypeFactory

public static EmbeddingTypeFactory getEmbeddingTypeFactory(int i)
Returns the ith EmbeddingTypeFactory

Parameters:
i - The index of the requested EmbeddingTypeFactory
Returns:
the ith EmbeddingTypeFactory
Throws:
java.lang.IndexOutOfBoundsException - when i $lt; 0 or i is larger than the number of EmbeddingTypeFactory instances.

exit

public static void exit()

loadNativeLibrary

public static void loadNativeLibrary(java.lang.String libName)

main

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