logicell
Class COpDispView

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--jpUtil.JPView
                    |
                    +--logicell.COpDispView

public class COpDispView
extends jpUtil.JPView

Output display management

See Also:
Serialized Form

Inner classes inherited from class java.awt.Component
java.awt.Component.AWTTreeLock
 
Field Summary
private  CLogicellUniverse MyUniverse
          point to the Universe
 
Fields inherited from class jpUtil.JPView
GrBuff, Height, ImgBuff, lHeight, lWidth, Width
 
Fields inherited from class java.awt.Canvas
base, graphicsConfig, nameCounter, serialVersionUID
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, assert, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, hasFocus, height, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, serialVersionUID, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowListenerK, x, y
 
Constructor Summary
COpDispView(CLogicellUniverse univ, java.awt.Color c)
           
 
Method Summary
private  void DrawBinAdd()
          Draw BinAdd
private  void DrawBinAdd2()
          Draw BinAdd2
(package private)  void DrawConway()
          Draw Conway image
private  void DrawDigit()
          Draw Digit
private  void DrawDigitSegment(char s, int v)
          Draw a digit segment
private  void DrawLight()
          Draw Light (two-way switch)
(package private)  void DrawOutput(int m)
          Draw Ouptput according to mode
private  void DrawReducedDigit(int v)
          Draw a digit with B, D and G segments known
private  void DrawSimpleOutput()
          Draw simple output
(package private)  void InitDrawLight()
          Init Light with LightOff
(package private)  void PaintBackground()
          Paint View Background
 void ResizeGrBuff()
          Resize Graphic Buffer and Steps
 
Methods inherited from class jpUtil.JPView
ClearBkg, destroy, paint, repaint, SetDim, SetLogicalSize, WriteCenterX
 
Methods inherited from class java.awt.Canvas
, addNotify, constructComponentName, postsOldMouseEvents
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, dispatchEventImpl, doLayout, enable, enable, enableEvents, enableInputMethods, eventEnabled, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, initIDs, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, lightweightPrint, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, readObject, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate, writeObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

MyUniverse

private CLogicellUniverse MyUniverse
point to the Universe
Constructor Detail

COpDispView

public COpDispView(CLogicellUniverse univ,
                   java.awt.Color c)
Method Detail

PaintBackground

void PaintBackground()
Paint View Background

DrawOutput

void DrawOutput(int m)
Draw Ouptput according to mode

InitDrawLight

void InitDrawLight()
Init Light with LightOff

DrawConway

void DrawConway()
Draw Conway image

DrawSimpleOutput

private void DrawSimpleOutput()
Draw simple output

DrawLight

private void DrawLight()
Draw Light (two-way switch)

DrawBinAdd

private void DrawBinAdd()
Draw BinAdd

DrawBinAdd2

private void DrawBinAdd2()
Draw BinAdd2

DrawReducedDigit

private void DrawReducedDigit(int v)
Draw a digit with B, D and G segments known

DrawDigit

private void DrawDigit()
Draw Digit

ResizeGrBuff

public void ResizeGrBuff()
Resize Graphic Buffer and Steps
Overrides:
ResizeGrBuff in class jpUtil.JPView

DrawDigitSegment

private void DrawDigitSegment(char s,
                              int v)
Draw a digit segment