private static class JHelpRichText.CacheImageElement extends CacheElement<JHelpImage>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
resource
Image resource name
|
private Resources |
resources
Resources set where found the image
|
private int |
size
Image desired size
|
| Constructor and Description |
|---|
JHelpRichText.CacheImageElement(Resources resources,
java.lang.String resource,
int size)
Create a new instance of CacheImageElement
|
| Modifier and Type | Method and Description |
|---|---|
protected JHelpImage |
createElement()
Create the image
Parent documentation: Create the element |
clear, getElementprivate final java.lang.String resource
private final Resources resources
private final int size
public JHelpRichText.CacheImageElement(Resources resources, java.lang.String resource, int size)
resources - Resources set where found the imageresource - Image resource namesize - Image desired sizeprotected JHelpImage createElement()
createElement in class CacheElement<JHelpImage>CacheElement.createElement()