KnownColors

Inheritance: java.lang.Object

public final class KnownColors

Methods

MethodDescription
equals(Object arg0)
findColorMatch(Color c)Should be reviewed simultaneously with ColorConverter.staticConvertFromString
fromKnownColor(int kc)
getClass()
getName(int kc)
getName(short kc)
getValues()
hashCode()
isHeadless()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

findColorMatch(Color c)

public static Color findColorMatch(Color c)

Should be reviewed simultaneously with ColorConverter.staticConvertFromString

Parameters:

ParameterTypeDescription
cColor

Returns: Color -

fromKnownColor(int kc)

public static Color fromKnownColor(int kc)

Parameters:

ParameterTypeDescription
kcint

Returns: Color

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName(int kc)

public static String getName(int kc)

Parameters:

ParameterTypeDescription
kcint

Returns: java.lang.String

getName(short kc)

public static String getName(short kc)

Parameters:

ParameterTypeDescription
kcshort

Returns: java.lang.String

getValues()

public static Color[] getValues()

Returns: com.aspose.email.Color[]

hashCode()

public native int hashCode()

Returns: int

isHeadless()

public static boolean isHeadless()

Returns: boolean

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 native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int