org.jmol.api
Interface JmolImageCreatorInterface

All Known Implementing Classes:
ImageCreator

public interface JmolImageCreatorInterface


Method Summary
 String clipImage(String text)
           
 Object createImage(String fileName, String type, Object text_or_bytes, int quality)
           
 String getClipboardText()
           
 Object getImageBytes(String type, int quality, String fileName, Object appendtext_or_bytes, OutputStream os)
           
 void setViewer(JmolViewer viewer, double privateKey)
           
 

Method Detail

setViewer

void setViewer(JmolViewer viewer,
               double privateKey)

clipImage

String clipImage(String text)

getClipboardText

String getClipboardText()

createImage

Object createImage(String fileName,
                   String type,
                   Object text_or_bytes,
                   int quality)
Parameters:
fileName -
type -
text_or_bytes -
quality -
Returns:
null (canceled) or a message starting with OK or an error message

getImageBytes

Object getImageBytes(String type,
                     int quality,
                     String fileName,
                     Object appendtext_or_bytes,
                     OutputStream os)
                     throws IOException
Throws:
IOException