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

ConstructorDescription
EnumeratedReferenceStructure(ClassID keyName, ClassID classID, ClassID typeID, ClassID enumName)Initializes a new instance of the EnumeratedReferenceStructure class.

Fields

FieldDescription
EnumeratedStructureKeyIdentifies the structure key.
StructureKeyThe enumerated descriptor key.

Methods

MethodDescription
findByKeyName_from_placed_internalized(String keyName, PlacedResource container)Finds the structure by key name value.
findByKeyName_internalized(String keyName, System.Collections.Generic.IGenericList items)Finds the structure by key name value.
arrangeToDictionary_internalized(OSTypeStructure[] structures, System.Collections.Generic.Dictionary<String,OSTypeStructure> dictionary, String prefix)Arranges structures to one dictionary by key name.
createColorDescriptor_internalized(Color value)
createColorDescriptor_internalized(Color value, String keyName)Creates the DescriptorStructure with color value with specified key name.
equals(Object arg0)
getBoolValue_internalized(System.Collections.Generic.List itemsList, String keyName)Gets the boolean value from structures list by key name.
getClass()
getClassID()Gets or sets the class ID.
getClassName()Gets or sets the class name.
getColorValue_internalized(System.Collections.Generic.List itemsList, String keyName)Gets the color value from structures list by key name.
getColorValue_internalized(List itemsList)
getEnumName()Gets or sets the enum name.
getHeaderLength()Gets the header length.
getInt32Value_internalized(System.Collections.Generic.List itemsList, String keyName)Gets the int32 value from structures list by key name.
getKey()Gets the key.
getKeyName()Gets or sets the key name.
getLength()Gets the OSTypeStructure length in bytes.
getListOfStructuresValue_internalized(System.Collections.Generic.List itemsList, String keyName)Gets the list of structures value from other structures list by key name.
getPointDoubleValue_internalized(System.Collections.Generic.List itemsList, String keyName)Gets the PointF value from structures list by key name.
getRectDoubleValue_internalized(System.Collections.Generic.List itemsList, String keyName)Gets the RectangleF value from structures list by key name.
getStringValue_internalized(System.Collections.Generic.List itemsList, String keyName)Gets the string value from structures list by key name.
getTypeID()Gets or sets the type ID.
hashCode()
notify()
notifyAll()
removeByKeyName_internalized(String keyName, System.Collections.Generic.List items)Find and removes structure from the input items list.
save(StreamContainer streamContainer)Saves the structure to the specified stream container.
saveWithoutKeyName(StreamContainer streamContainer)Saves the structure to the specified stream container.
setBoolValue_internalized(boolean value, System.Collections.Generic.List itemsList, String keyName)Sets the boolean value to structures list by key name.
setClassID(ClassID value)Gets or sets the class ID.
setClassName(String value)Gets or sets the class name.
setColorValue_internalized(Color value, System.Collections.Generic.List itemsList, String keyName)Sets the color value to a structure list by key name.
setColorValue_internalized(Color value, List itemsList)
setEnumName(ClassID value)Gets or sets the enum name.
setInt32Value_internalized(int value, System.Collections.Generic.List itemsList, String keyName)Sets the int32 value to structures list by key name.
setKeyName(ClassID value)Gets or sets the key name.
setListOfStructuresValue_internalized(System.Collections.Generic.List value, System.Collections.Generic.List itemsList, String keyName)Sets the list of structures value to other structures list by key name.
setPointDoubleValue_internalized(PointF value, System.Collections.Generic.List itemsList, String keyName)Sets the PointF value to structures list by key name.
setRectDoubleValue_internalized(RectangleF value, System.Collections.Generic.List itemsList, String keyName)Sets the RectangleF value to structures list by key name.
setStringValue_internalized(String value, System.Collections.Generic.List itemsList, String keyName)Sets the string value to structures list by key name.
setToList_internalized(OSTypeStructure structure, System.Collections.Generic.List items)Add or update the structure to input items list.
setTypeID(ClassID value)Gets or sets the type ID.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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:

