fr.emn.examples.jazz
Class DZNode

java.lang.Object
  extended byfr.emn.reactiveinput.AbstractDevice
      extended byfr.emn.examples.jazz.DZNode
All Implemented Interfaces:
Device, Processor

public class DZNode
extends AbstractDevice


Field Summary
 In abort
           
 In change
           
 In id
           
 In path
           
 In scalex
           
 In scaley
           
 In x
           
 In y
           
 
Fields inherited from class fr.emn.reactiveinput.AbstractDevice
currIndex, ins, outs
 
Fields inherited from interface fr.emn.reactiveinput.Device
AUTO_PROPERTIES
 
Constructor Summary
DZNode()
           
 
Method Summary
protected  void abort()
           
 boolean hasExternalOutput()
          Specifies whether this device has external (implicit) output or not.
protected  void scale()
           
protected  boolean start()
           
protected  void stop()
           
protected  void translate()
           
 void update()
          Updates device's output values.
 
Methods inherited from class fr.emn.reactiveinput.AbstractDevice
addIn, addIn, addOut, close, copy, doDisable, doEnable, finalize, getError, getIndex, getInfo, getIns, getName, getOuts, getProperties, hasExternalInput, init, insertAt, insertAtEnd, insertBefore, isCopiable, isEnabled, isOpenable, open, setEnabled, setInfo, setInfo, setLastError, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public final In id

path

public final In path

change

public final In change

abort

public final In abort

x

public final In x

y

public final In y

scalex

public final In scalex

scaley

public final In scaley
Constructor Detail

DZNode

public DZNode()
Method Detail

hasExternalOutput

public boolean hasExternalOutput()
Description copied from class: AbstractDevice
Specifies whether this device has external (implicit) output or not. Returns false by default.

Return false if the device has no border effects. Most of input and processing devices are in this case.

Return true if the device has border effects, such as graphical feedback, or control of some external value. Examples of devices with external output are application-interfacing devices and all user feedback devices.

This method can be used by the editor for the device's graphical representation. However there is at now no clear definition of what is external output.

Specified by:
hasExternalOutput in interface Device
Overrides:
hasExternalOutput in class AbstractDevice

update

public void update()
Description copied from class: AbstractDevice
Updates device's output values.

Subclass init() and update() methods if you want the device to process the data itself. Otherwise, subclass getProcessor() method to use extern processors.

Specified by:
update in interface Processor
Overrides:
update in class AbstractDevice
See Also:
Processor.update()

start

protected boolean start()

translate

protected void translate()

scale

protected void scale()

stop

protected void stop()

abort

protected void abort()