diva.sketch.toolbox
Interface Transducer

All Superinterfaces:
ClipboardOwner, Transferable
All Known Implementing Classes:
CompositeTransducer, ImageTransducer, SketchTransducer, TableTransducer

public interface Transducer
extends Transferable, ClipboardOwner

An interface for cut/copy operations that perform recognition on the cut/copied strokes and returns a different DataFlavor than "application/sketch/strokes". Example transducers include "text/plain", "text/html", "image/bitmap", etc.

Version:
$Revision: 1.2 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Method Summary
 Transducer newInstance(SketchModel in)
          Return a new instance of this transducer that can be applied to the given sketch model.
 
Methods inherited from interface java.awt.datatransfer.Transferable
getTransferData, getTransferDataFlavors, isDataFlavorSupported
 
Methods inherited from interface java.awt.datatransfer.ClipboardOwner
lostOwnership
 

Method Detail

newInstance

Transducer newInstance(SketchModel in)
Return a new instance of this transducer that can be applied to the given sketch model.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.