public class WebImage extends AbstractBaseImage implements ImageParams
| Type | Property and Description |
|---|---|
BooleanProperty |
secured
Return the secured property.
|
StringProperty |
website
Return the website property.
|
extensionProperty, nameProperty, pathProperty| Modifier and Type | Field and Description |
|---|---|
private BooleanProperty |
securedProperty
Indicate if we must call http:// or https:// protocol.
|
private StringProperty |
websiteProperty
the local image path.
|
PARAMETER_SEPARATOR| Constructor and Description |
|---|
WebImage(String website,
boolean secured,
String path,
String name,
ImageExtension extension)
Default Constructor.
|
WebImage(String website,
String path,
String name,
ImageExtension extension)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
String |
getUrl()
Build the image url.
|
void |
parse(String[] parameters)
Parse a string to initialize fields.
|
Boolean |
secured()
Return the secured flag.
|
BooleanProperty |
securedProperty()
Return the secured property.
|
String |
website()
Return the website base url.
|
StringProperty |
websiteProperty()
Return the website property.
|
backgroundLoading, extension, extensionProperty, name, nameProperty, path, pathProperty, preserveRatio, requestedHeight, requestedWidth, smoothactivateAutoRefresh, getKey, hasChanged, hasChanged, readBoolean, readDouble, readInteger, setKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitextension, name, pathactivateAutoRefresh, getKey, hasChanged, hasChanged, setKeyprivate final StringProperty websiteProperty
private final BooleanProperty securedProperty
public WebImage(String website, String path, String name, ImageExtension extension)
website - the website base urlpath - the path of the image to loadname - the image file name to use.extension - the image extension to usepublic WebImage(String website, boolean secured, String path, String name, ImageExtension extension)
website - the website base urlsecured - the http protocol to use (http or https)path - the path of the image to loadname - the image file name to use.extension - the image extension to usepublic String website()
public StringProperty websiteProperty()
public Boolean secured()
public BooleanProperty securedProperty()
public String getUrl()
public void parse(String[] parameters)
parse in interface ResourceParamsparameters - split from resource properties fileprotected List<? extends Object> getFieldValues()
ParameterEntry object.getFieldValues in class AbstractBaseParamsCopyright © 2011–2014 JRebirth OSS. All rights reserved.