Class DescriptionInfoItem
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.client.parts.splashscreen.parts.InfoItem
-
- net.adoptopenjdk.icedteaweb.client.parts.splashscreen.parts.DescriptionInfoItem
-
public class DescriptionInfoItem extends InfoItem
description element: A short statement about the application. Description elements are optional. The kind attribute defines how the description should be used. It can have one of the following values: * one-line: If a reference to the application is going to appear on one row in a list or a table, this description will be used. * short: If a reference to the application is going to be displayed in a situation where there is room for a paragraph, this description is used. * tooltip: If a reference to the application is going to appear in a tooltip, this description is used. Only one description element of each kind can be specified. A description element without a kind is used as a default value. Thus, if Java Web Start needs a description of kind short, and it is not specified in the JNLP file, then the text from the description without an attribute is used. All descriptions contain plain text. No formatting, such as with HTML tags, is supported.
-
-
Constructor Summary
Constructors Constructor Description DescriptionInfoItem(java.lang.String value, DescriptionKind kind)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)DescriptionKindgetKind()inthashCode()booleanisOfSameKind(DescriptionInfoItem o)booleanisSame(DescriptionInfoItem o)voidsetKind(DescriptionKind kind)java.lang.StringtoNiceString()java.lang.StringtoString()
-
-
-
Field Detail
-
kind
protected DescriptionKind kind
-
-
Constructor Detail
-
DescriptionInfoItem
public DescriptionInfoItem(java.lang.String value, DescriptionKind kind)
-
-
Method Detail
-
getKind
public DescriptionKind getKind()
-
setKind
public void setKind(DescriptionKind kind)
-
isOfSameKind
public boolean isOfSameKind(DescriptionInfoItem o)
-
isSame
public boolean isSame(DescriptionInfoItem o)
-
toNiceString
public java.lang.String toNiceString()
- Overrides:
toNiceStringin classInfoItem
-
-