Package org.apache.wicket
Interface IResourceFactory
-
- All Known Implementing Classes:
DefaultButtonImageResourceFactory
public interface IResourceFactory
A factory which creates resources for a given specification string. The format of the specification string is determined by the resource factory subclass. If the resource factory produced button images, the specification might include settings relevant to buttons such as the width, height and color of the button, as well as the text to draw on the button.- Author:
- Jonathan Locke
- See Also:
LocalizedImageResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResource
newResource(String specification, Locale locale, String style, String variation)
-
-
-
Method Detail
-
newResource
IResource newResource(String specification, Locale locale, String style, String variation)
- Parameters:
specification
- The resource specification stringlocale
- The locale for the resourcestyle
- The style of the resource (seeSession
)variation
- The component's variation- Returns:
- The resource
-
-