|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--PictureFrame
Class that holds a digital picture and displays it. Copyright Georgia Institute of Technology 2004
Constructor Summary | |
PictureFrame()
A constructor that takes no arguments. |
|
PictureFrame(DigitalPicture picture)
A constructor that takes a picture to display |
Method Summary | |
void |
displayImage()
A method to make sure the frame is displayed |
void |
hideImage()
|
void |
repaint()
Method to force the picture frame to repaint (redraw) |
void |
setTitle(java.lang.String title)
Method to set the title for the picture frame |
void |
updateImage()
A method to update the picture frame image with the image in the picture |
void |
updateImageAndShowIt()
A method to update the picture frame image with the image in the picture and show it |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PictureFrame()
public PictureFrame(DigitalPicture picture)
picture
- the digital picture to display in the picture frameMethod Detail |
public void updateImage()
public void hideImage()
public void updateImageAndShowIt()
public void displayImage()
public void setTitle(java.lang.String title)
title
- the title to usepublic void repaint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |