fr.emn.examples.icondraw
Class DBrush

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

public class DBrush
extends AbstractDevice

Title: Input Configurator Description: Copyright: Copyright (c) 2001 Company: Ecole des Mines de Nantes

Version:
1.0
Author:
Pierre Dragicevic

Field Summary
 In a
           
 In b
           
 In g
           
 Out o_a
           
 Out o_b
           
 Out o_g
           
 Out o_r
           
 Out o_width
           
 In r
           
 In width
           
 
Fields inherited from class fr.emn.reactiveinput.AbstractDevice
currIndex, ins, outs
 
Fields inherited from interface fr.emn.reactiveinput.Device
AUTO_PROPERTIES
 
Constructor Summary
DBrush()
           
 
Method Summary
 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, hasExternalOutput, 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

width

public final In width

r

public final In r

g

public final In g

b

public final In b

a

public final In a

o_width

public final Out o_width

o_r

public final Out o_r

o_g

public final Out o_g

o_b

public final Out o_b

o_a

public final Out o_a
Constructor Detail

DBrush

public DBrush()
Method Detail

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