Class InfoItem
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.client.parts.splashscreen.parts.InfoItem
-
- Direct Known Subclasses:
DescriptionInfoItem
public class InfoItem extends java.lang.ObjectThe optional kind="splash" attribute may be used in an icon element to indicate that the image is to be used as a "splash" screen during the launch of an application. If the JNLP file does not contain an icon element with kind="splash" attribute, Java Web Start will construct a splash screen using other items from the information Element. If the JNLP file does not contain any icon images, the splash image will consist of the application's title and vendor, as taken from the JNLP file. items not used inside
-
-
Constructor Summary
Constructors Constructor Description InfoItem(java.lang.String type, java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetType()java.lang.StringgetValue()inthashCode()booleanisofSameType(InfoItem o)static java.lang.Stringlocalise(java.lang.String key, java.lang.String s)voidsetType(java.lang.String type)voidsetValue(java.lang.String value)java.lang.StringtoNiceString()java.lang.StringtoString()
-
-
-
Field Detail
-
SPLASH
public static final java.lang.String SPLASH
- See Also:
- Constant Field Values
-
type
protected java.lang.String type
-
value
protected java.lang.String value
-
-
Method Detail
-
getType
public java.lang.String getType()
- Returns:
- the type
-
setType
public void setType(java.lang.String type)
- Parameters:
type- the type to set
-
getValue
public java.lang.String getValue()
- Returns:
- the value
-
setValue
public void setValue(java.lang.String value)
- Parameters:
value- the value to set
-
isofSameType
public boolean isofSameType(InfoItem o)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toNiceString
public java.lang.String toNiceString()
-
localise
public static java.lang.String localise(java.lang.String key, java.lang.String s)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-