2009-10-01 1.2.0

org.eclipse.soda.dk.generic.io.simulator.device.window
Class GenericIoSimulatorWindow

java.lang.Object
  extended by org.eclipse.soda.dk.generic.io.simulator.device.window.GenericIoSimulatorWindow

public class GenericIoSimulatorWindow
extends java.lang.Object

Since:
1.0
Version:
1.2.0

Field Summary
static java.util.ResourceBundle DefaultResourceBundle
          Define the default resource bundle (ResourceBundle) field.
static int IN_LABEL
          Define the in label (int) constant.
static int OUT_LABEL
          Define the out label (int) constant.
 
Constructor Summary
GenericIoSimulatorWindow(GenericIoSimulatorWindowListener ioAgent)
          Constructs an instance of this class from the specified io agent parameter.
 
Method Summary
 void analogOutputUpdate(int channel, long value)
          Analog output update with the specified channel and value parameters.
 void bind(Display display)
          Bind with the specified display parameter.
 void close()
          Close.
protected  void createWindow()
          Create window.
 void digitalOutputUpdate(int channel, boolean state)
          Digital output update with the specified channel and state parameters.
 void open()
          Open.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IN_LABEL

public static final int IN_LABEL
Define the in label (int) constant.

See Also:
Constant Field Values

OUT_LABEL

public static final int OUT_LABEL
Define the out label (int) constant.

See Also:
Constant Field Values

DefaultResourceBundle

public static java.util.ResourceBundle DefaultResourceBundle
Define the default resource bundle (ResourceBundle) field.

Constructor Detail

GenericIoSimulatorWindow

public GenericIoSimulatorWindow(GenericIoSimulatorWindowListener ioAgent)
Constructs an instance of this class from the specified io agent parameter.

Parameters:
ioAgent - The io agent (GenericIoSimulatorWindowListener) parameter.
Method Detail

analogOutputUpdate

public void analogOutputUpdate(int channel,
                               long value)
Analog output update with the specified channel and value parameters.

Parameters:
channel - The channel (int) parameter.
value - The value (long) parameter.
See Also:
digitalOutputUpdate(int,boolean)

bind

public void bind(Display display)
Bind with the specified display parameter.

Parameters:
display - The display (Display) parameter.

close

public void close()
Close.


createWindow

protected void createWindow()
Create window.

See Also:
GenericIoSimulatorWindow(GenericIoSimulatorWindowListener)

digitalOutputUpdate

public void digitalOutputUpdate(int channel,
                                boolean state)
Digital output update with the specified channel and state parameters.

Parameters:
channel - The channel (int) parameter.
state - The state (boolean) parameter.
See Also:
analogOutputUpdate(int,long)

open

public void open()
Open.


2009-10-01 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.