fr.emn.reactiveinput.devices
Class DJText

java.lang.Object
  extended byfr.emn.reactiveinput.AbstractDevice
      extended byfr.emn.reactiveinput.devices.DJText
All Implemented Interfaces:
Device, Processor

public class DJText
extends AbstractDevice


Field Summary
 In id
           
 In move
           
 In[] s_actions
           
 In text
           
 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
DJText()
           
 
Method Summary
protected  In[] addActions(javax.swing.Action[] actions)
          Generates input slots given an array of Actions
 boolean hasExternalOutput()
          Specifies whether this device has external (implicit) output or not.
protected  void update_actions()
          Too slow ??
 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

move

public final In move

x

public final In x

y

public final In y

text

public final In text

s_actions

public final In[] s_actions
Constructor Detail

DJText

public DJText()
Method Detail

addActions

protected In[] addActions(javax.swing.Action[] actions)
Generates input slots given an array of Actions


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()

update_actions

protected void update_actions()
Too slow ??