Class TopLevelContainerInfoBase
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.model.TopLevelContainerInfoBase
-
- Direct Known Subclasses:
TemplateInfo
,WindowInfo
public class TopLevelContainerInfoBase extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
PROJECT_RESOURCE_8_VERSION
Version ofProjectResource.getVersion()
corresponding to any project resource holding a window/template info created post Ignition 8.static int
PROJECT_RESOURCE_LEGACY_VERSION
Version ofProjectResource.getVersion()
corresponding to any project resource holding a window or template info created in pre-Ignition 8.static java.lang.String
THUMBNAIL_KEY
protected java.awt.image.BufferedImage
windowThumbnail
protected byte[]
windowThumbnailBytes
-
Constructor Summary
Constructors Constructor Description TopLevelContainerInfoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
getWindowThumbnail()
byte[]
getWindowThumbnailBytes()
void
setWindowThumbnail(java.awt.image.BufferedImage windowThumbnail)
void
setWindowThumbnailBytes(byte[] thumbnailBytes)
-
-
-
Field Detail
-
PROJECT_RESOURCE_LEGACY_VERSION
public static final int PROJECT_RESOURCE_LEGACY_VERSION
Version ofProjectResource.getVersion()
corresponding to any project resource holding a window or template info created in pre-Ignition 8. These project resources will have a data.bin blob holding an XML serialized window/template info object.- See Also:
- Constant Field Values
-
PROJECT_RESOURCE_8_VERSION
public static final int PROJECT_RESOURCE_8_VERSION
Version ofProjectResource.getVersion()
corresponding to any project resource holding a window/template info created post Ignition 8. These project resources will have the contents of the window/template serialized into separate files like window.bin and thumbnail.png- See Also:
- Constant Field Values
-
THUMBNAIL_KEY
public static final java.lang.String THUMBNAIL_KEY
- See Also:
- Constant Field Values
-
windowThumbnail
protected java.awt.image.BufferedImage windowThumbnail
-
windowThumbnailBytes
protected byte[] windowThumbnailBytes
-
-
Method Detail
-
getWindowThumbnail
public java.awt.image.BufferedImage getWindowThumbnail()
-
setWindowThumbnail
public void setWindowThumbnail(java.awt.image.BufferedImage windowThumbnail)
-
getWindowThumbnailBytes
public byte[] getWindowThumbnailBytes()
-
setWindowThumbnailBytes
public void setWindowThumbnailBytes(byte[] thumbnailBytes)
-
-