Class InformationElement
java.lang.Object
net.adoptopenjdk.icedteaweb.client.parts.splashscreen.parts.InformationElement
This class is wrapper around the *information* tag element which should
javaws provide from source jnlp file
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDescription(String description) voidaddDescription(String description, DescriptionKind kind) Just one description of each kind (4 including null) are allowed in information element.static InformationElementcreateFromJNLP(JNLPFile file) (package private) List<DescriptionInfoItem> getTitle()voidsetHomepage(String homepage) voidvoid
-
Field Details
-
LOG
-
title
-
vendor
-
homepage
-
descriptions
-
-
Constructor Details
-
InformationElement
public InformationElement()
-
-
Method Details
-
setTitle
-
setvendor
-
setHomepage
-
addDescription
-
addDescription
Just one description of each kind (4 including null) are allowed in information element. This method should throw exception when trying to add second description of same kind But I do not consider it as good idea to force this behaviour for something like splash screen, so I just replace the previous one with new one. without any warning -
getBestMatchingDescriptionForSplash
-
getLongestDescriptionForSplash
-
getTitle
-
getVendor
-
getHomepage
-
getDescriptions
List<DescriptionInfoItem> getDescriptions() -
getDescription
-
getHeader
-
createFromJNLP
-