|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.gui.components.util.ScreenCapturer
public class ScreenCapturer
| Constructor Summary | |
|---|---|
ScreenCapturer()
Creates new object |
|
ScreenCapturer(java.awt.Component com)
Creates new object |
|
ScreenCapturer(java.awt.Component com,
java.lang.String p)
Creates new object |
|
| Method Summary | |
|---|---|
java.lang.String |
getFile()
returns file path |
java.lang.String |
getFormat()
returns file type |
void |
saveImage()
Saves image to file ... |
void |
saveImageToSysClipBoard(java.awt.Component componentToCopy)
|
void |
setFile(java.lang.String path)
set the file path |
void |
showScreenDialog()
Shows JFileChooser, sets filters for supportable file types , and saves screen image |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScreenCapturer(java.awt.Component com)
com - Component
public ScreenCapturer(java.awt.Component com,
java.lang.String p)
com - Component to paintp - String path , where to save filepublic ScreenCapturer()
| Method Detail |
|---|
public void showScreenDialog()
public java.lang.String getFormat()
public java.lang.String getFile()
public void setFile(java.lang.String path)
path - Stringpublic void saveImage()
public void saveImageToSysClipBoard(java.awt.Component componentToCopy)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||