EnumeratedReferenceStructure
Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure, com.aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures.EnumeratedDescriptorStructure
public final class EnumeratedReferenceStructure extends EnumeratedDescriptorStructure
Enumerated reference structure.
Constructors
Constructor | Description |
---|---|
EnumeratedReferenceStructure(ClassID keyName, ClassID classID, ClassID typeID, ClassID enumName) | Initializes a new instance of the EnumeratedReferenceStructure class. |
Fields
Field | Description |
---|---|
EnumeratedStructureKey | Identifies the structure key. |
StructureKey | The enumerated descriptor key. |
Methods
EnumeratedReferenceStructure(ClassID keyName, ClassID classID, ClassID typeID, ClassID enumName)
public EnumeratedReferenceStructure(ClassID keyName, ClassID classID, ClassID typeID, ClassID enumName)
Initializes a new instance of the EnumeratedReferenceStructure class.
Parameters:
Parameter | Type | Description |
---|---|---|
keyName | ClassID | The key name. |
classID | ClassID | The class ID. |
typeID | ClassID | The type ID. |
enumName | ClassID | The enum name. |
EnumeratedStructureKey
public static final int EnumeratedStructureKey
Identifies the structure key.
StructureKey
public static final int StructureKey
The enumerated descriptor key.
findByKeyName_from_placed_internalized(String keyName, PlacedResource container)
public static T <T>findByKeyName_from_placed_internalized(String keyName, PlacedResource container)
Finds the structure by key name value.
Parameters:
Parameter | Type | Description |
---|---|---|
keyName | java.lang.String | The key name. |
container | PlacedResource | The items container to search in. |
T : The type of result object. |
Returns: T - The structure by key name value.
findByKeyName_internalized(String keyName, System.Collections.Generic.IGenericList items)
public static T <T>findByKeyName_internalized(String keyName, System.Collections.Generic.IGenericList<OSTypeStructure> items)
Finds the structure by key name value.
Parameters:
Parameter | Type | Description |
---|---|---|
keyName | java.lang.String | The key name. |
items | com.aspose.ms.System.Collections.Generic.IGenericList<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure> | The items to search in. |
T : The type of result object. |
Returns: T - The structure by key name value.
arrangeToDictionary_internalized(OSTypeStructure[] structures, System.Collections.Generic.Dictionary<String,OSTypeStructure> dictionary, String prefix)
public static System.Collections.Generic.Dictionary<String,OSTypeStructure> arrangeToDictionary_internalized(OSTypeStructure[] structures, System.Collections.Generic.Dictionary<String,OSTypeStructure> dictionary, String prefix)
Arranges structures to one dictionary by key name.
Parameters:
Parameter | Type | Description |
---|---|---|
structures | OSTypeStructure[] | The structures |
dictionary | com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.String,com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure> | The dictionary to arrange |
prefix | java.lang.String | The prefix for key names. |
Returns: com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.String,com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure> - Arranged structures as dictionary by key name.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getClassID()
public final ClassID getClassID()
Gets or sets the class ID.
Value: The class ID.
Returns: ClassID
getClassName()
public final String getClassName()
Gets or sets the class name.
Value: The class name.
Returns: java.lang.String
getEnumName()
public final ClassID getEnumName()
Gets or sets the enum name.
Value: The enum name.
Returns: ClassID
getHeaderLength()
public int getHeaderLength()
Gets the header length.
Returns: int - The header length
getKey()
public int getKey()
Gets the key.
Returns: int
getKeyName()
public final ClassID getKeyName()
Gets or sets the key name.
Value: The key name.
Returns: ClassID
getLength()
public int getLength()
Gets the OSTypeStructure length in bytes.
Returns: int
getTypeID()
public final ClassID getTypeID()
Gets or sets the type ID.
Value: The type ID.
Returns: ClassID
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeByKeyName_internalized(String keyName, System.Collections.Generic.List items)
public static void removeByKeyName_internalized(String keyName, System.Collections.Generic.List<OSTypeStructure> items)
Find and removes structure from the input items list.
Parameters:
Parameter | Type | Description |
---|---|---|
keyName | java.lang.String | The key name. |
items | com.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure> | The items. |
save(StreamContainer streamContainer)
public final void save(StreamContainer streamContainer)
Saves the structure to the specified stream container.
Parameters:
Parameter | Type | Description |
---|---|---|
streamContainer | StreamContainer | The stream container. |
saveWithoutKeyName(StreamContainer streamContainer)
public final void saveWithoutKeyName(StreamContainer streamContainer)
Saves the structure to the specified stream container.
Parameters:
Parameter | Type | Description |
---|---|---|
streamContainer | StreamContainer | The stream container. |
setClassID(ClassID value)
public final void setClassID(ClassID value)
Gets or sets the class ID.
Value: The class ID.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ClassID |
setClassName(String value)
public final void setClassName(String value)
Gets or sets the class name.
Value: The class name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setEnumName(ClassID value)
public final void setEnumName(ClassID value)
Gets or sets the enum name.
Value: The enum name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ClassID |
setKeyName(ClassID value)
public final void setKeyName(ClassID value)
Gets or sets the key name.
Value: The key name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ClassID |
setToList_internalized(OSTypeStructure structure, System.Collections.Generic.List items)
public static void setToList_internalized(OSTypeStructure structure, System.Collections.Generic.List<OSTypeStructure> items)
Add or update the structure to input items list.
Parameters:
Parameter | Type | Description |
---|---|---|
structure | OSTypeStructure | The structure to add update. |
items | com.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure> | The items. |
setTypeID(ClassID value)
public final void setTypeID(ClassID value)
Gets or sets the type ID.
Value: The type ID.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ClassID |
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 |