public class SmartResourceCreator extends Object
Defines the SmartResourceCreator class that can create PlLd, SoLd and SoLe resources. Is is used to support smart object layers in the Adobe� Photoshop� images.
PlLdResource
,
SoLdResource
,
SoLeResource
Constructor and Description |
---|
SmartResourceCreator()
Initializes a new instance of the
SmartResourceCreator class. |
SmartResourceCreator(boolean isCustom,
boolean hasCompInfo)
Initializes a new instance of the
SmartResourceCreator class. |
SmartResourceCreator(PlacedResource template)
Initializes a new instance of the
SmartResourceCreator class
with the given template. |
Modifier and Type | Method and Description |
---|---|
PlLdResource |
generatePlacedResource()
Generates the placed resource.
|
SoLdResource |
generateSmartEmbeddedResource()
Generates the embedded smart object resource.
|
SoLeResource |
generateSmartExternalResource()
Generates the external smart object resource.
|
public SmartResourceCreator()
Initializes a new instance of the SmartResourceCreator
class.
public SmartResourceCreator(boolean isCustom, boolean hasCompInfo)
Initializes a new instance of the SmartResourceCreator
class.
isCustom
- if set to true
[is custom].hasCompInfo
- if set to true
[has comp information].public SmartResourceCreator(PlacedResource template)
Initializes a new instance of the SmartResourceCreator
class
with the given template.
template
- The smart object resource template.public final PlLdResource generatePlacedResource()
Generates the placed resource.
PlLdResource
instance.public final SoLdResource generateSmartEmbeddedResource()
Generates the embedded smart object resource.
SoLdResource
instance.public final SoLeResource generateSmartExternalResource()
Generates the external smart object resource.
SoLeResource
instance.