nslj.src.display
Class NslOutCanvas

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--nslj.src.display.NslCanvas
                    |
                    +--nslj.src.display.NslOutCanvas
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class NslOutCanvas
extends NslCanvas

See Also:
Serialized Form

Inner classes inherited from class java.awt.Canvas
java.awt.Canvas.AccessibleAWTCanvas
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
protected  NslModule parentModule
           
protected  NslSystem system
           
 
Fields inherited from class nslj.src.display.NslCanvas
C_max_x, C_max_y, C_min_x, C_min_y, canvas_name, canvas_type, drawH, drawW, drawX, drawY, dx, dy, max_data_pos, mouseAdapter, nslDisplayFrame, var_in_canvas, variable_list, windowName, x_dimension, y_dimension
 
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
NslOutCanvas(java.lang.String full_name, NslHierarchy parent)
           
NslOutCanvas(java.lang.String full_name, NslHierarchy parent, NslFrame f, NslVariableInfo varInfo)
           
NslOutCanvas(java.lang.String full_name, NslVariableInfo varInfo)
           
 
Method Summary
 void collect()
           
 void initCanvas()
           
 void initEpochCanvas()
           
 void makeInst(java.lang.String full_name, NslHierarchy parent)
           
 void nslClearDisplay()
           
 void nslCollect()
           
 void nslCreateCanvas()
           
 java.awt.Image nslCreateImageBuffer(int width, int height)
           
 void nslDrawImageBuffer(java.awt.Image image, java.awt.Graphics graph, int left, int top)
           
 void nslDrawImageBuffer(java.awt.Image image, int left, int top)
           
 void nslDrawLine(int x, int y, int w, int h)
           
 void nslDrawLine(int x, int y, int w, int h, java.lang.String color)
           
 void nslDrawString(java.lang.String s, int x, int y)
           
 void nslDrawString(java.lang.String s, int x, int y, java.lang.String color)
           
 void nslFillRect(int x, int y, int w, int h)
           
 void nslFillRect(int x, int y, int w, int h, NslColor color)
           
 void nslFillRect(int x, int y, int w, int h, java.lang.String color)
           
 int nslGetHeight()
           
 NslHierarchy nslGetParentModule()
           
 int nslGetWidth()
           
 void nslInitCanvas()
           
 void nslInitEpochCanvas()
           
 void nslRefresh()
           
 void nslSetColor(NslColor color)
           
 void nslSetColor(java.lang.String color)
           
 void nslUpdateDisplay()
           
 void paint(java.awt.Graphics g)
           
 void processEvent(java.awt.AWTEvent event)
           
 
Methods inherited from class nslj.src.display.NslCanvas
add_variable, copy, delete_variable, draw_box, draw_rectangle, get_display_variable, get_variable_list, getC_max_y, getC_min_y, getWindowName, init, mouseDragged, mousePressed, mouseReleased, nslAddVariable, nslGetName, paint, Print, refresh, set_background, set_canvas_type, set_draw_size, set_draw_size, set_min_max, setSize, setWindowName, toString, update, zoom_draw_size, zoom_draw_size, zoom_in, zoom_out
 
Methods inherited from class java.awt.Canvas
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, 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, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setVisible, show, show, size, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

system

protected NslSystem system

parentModule

protected NslModule parentModule
Constructor Detail

NslOutCanvas

public NslOutCanvas(java.lang.String full_name,
                    NslHierarchy parent)

NslOutCanvas

public NslOutCanvas(java.lang.String full_name,
                    NslHierarchy parent,
                    NslFrame f,
                    NslVariableInfo varInfo)

NslOutCanvas

public NslOutCanvas(java.lang.String full_name,
                    NslVariableInfo varInfo)
Method Detail

makeInst

public void makeInst(java.lang.String full_name,
                     NslHierarchy parent)

nslGetParentModule

public NslHierarchy nslGetParentModule()

nslSetColor

public void nslSetColor(NslColor color)

nslSetColor

public void nslSetColor(java.lang.String color)

nslDrawLine

public void nslDrawLine(int x,
                        int y,
                        int w,
                        int h,
                        java.lang.String color)

nslDrawLine

public void nslDrawLine(int x,
                        int y,
                        int w,
                        int h)

nslFillRect

public void nslFillRect(int x,
                        int y,
                        int w,
                        int h,
                        NslColor color)

nslFillRect

public void nslFillRect(int x,
                        int y,
                        int w,
                        int h,
                        java.lang.String color)

nslFillRect

public void nslFillRect(int x,
                        int y,
                        int w,
                        int h)

nslDrawString

public void nslDrawString(java.lang.String s,
                          int x,
                          int y,
                          java.lang.String color)

nslDrawString

public void nslDrawString(java.lang.String s,
                          int x,
                          int y)

nslGetWidth

public int nslGetWidth()

nslGetHeight

public int nslGetHeight()

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class java.awt.Canvas

nslUpdateDisplay

public void nslUpdateDisplay()

nslClearDisplay

public void nslClearDisplay()

nslCreateImageBuffer

public java.awt.Image nslCreateImageBuffer(int width,
                                           int height)

nslDrawImageBuffer

public void nslDrawImageBuffer(java.awt.Image image,
                               int left,
                               int top)

nslDrawImageBuffer

public void nslDrawImageBuffer(java.awt.Image image,
                               java.awt.Graphics graph,
                               int left,
                               int top)

collect

public void collect()
Overrides:
collect in class NslCanvas

initEpochCanvas

public void initEpochCanvas()
Overrides:
initEpochCanvas in class NslCanvas

initCanvas

public void initCanvas()
Overrides:
initCanvas in class NslCanvas

nslCollect

public void nslCollect()

nslRefresh

public void nslRefresh()

nslCreateCanvas

public void nslCreateCanvas()

nslInitCanvas

public void nslInitCanvas()

nslInitEpochCanvas

public void nslInitEpochCanvas()

processEvent

public void processEvent(java.awt.AWTEvent event)
Overrides:
processEvent in class java.awt.Component