|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
diagapplet.CodeGen.CodeGen
public class CodeGen
Main Class for applet CodeGen only needed for Graphical CodeGen and RCS Design Tool. not needed for newer recommended CodeGenCmdLine
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.applet.Applet |
---|
java.applet.Applet.AccessibleApplet |
Nested classes/interfaces inherited from class java.awt.Panel |
---|
java.awt.Panel.AccessibleAWTPanel |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
static boolean |
debug_on
Set to true to have many fuctions print degub info to System.out. |
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 | |
---|---|
CodeGen()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
void |
destroy()
|
java.lang.String |
getAppletInfo()
Old VisualJ APPLET INFO SUPPORT: The getAppletInfo() method returns a string describing the applet's author, copyright date, or miscellaneous information. |
java.lang.String |
GetParameter(java.lang.String strName,
java.lang.String[] args)
From old VisualJ STANDALONE APPLICATION SUPPORT The GetParameter() method is a replacement for the getParameter() method defined by Applet. |
java.lang.String[][] |
getParameterInfo()
Old VisualJ PARAMETER SUPPORT The getParameterInfo() method returns an array of strings describing the parameters understood by this applet. |
void |
GetParameters(java.lang.String[] args)
From old VisualJ STANDALONE APPLICATION SUPPORT The GetParameters() method retrieves the values of each of the applet's parameters and stores them in variables. |
void |
init()
|
void |
InitializeClassList()
Used by RCS Design tool. |
void |
LoadHierarchy()
See CodeGenCommon.LoadHierarchy() |
static void |
main(java.lang.String[] args)
Deprecated. Use CodeGenCmdLine instead. |
void |
paint(java.awt.Graphics g)
|
void |
RingBell()
Ring a bell to indicate an error if it has been more than 2.5 seconds since the last error. |
void |
run()
Old VisualJ THREAD SUPPORT The run() method is called when the applet's thread is started. |
void |
RunScriptFile(java.lang.String new_script_file)
Run a .gen script file. |
void |
set_ClassList(FastListPanelInterface flp)
Set the ClassList. |
void |
set_inside_diagapplet(boolean b)
Set the inside_diagapplet property, see CodeGenCommon.set_preserve_modules_hashtable() |
void |
set_m_ConfigFile(java.lang.String str)
Set the configFile. |
void |
set_m_fStandAlone(boolean b)
Set the m_fStandAlone property. |
void |
set_m_hierarchyFile(java.lang.String str)
Set the hierarchyFile. |
void |
set_m_loadingPanel(URLLoadInfoPanelInterface lp)
Set the loadingPanel. |
void |
set_m_modulesCountList(CountListInterface lst)
Set modulesCountList. |
void |
set_m_modulesHashTable(java.util.Hashtable ht)
Set the modulesHashTable. |
void |
set_preserve_modules_hashtable(boolean b)
Set the preserve modules hashtable property, see CodeGenCommon.set_preserve_modules_hashtable() |
void |
set_serversHashtable(java.util.Hashtable ht)
Set the serversHashTable. |
Methods inherited from class java.applet.Applet |
---|
getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, 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, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, 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, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, 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, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static boolean debug_on
Constructor Detail |
---|
public CodeGen()
Method Detail |
---|
public void set_m_fStandAlone(boolean b)
b
- public void RingBell()
public java.lang.String GetParameter(java.lang.String strName, java.lang.String[] args)
strName
- name of parameter to retrieveargs
- command line args if run from main()
public void GetParameters(java.lang.String[] args)
args
- command line args if called from main()public static void main(java.lang.String[] args)
args
- public void InitializeClassList() throws java.lang.Exception
java.lang.Exception
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.String getAppletInfo()
getAppletInfo
in class java.applet.Applet
public java.lang.String[][] getParameterInfo()
getParameterInfo
in class java.applet.Applet
public void init()
init
in class java.applet.Applet
public void LoadHierarchy() throws java.lang.Exception
java.lang.Exception
public void destroy()
destroy
in class java.applet.Applet
public void paint(java.awt.Graphics g)
paint
in class java.awt.Container
public void RunScriptFile(java.lang.String new_script_file)
new_script_file
- public void run()
run
in interface java.lang.Runnable
public void set_preserve_modules_hashtable(boolean b)
b
- public void set_inside_diagapplet(boolean b)
b
- public void set_m_hierarchyFile(java.lang.String str)
str
- public void set_m_ConfigFile(java.lang.String str)
str
- public void set_m_modulesHashTable(java.util.Hashtable ht)
ht
- public void set_serversHashtable(java.util.Hashtable ht)
ht
- public void set_m_loadingPanel(URLLoadInfoPanelInterface lp)
lp
- public void set_ClassList(FastListPanelInterface flp)
flp
- public void set_m_modulesCountList(CountListInterface lst)
lst
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |