Package at.letto.tools.dto
Class ImageInfoDto
java.lang.Object
at.letto.tools.dto.ImageInfoDto
Information of an Image which is stored in the Image-Service or returned from other service.
It consists any Data about the source of then image and the properties to view in LeTTo.
It consists any Data about the source of then image and the properties to view in LeTTo.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
alternative text used for a handicapped accessible html-siteprivate String
filename of then image fileprivate int
orogin height of then image in pixelprivate int
image-width to display in percent of the screen or with the defined unitprivate long
lifetime of the image file in milliseconds since 1.1.1970
file can be deleted if lifetime is reached
default lifetime is one year from now
if lifetime is equal or less then zero there is no lifetime definedprivate String
pugin-type of the plugin if image was built in a pluginprivate String
CSS style definition to display on a browser with HTMLprivate String
title of the imageprivate IMAGEUNIT
the unit of imageWidth to display image in HTMLprivate String
open URL of the image or stringlength=0 if it is not an open imageprivate String
version of the plugin if image was built in a pluginprivate int
origin width of then image in pixel -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
version
version of the plugin if image was built in a plugin -
pluginTyp
pugin-type of the plugin if image was built in a plugin -
filename
filename of then image file -
url
open URL of the image or stringlength=0 if it is not an open image -
width
private int widthorigin width of then image in pixel -
height
private int heightorogin height of then image in pixel -
unit
the unit of imageWidth to display image in HTML -
imageWidth
private int imageWidthimage-width to display in percent of the screen or with the defined unit -
style
CSS style definition to display on a browser with HTML -
alternate
alternative text used for a handicapped accessible html-site -
title
title of the image -
lifetime
private long lifetimelifetime of the image file in milliseconds since 1.1.1970
file can be deleted if lifetime is reached
default lifetime is one year from now
if lifetime is equal or less then zero there is no lifetime defined
-
-
Constructor Details
-
ImageInfoDto
public ImageInfoDto()
-
-
Method Details
-
lifetimeOutdated
public boolean lifetimeOutdated()- Returns:
- true if actual time is greater then lifetime
-