fr.emn.examples.icondraw
Class DEraser

java.lang.Object
  extended byfr.emn.reactiveinput.AbstractDevice
      extended byfr.emn.examples.icondraw.DTool
          extended byfr.emn.examples.icondraw.DBrushTool
              extended byfr.emn.examples.icondraw.DFreehand
                  extended byfr.emn.examples.icondraw.DEraser
All Implemented Interfaces:
Device, Processor

public class DEraser
extends DFreehand

A freehand with constant color


Field Summary
 
Fields inherited from class fr.emn.examples.icondraw.DFreehand
shape
 
Fields inherited from class fr.emn.examples.icondraw.DBrushTool
a, b, color, context, g, r, stroke, w_val, width, x, y
 
Fields inherited from class fr.emn.examples.icondraw.DTool
activate, use
 
Fields inherited from class fr.emn.reactiveinput.AbstractDevice
currIndex, ins, outs
 
Fields inherited from interface fr.emn.reactiveinput.Device
AUTO_PROPERTIES
 
Constructor Summary
DEraser()
          DEraser constructor comment.
DEraser(java.lang.String name, DrawView view)
          DEraser constructor comment.
 
Method Summary
 LiteColor getColor()
           
 LiteStroke getStroke()
           
 
Methods inherited from class fr.emn.examples.icondraw.DFreehand
update_abort, update_begin, update_end, update_value
 
Methods inherited from class fr.emn.examples.icondraw.DBrushTool
check, getContext, open, paint
 
Methods inherited from class fr.emn.examples.icondraw.DTool
close, copy, getActivated, getScreenCoordinates, hasExternalOutput, isActive, isUsed, setActivated, setScreenCoordinates, toLocal, update
 
Methods inherited from class fr.emn.reactiveinput.AbstractDevice
addIn, addIn, addOut, doDisable, doEnable, finalize, getError, getIndex, getInfo, getIns, getName, getOuts, getProperties, hasExternalInput, init, insertAt, insertAtEnd, insertBefore, isCopiable, isEnabled, isOpenable, setEnabled, setInfo, setInfo, setLastError, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DEraser

public DEraser()
DEraser constructor comment.


DEraser

public DEraser(java.lang.String name,
               DrawView view)
DEraser constructor comment.

Parameters:
name - java.lang.String
view - fr.emn.examples.icondraw.DrawView
Method Detail

getColor

public LiteColor getColor()
Overrides:
getColor in class DBrushTool

getStroke

public LiteStroke getStroke()
Overrides:
getStroke in class DBrushTool