daoc.editor
Class Main

java.lang.Object
  extended bydaoc.editor.Main

public class Main
extends java.lang.Object

Starts up our data model and frame.


Field Summary
static java.lang.String DEFAULT_DIR
           
static java.lang.String PROGRAM_NAME
           
static java.lang.String TAG_ID
           
static java.lang.String TAG_LINE1
           
static java.lang.String TAG_LINE2
           
 
Constructor Summary
Main()
           
 
Method Summary
static void checkFirstLoad(javax.swing.JFrame temp, Settings settings)
           
static void checkLog(javax.swing.JFrame parent)
          Warns the user of any errors or warnings.
static java.lang.String getCustomDir()
          Returns the root directory of the current interface being edited
static java.awt.Rectangle getDesktopSize()
           
static int getIndent()
           
static MainFrame getMainFrame()
          Return the main program frame.
static int getSpaces()
           
static void load(javax.swing.JFrame parent, boolean fallback, boolean check)
          Load project from current custom directory.
static void loadSettings()
           
static void main(java.lang.String[] args)
           
static void setCustomDir(java.lang.String newDir)
          Sets the directory of the current interface being edited.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROGRAM_NAME

public static final java.lang.String PROGRAM_NAME

DEFAULT_DIR

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

TAG_ID

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

TAG_LINE1

public static final java.lang.String TAG_LINE1

TAG_LINE2

public static final java.lang.String TAG_LINE2
Constructor Detail

Main

public Main()
Method Detail

main

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

checkFirstLoad

public static void checkFirstLoad(javax.swing.JFrame temp,
                                  Settings settings)

load

public static void load(javax.swing.JFrame parent,
                        boolean fallback,
                        boolean check)
Load project from current custom directory.


checkLog

public static void checkLog(javax.swing.JFrame parent)
Warns the user of any errors or warnings.


getCustomDir

public static java.lang.String getCustomDir()
Returns the root directory of the current interface being edited


setCustomDir

public static void setCustomDir(java.lang.String newDir)
Sets the directory of the current interface being edited.


getMainFrame

public static MainFrame getMainFrame()
Return the main program frame.


loadSettings

public static void loadSettings()

getSpaces

public static int getSpaces()

getIndent

public static int getIndent()

getDesktopSize

public static java.awt.Rectangle getDesktopSize()