adams.flow.sink.Screenshot
Actor that takes screenshots of graphical components.
Flow input/output:
- input: java.lang.String, java.io.File, java.awt.image.BufferedImage, adams.data.image.AbstractImageContainer, adams.data.image.BufferedImageSupporter
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | Screenshot |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
The title of the dialog.
command-line | -title <java.lang.String> |
default | Screenshot |
An optional suffix for the filename, inserted before the extension.
command-line | -suffix <java.lang.String> |
default |
|
The width of the dialog.
command-line | -width <int> |
default | 800 |
The height of the dialog.
command-line | -height <int> |
default | 600 |
The output directory.
command-line | -output <adams.core.io.PlaceholderFile> |
default | ${CWD} |
The writer to use for generating the graphics output.
command-line | -writer <adams.gui.print.JComponentWriter> |
default | adams.gui.print.NullWriter |
The actor for generating the display panels to take a screenshot of.
command-line | -provider <adams.flow.sink.DisplayPanelProvider> |
default | adams.flow.sink.ImageViewer -display-type adams.flow.core.displaytype.Default -writer adams.gui.print.NullWriter -selection-processor adams.gui.visualization.image.selection.NullProcessor -left-click-processor adams.gui.visualization.image.leftclick.NullProcessor -selection-shape-painter adams.gui.visualization.image.selectionshape.RectanglePainter -image-overlay adams.gui.visualization.image.NullOverlay |
The prefix for the filename in case of auto-generation (no path, just name).
command-line | -filename-prefix <java.lang.String> |
default | screenshot |
The variable to use for the filename instead of the auto-generated one.
command-line | -filename-var <adams.core.VariableName> |
default | variable |