|
SimJava 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectComponent
Container
Panel
Sim_anim
public class Sim_anim
The class that manages the simulation in animated mode. Do not use this class directly.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class Panel |
---|
Panel.AccessibleAWTPanel |
Nested classes/interfaces inherited from class Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
(package private) static Anim_applet |
applet
|
Fields inherited from class Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface Traceable |
---|
DISPLAY, LAYOUT, PAUSE, RUN, STOP, TRACE |
Fields inherited from interface ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
Sim_anim(Anim_applet applet)
Do not use this method directly. |
Method Summary | |
---|---|
void |
add_entity(Anim_entity ent)
Do not use this method directly. |
(package private) void |
add_param_type(Param_type pt)
|
void |
addTraceListener(TraceListener l)
Do not use this method directly. |
void |
animate(Thread simThread)
Do not use this method directly. |
void |
close()
Do not use this method directly. |
void |
dispTrace()
Do not use this method directly. |
void |
draw_all_static()
Do not use this method directly. |
(package private) void |
draw_messages(Graphics g)
|
(package private) Anim_entity |
find_entity(String ent_name)
|
void |
forwardTrace(TraceEventObject e)
Do not use this method directly. |
void |
genTraceHeader()
Do not use this method directly. |
void |
genTraceTail()
Do not use this method directly. |
Anim_applet |
get_applet()
Do not use this method directly. |
(package private) static Image |
get_image(String name)
|
Sim_reporter |
get_reporter()
Do not use this method directly. |
void |
initialise()
Do not use this method directly. |
void |
link_ports(String e1,
String p1,
String e2,
String p2)
Do not use this method directly. |
void |
paint(Graphics g)
Do not use this method directly. |
void |
println(String msg)
Do not use this method directly. |
void |
removeTraceListener(TraceListener l)
Do not use this method directly. |
void |
set_message(String new_msg)
Do not use this method directly. |
void |
setup_static_initial()
Do not use this method directly. |
(package private) void |
show_update(Thread simThread)
|
void |
update(Graphics g)
Do not use this method directly. |
Methods inherited from class Panel |
---|
addNotify, getAccessibleContext |
Methods inherited from class 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, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class 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, getLocale, 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, resize, resize, 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, transferFocusUpCycle |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static Anim_applet applet
Constructor Detail |
---|
public Sim_anim(Anim_applet applet)
Method Detail |
---|
public void addTraceListener(TraceListener l)
public void removeTraceListener(TraceListener l)
public void forwardTrace(TraceEventObject e)
public void link_ports(String e1, String p1, String e2, String p2)
public void add_entity(Anim_entity ent)
static Image get_image(String name)
public void initialise()
initialise
in interface Sim_output
public void setup_static_initial()
void add_param_type(Param_type pt)
public void genTraceHeader()
public void genTraceTail()
public void dispTrace()
public void println(String msg)
println
in interface Sim_output
msg
- The trace messagepublic void close()
close
in interface Sim_output
Anim_entity find_entity(String ent_name)
public void paint(Graphics g)
paint
in class Container
void draw_messages(Graphics g)
public void update(Graphics g)
update
in class Container
void show_update(Thread simThread)
public void draw_all_static()
public void set_message(String new_msg)
public void animate(Thread simThread)
public Sim_reporter get_reporter()
public Anim_applet get_applet()
|
SimJava 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |