SmartResourceCreator
Inheritance: java.lang.Object
public class SmartResourceCreator
Defines the SmartResourceCreator class that can create PlLd, SoLd and SoLe resources. Is is used to support smart object layers in the Adobe\ufffd Photoshop\ufffd images.
Constructors
| Constructor | 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. |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| generatePlacedResource() | Generates the placed resource. |
| generateSmartEmbeddedResource() | Generates the embedded smart object resource. |
| generateSmartExternalResource() | Generates the external smart object resource. |
| getClass() | |
| getTemplate_internalized() | Gets or sets the smart object resource template. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
SmartResourceCreator()
public SmartResourceCreator()
Initializes a new instance of the SmartResourceCreator class.
SmartResourceCreator(boolean isCustom, boolean hasCompInfo)
public SmartResourceCreator(boolean isCustom, boolean hasCompInfo)
Initializes a new instance of the SmartResourceCreator class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| isCustom | boolean | if set to true [is custom]. |
| hasCompInfo | boolean | if set to true [has comp information]. |
SmartResourceCreator(PlacedResource template)
public SmartResourceCreator(PlacedResource template)
Initializes a new instance of the SmartResourceCreator class with the given template.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| template | PlacedResource | The smart object resource template. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
generatePlacedResource()
public final PlLdResource generatePlacedResource()
Generates the placed resource.
Returns: PlLdResource - The generated PlLdResource instance.
generateSmartEmbeddedResource()
public final SoLdResource generateSmartEmbeddedResource()
Generates the embedded smart object resource.
Returns: SoLdResource - The generated SoLdResource instance.
generateSmartExternalResource()
public final SoLeResource generateSmartExternalResource()
Generates the external smart object resource.
Returns: SoLeResource - The generated SoLeResource instance.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getTemplate_internalized()
public final SmartObjectResource getTemplate_internalized()
Gets or sets the smart object resource template.
Value: The smart object resource template.
Returns: SmartObjectResource
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |