|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Panel
|
+--java.applet.Applet
|
+--harmonic.mz.manager.MZ
This is the main application class. Normally execution begins in this class's main function, which only calls the MZ constructor.
| Field Summary | |
static int |
LINUX
|
static int |
MAC
|
static int |
SGI
|
static int |
SUN
|
static int |
WAIT_COMP
|
static int |
WAIT_COMPILING
|
static int |
WAIT_FILE
|
static int |
WAIT_RENDER
|
static int |
WINDOWS
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
MZ()
|
|
MZ(java.lang.String[] args)
|
|
| Method Summary | |
static harmonic.meshGeom.geom.AppInterface |
appInterface()
Return the AppInterface for the math library |
static ClippingPlaneManager |
clippingPlanes()
Returns the single ClippingPlaneManager |
static CollaborationManager |
collaboration()
Return the single CollaborationManager. |
static DataManager |
data()
Return the single DataManager. |
static void |
dispatchEvents()
Tells the MZ over-ride of the event que to process events untill none are left. |
static java.lang.String |
execString(java.lang.String dir,
java.lang.String _systemCall)
Execute the string using the executatle in the sub directory under the given directory considering the current platform we are running on. |
static int |
exit()
Exit the application. |
static FileManager |
files()
Return the single FileManager. |
static harmonic.mz.backstage.ViewportFiller |
filler()
Return the single ViewportFiller. |
int |
getID()
|
static int |
getPlatform()
Return platform id, for comparison with the constant values defined in this class. |
static java.lang.String |
getWorkingDir()
Return the directory the application is installed in. |
static harmonic.mz.backstage.GridManager |
grid()
Return the single GridManager. |
static GUIManager |
gui()
Return the single GUIManager. |
static HelpManager |
help()
Return the single HelpManager. |
static boolean |
isInitialized()
Return whether initalization is compleat |
static harmonic.mz.gui.backstage.StringCommandMapper |
keyMapper()
|
static LightManager |
lights()
Returns the single LightManager. |
static void |
main(java.lang.String[] args)
Applicatio{});n initialization function. |
static harmonic.viewer3D.MemoryManager |
memory()
Return the single MemoryManager. |
static MessageManager |
messages()
Return the single Message. |
static ModuleManager |
modules()
Return the single ModuleManager. |
static ProgressManager |
progress()
Return the single ProgressManager. |
static Settings |
settings()
Return the single Settings. |
static TaskManager |
tasks()
Return the single TaskManager. |
static TreeLists |
treeLists()
Return the single TreeLists. |
static UCSManager |
ucs()
Return the single UCSManager, |
static UndoManager |
undo()
Return the single UndoManager. |
static ValidationManager |
validation()
Return the single ValidationManager. |
static java.lang.String |
version()
|
| Methods inherited from class java.applet.Applet |
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
| Methods inherited from class java.awt.Panel |
addNotify |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int WINDOWS
public static final int SUN
public static final int LINUX
public static final int SGI
public static final int MAC
public static final int WAIT_FILE
public static final int WAIT_COMP
public static final int WAIT_COMPILING
public static final int WAIT_RENDER
| Constructor Detail |
public MZ()
public MZ(java.lang.String[] args)
| Method Detail |
public static void main(java.lang.String[] args)
Order of initialization:
Create the application database
Create the basic feature set module (always)
Read workingdir/general.mvg and replace default settings
Read workingdir/recent.mvg to fill in recent file list
Create the basic user interface elements
Read workingdir/mod_stubs to determain available modules
Open module referenced by module stubs with autoLoad==true
Process arguments 1 - (n-1) checking for -m -p or filenames, opening model
files and running scripts.
Show the main frame.
public int getID()
public static boolean isInitialized()
public static java.lang.String getWorkingDir()
public static int getPlatform()
public static harmonic.meshGeom.geom.AppInterface appInterface()
public static DataManager data()
public static LightManager lights()
public static ClippingPlaneManager clippingPlanes()
public static TreeLists treeLists()
public static CollaborationManager collaboration()
public static FileManager files()
public static harmonic.mz.backstage.GridManager grid()
public static HelpManager help()
public static harmonic.viewer3D.MemoryManager memory()
public static ModuleManager modules()
public static ProgressManager progress()
public static TaskManager tasks()
public static UCSManager ucs()
public static UndoManager undo()
public static ValidationManager validation()
public static harmonic.mz.backstage.ViewportFiller filler()
public static GUIManager gui()
public static MessageManager messages()
public static Settings settings()
public static void dispatchEvents()
public static harmonic.mz.gui.backstage.StringCommandMapper keyMapper()
public static java.lang.String version()
public static java.lang.String execString(java.lang.String dir,
java.lang.String _systemCall)
public static int exit()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||