ParameterTypeDescription
keyNameClassIDThe key name.
classIDClassIDThe class ID.
typeIDClassIDThe type ID.
enumNameClassIDThe 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:

ParameterTypeDescription
keyNamejava.lang.StringThe key name.
containerPlacedResourceThe 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:

ParameterTypeDescription
keyNamejava.lang.StringThe key name.
itemscom.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:

ParameterTypeDescription
structuresOSTypeStructure[]The structures
dictionarycom.aspose.ms.System.Collections.Generic.Dictionary<java.lang.String,com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The dictionary to arrange
prefixjava.lang.StringThe 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.

createColorDescriptor_internalized(Color value)

public static DescriptorStructure createColorDescriptor_internalized(Color value)

Parameters:

ParameterTypeDescription
valueColor

Returns: DescriptorStructure

createColorDescriptor_internalized(Color value, String keyName)

public static DescriptorStructure createColorDescriptor_internalized(Color value, String keyName)

Creates the DescriptorStructure with color value with specified key name.

Parameters:

ParameterTypeDescription
valueColorThe color value.
keyNamejava.lang.StringThe key name.

Returns: DescriptorStructure

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBoolValue_internalized(System.Collections.Generic.List itemsList, String keyName)

public static boolean getBoolValue_internalized(System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Gets the boolean value from structures list by key name.

Parameters:

ParameterTypeDescription
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list to search in.
keyNamejava.lang.StringThe key name to search by.

Returns: boolean - The boolean value from the structures list if it exists, otherwise the default value.

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

getColorValue_internalized(System.Collections.Generic.List itemsList, String keyName)

public static Color getColorValue_internalized(System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Gets the color value from structures list by key name.

Parameters:

ParameterTypeDescription
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list to search in.
keyNamejava.lang.StringThe key name to search by.

Returns: Color - The color value from the structures list if it exists, otherwise the default value.

getColorValue_internalized(List itemsList)

public static Color getColorValue_internalized(List<OSTypeStructure> itemsList)

Parameters:

ParameterTypeDescription
itemsListjava.util.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>

Returns: Color

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

getInt32Value_internalized(System.Collections.Generic.List itemsList, String keyName)

public static int getInt32Value_internalized(System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Gets the int32 value from structures list by key name.

Parameters:

ParameterTypeDescription
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list to search in.
keyNamejava.lang.StringThe key name to search by.

Returns: int - The int32 value from the structures list if it exists, otherwise the default value.

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

getListOfStructuresValue_internalized(System.Collections.Generic.List itemsList, String keyName)

public static System.Collections.Generic.List<OSTypeStructure> getListOfStructuresValue_internalized(System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Gets the list of structures value from other structures list by key name.

Parameters:

ParameterTypeDescription
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list to search in.
keyNamejava.lang.StringThe key name to search by.

Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure> - The ist of structures value from the other structures list if it exists, otherwise the default value.

getPointDoubleValue_internalized(System.Collections.Generic.List itemsList, String keyName)

public static PointF getPointDoubleValue_internalized(System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Gets the PointF value from structures list by key name.

Parameters:

ParameterTypeDescription
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list to search in.
keyNamejava.lang.StringThe key name to search by.

Returns: PointF - The PointF value from the structures list if it exists, otherwise the default value.

getRectDoubleValue_internalized(System.Collections.Generic.List itemsList, String keyName)

public static RectangleF getRectDoubleValue_internalized(System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Gets the RectangleF value from structures list by key name.

Parameters:

ParameterTypeDescription
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list to search in.
keyNamejava.lang.StringThe key name to search by.

Returns: RectangleF - The RectangleF value from the structures list if it exists, otherwise the default value.

getStringValue_internalized(System.Collections.Generic.List itemsList, String keyName)

public static String getStringValue_internalized(System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Gets the string value from structures list by key name.

Parameters:

ParameterTypeDescription
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list to search in.
keyNamejava.lang.StringThe key name to search by.

Returns: java.lang.String - The string value from the structures list if it exists, otherwise the default value.

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:

ParameterTypeDescription
keyNamejava.lang.StringThe key name.
itemscom.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:

ParameterTypeDescription
streamContainerStreamContainerThe stream container.

saveWithoutKeyName(StreamContainer streamContainer)

public final void saveWithoutKeyName(StreamContainer streamContainer)

Saves the structure to the specified stream container.

Parameters:

ParameterTypeDescription
streamContainerStreamContainerThe stream container.

setBoolValue_internalized(boolean value, System.Collections.Generic.List itemsList, String keyName)

public static void setBoolValue_internalized(boolean value, System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Sets the boolean value to structures list by key name.

Parameters:

ParameterTypeDescription
valuebooleanThe value to be set.
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list.
keyNamejava.lang.StringThe key name.

setClassID(ClassID value)

public final void setClassID(ClassID value)

Gets or sets the class ID.

Value: The class ID.

Parameters:

ParameterTypeDescription
valueClassID

setClassName(String value)

public final void setClassName(String value)

Gets or sets the class name.

Value: The class name.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setColorValue_internalized(Color value, System.Collections.Generic.List itemsList, String keyName)

public static void setColorValue_internalized(Color value, System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Sets the color value to a structure list by key name.

Parameters:

ParameterTypeDescription
valueColorThe value to be set.
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list.
keyNamejava.lang.StringThe key name.

setColorValue_internalized(Color value, List itemsList)

public static void setColorValue_internalized(Color value, List<OSTypeStructure> itemsList)

Parameters:

ParameterTypeDescription
valueColor
itemsListjava.util.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>

setEnumName(ClassID value)

public final void setEnumName(ClassID value)

Gets or sets the enum name.

Value: The enum name.

Parameters:

ParameterTypeDescription
valueClassID

setInt32Value_internalized(int value, System.Collections.Generic.List itemsList, String keyName)

public static void setInt32Value_internalized(int value, System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Sets the int32 value to structures list by key name.

Parameters:

ParameterTypeDescription
valueintThe value to be set.
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list.
keyNamejava.lang.StringThe key name.

setKeyName(ClassID value)

public final void setKeyName(ClassID value)

Gets or sets the key name.

Value: The key name.

Parameters:

ParameterTypeDescription
valueClassID

setListOfStructuresValue_internalized(System.Collections.Generic.List value, System.Collections.Generic.List itemsList, String keyName)

public static void setListOfStructuresValue_internalized(System.Collections.Generic.List<OSTypeStructure> value, System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Sets the list of structures value to other structures list by key name.

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The value to be set.
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list.
keyNamejava.lang.StringThe key name.

setPointDoubleValue_internalized(PointF value, System.Collections.Generic.List itemsList, String keyName)

public static void setPointDoubleValue_internalized(PointF value, System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Sets the PointF value to structures list by key name.

Parameters:

ParameterTypeDescription
valuePointFThe value to be set.
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list.
keyNamejava.lang.StringThe key name.

setRectDoubleValue_internalized(RectangleF value, System.Collections.Generic.List itemsList, String keyName)

public static void setRectDoubleValue_internalized(RectangleF value, System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Sets the RectangleF value to structures list by key name.

Parameters:

ParameterTypeDescription
valueRectangleFThe value to be set.
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list.
keyNamejava.lang.StringThe key name.

setStringValue_internalized(String value, System.Collections.Generic.List itemsList, String keyName)

public static void setStringValue_internalized(String value, System.Collections.Generic.List<OSTypeStructure> itemsList, String keyName)

Sets the string value to structures list by key name.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value to be set.
itemsListcom.aspose.ms.System.Collections.Generic.List<com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure>The structures list.
keyNamejava.lang.StringThe key name.

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:

ParameterTypeDescription
structureOSTypeStructureThe structure to add update.
itemscom.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:

ParameterTypeDescription
valueClassID

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int