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
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, smooth
activateAutoRefresh, equals, getKey, hasChanged, hasChanged, hashCode, readBoolean, readDouble, readInteger, setKey, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
extension, name, path
activateAutoRefresh, getKey, hasChanged, hasChanged, setKey
public StringProperty websiteProperty
public 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 StringProperty websiteProperty()
public BooleanProperty securedProperty()
public void parse(String... parameters)
parse
in interface ResourceParams
parameters
- split from resource properties fileprotected List<? extends Object> getFieldValues()
ParameterEntry
object.getFieldValues
in class AbstractBaseParams
Copyright © 2011–2016 JRebirth OSS. All rights reserved.