|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoop.piltnik.Screenshot
public class Screenshot
Constructor Summary | |
---|---|
Screenshot(java.lang.String name,
java.io.File file)
Konstruktor Ekraanipildi jaoks. |
Method Summary | |
---|---|
java.io.File |
getFile()
Piilumeetod faili teada saamiseks. |
java.awt.image.BufferedImage |
getImage()
Failist pildi lugemine. |
java.lang.String |
getName()
Piilumeetod nime teada saamiseks. |
void |
setFile(java.io.File file)
Piilumeetod faili muutmiseks. |
void |
setName(java.lang.String name)
Piilumeetod nime muutmiseks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Screenshot(java.lang.String name, java.io.File file)
name
- Ekraanipildi nimi.file
- Faili asukoht.Method Detail |
---|
public java.io.File getFile()
public void setFile(java.io.File file)
file
- Fail, mis muudetakse uueks failiks.public java.lang.String getName()
public void setName(java.lang.String name)
name
- Uus nimi.public java.awt.image.BufferedImage getImage() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |