jsynoptic.ui
Class JSynopticBatch
java.lang.Object
jsynoptic.base.PrintFormat
jsynoptic.ui.JSynopticBatch
- All Implemented Interfaces:
- java.awt.print.Pageable
public class JSynopticBatch
- extends PrintFormat
- implements java.awt.print.Pageable
Process commands in batch mode
- Version:
- 1.0 2001
- Author:
- Nicolas Brodu
Fields inherited from interface java.awt.print.Pageable |
UNKNOWN_NUMBER_OF_PAGES |
Constructor Summary |
JSynopticBatch(java.util.Vector plugins,
java.util.Vector commands)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resources
public static MenuResourceBundle resources
- Reuse the same resources as JSynoptic
messageWriter
public static BasicMessageWriter messageWriter
batch
public static JSynopticBatch batch
containers
protected java.util.Vector containers
files
protected java.util.Vector files
plugins
protected java.util.Vector plugins
builtInPlugin
public static Builtin builtInPlugin
- Plugin used to save synoptics
JSynopticBatch
public JSynopticBatch(java.util.Vector plugins,
java.util.Vector commands)
addContainer
public boolean addContainer(ShapesContainer sc,
java.io.File f)
processCommand
public void processCommand(java.lang.String command)
saveAllSynoptics
public void saveAllSynoptics()
print
public void print(javax.print.PrintService ps)
getPluginToProcessFile
protected Plugin getPluginToProcessFile(java.io.File f,
int action,
javax.swing.filechooser.FileFilter activeFilter)
getNumberOfPages
public int getNumberOfPages()
- Specified by:
getNumberOfPages
in interface java.awt.print.Pageable
getPageFormat
public java.awt.print.PageFormat getPageFormat(int index)
- Specified by:
getPageFormat
in interface java.awt.print.Pageable
getPrintable
public java.awt.print.Printable getPrintable(int index)
- Specified by:
getPrintable
in interface java.awt.print.Pageable