org.nakedobjects.plugins.html.image
Interface ImageProvider
- All Known Implementing Classes:
- ImageProviderAbstract, ImageProviderDirectoryBased, ImageProviderDirectoryBasedReworked, ImageProviderResourceBased
public interface ImageProvider
Factors out the ImageLookup responsibilities into an interface, with a
view to moving towards alternative mechanisms.
|
Method Summary |
void |
debug(DebugString debug)
|
java.lang.String |
image(NakedObject object)
For an object, the icon name from the object is return if it is not null, otherwise the specification
is used to look up a suitable image name. |
java.lang.String |
image(NakedObjectSpecification specification)
|
java.lang.String |
image(java.lang.String name)
|
debug
void debug(DebugString debug)
image
java.lang.String image(NakedObject object)
- For an object, the icon name from the object is return if it is not null, otherwise the specification
is used to look up a suitable image name.
- See Also:
NakedObject.getIconName(),
image(NakedObjectSpecification)
image
java.lang.String image(NakedObjectSpecification specification)
image
java.lang.String image(java.lang.String name)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.