orc.gui
Class OrcApp

java.lang.Object
  extended by orc.gui.OrcGui
      extended by orc.gui.OrcApp
All Implemented Interfaces:
java.lang.Runnable

public class OrcApp
extends OrcGui

A basic Mac OS X App interface for Orc. Supports drag-and-drop, Preferences, and About.

Refer to http://developer.apple.com/documentation/Java/Conceptual/Java14Development/00-Intro/JavaDevelopment.html

Author:
quark

Nested Class Summary
protected static class OrcApp.PreferencesDialog
          Preferences dialog, used to set config properties that would normally be set via the command line.
 
Nested classes/interfaces inherited from class orc.gui.OrcGui
OrcGui.OpenDialog
 
Field Summary
 
Fields inherited from class orc.gui.OrcGui
config, engine, pause, resume, stop
 
Constructor Summary
OrcApp(Config config)
           
 
Method Summary
protected  javax.swing.JFrame createFrame()
           
protected  javax.swing.JMenuBar createMenuBar()
           
protected  javax.swing.JScrollPane createScrollPane()
           
static void main(java.lang.String[] args)
          Main method; starts Apple event listeners and not much else.
 
Methods inherited from class orc.gui.OrcGui
error, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrcApp

public OrcApp(Config config)
Method Detail

createFrame

protected javax.swing.JFrame createFrame()
Overrides:
createFrame in class OrcGui

createScrollPane

protected javax.swing.JScrollPane createScrollPane()
Overrides:
createScrollPane in class OrcGui

createMenuBar

protected javax.swing.JMenuBar createMenuBar()
Overrides:
createMenuBar in class OrcGui

main

public static void main(java.lang.String[] args)
Main method; starts Apple event listeners and not much else. This doesn't expect to receive any command-line arguments.

Parameters:
args -