|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdocrobot.ImageWatermarkRobot
public abstract class ImageWatermarkRobot
The base class for taking a single screenshot for Substance documentation.
Field Summary | |
---|---|
protected boolean |
done
Indicates whether the screenshot process is complete. |
protected java.lang.String |
screenshotFilename
The screenshot filename. |
protected javax.swing.JFrame |
sf
The frame instance. |
Constructor Summary | |
---|---|
ImageWatermarkRobot(java.lang.String screenshotFilename)
Creates the new screenshot robot. |
Method Summary | |
---|---|
protected abstract void |
apply()
Applies instance-specific Substance settings before taking the screenshot. |
void |
makeScreenshot()
Creates the screenshot and saves it on the disk. |
void |
run()
Runs the screenshot process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String screenshotFilename
protected javax.swing.JFrame sf
protected boolean done
Constructor Detail |
---|
public ImageWatermarkRobot(java.lang.String screenshotFilename)
screenshotFilename
- The screenshot filename.Method Detail |
---|
public void run()
protected abstract void apply()
public void makeScreenshot()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |