|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.imageloader.TemplateImageImpl
public class TemplateImageImpl
Many icons are based on the same image, but in different sizes and possibly different colours. The ImageTemplate class loads and holds them image, and can provide it clients with the full sized images or scaled images.
| Method Summary | |
|---|---|
static TemplateImageImpl |
create(java.awt.Image image)
Factory method. |
java.awt.Image |
getIcon(int height)
|
java.awt.Image |
getImage()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TemplateImageImpl create(java.awt.Image image)
public java.awt.Image getImage()
getImage in interface TemplateImagepublic java.awt.Image getIcon(int height)
getIcon in interface TemplateImage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||