public abstract class BaseRobot
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
screenshotFilename
The screenshot filename.
|
protected SampleFrame |
sf
The frame instance.
|
protected SubstanceSkin |
skin
The associated Substance skin.
|
Constructor and Description |
---|
BaseRobot(SubstanceSkin skin,
java.lang.String screenshotFilename)
Creates the new screenshot robot.
|
Modifier and Type | Method and Description |
---|---|
void |
makeScreenshot()
Creates the screenshot and saves it on the disk.
|
void |
run()
Runs the screenshot process.
|
protected SubstanceSkin skin
protected java.lang.String screenshotFilename
protected SampleFrame sf
public BaseRobot(SubstanceSkin skin, java.lang.String screenshotFilename)
skin
- The skin.screenshotFilename
- The screenshot filename.