|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.Screenshot
public class Screenshot
A tool for taking snapshot images of the desktop.
Copyright 2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
Screenshot()
|
|
Screenshot(java.awt.Rectangle bounds)
|
|
Screenshot(java.awt.Window window)
|
|
| Method Summary | |
|---|---|
java.awt.image.RenderedImage |
capture()
Take a single screenshot at the current bounds settings. |
java.awt.Rectangle |
getBounds()
|
java.awt.image.BufferedImage |
getImage()
Gets the last captured image; if there is none, attempts to take one. |
void |
setBounds(java.awt.Rectangle newBounds)
|
void |
setBoundsToFullScreen()
|
void |
setBoundsToWindow(java.awt.Window window)
|
void |
writeImageTo(VfsFile file)
Saves the last capture to the given file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Screenshot()
public Screenshot(java.awt.Window window)
public Screenshot(java.awt.Rectangle bounds)
| Method Detail |
|---|
public void setBoundsToFullScreen()
public void setBoundsToWindow(java.awt.Window window)
public java.awt.image.BufferedImage getImage()
public java.awt.image.RenderedImage capture()
public void writeImageTo(VfsFile file)
throws java.io.IOException
java.io.IOExceptionpublic java.awt.Rectangle getBounds()
public void setBounds(java.awt.Rectangle newBounds)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||