ColorantBase

Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase, com.aspose.psd.xmp.types.complex.ComplexTypeBase

public abstract class ColorantBase extends ComplexTypeBase

Represents XMP Colorant type.

Methods

MethodDescription
add(String key, Object value)Adds the specified key.
equals(Object arg0)
getClass()
getColorType()Gets or sets the type of the color.
getMode()Gets ColorMode .
getNamespaceUri()Gets the default namespace URI.
getPrefix()Gets the prefix.
getSwatchName()Gets or sets the name of the swatch.
getXmpRepresentation()Gets the string contained value in XMP format.
hashCode()
notify()
notifyAll()
setColorType(int value)Gets or sets the type of the color.
setSwatchName(String value)Gets or sets the name of the swatch.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

add(String key, Object value)

public void add(String key, Object value)

Adds the specified key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.ObjectThe value to add to.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColorType()

public int getColorType()

Gets or sets the type of the color.

Value: The type of the color.

Returns: int

getMode()

public int getMode()

Gets ColorMode .

Value: The color mode.

Returns: int

getNamespaceUri()

public String getNamespaceUri()

Gets the default namespace URI.

Returns: java.lang.String - The default namespace URI.

getPrefix()

public String getPrefix()

Gets the prefix.

Returns: java.lang.String - The prefix.

getSwatchName()

public String getSwatchName()

Gets or sets the name of the swatch.

Value: The name of the swatch.

Returns: java.lang.String

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setColorType(int value)

public void setColorType(int value)

Gets or sets the type of the color.

Value: The type of the color.

Parameters:

ParameterTypeDescription
valueint

setSwatchName(String value)

public void setSwatchName(String value)

Gets or sets the name of the swatch.

Value: The name of the swatch.

Parameters:

ParameterTypeDescription
valuejava.lang.String

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