CategoryPreset

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class CategoryPreset extends System.Enum

A pre-set color enumeration that characterizes a categories, and that is mapped to one of 25 predefined colors. Note The possible values for color are pre-set constants such as None, preset0 and preset1. Each pre-set constant is further mapped to a color; the actual color is dependent on the Outlook client that the categories are being displayed in.

Fields

FieldDescription
EnumSeparatorCharArray
NoneNo color
Preset0Can be mapped to “Red” color for Outlook(desktop client).
Preset1Can be mapped to “Orange” color for Outlook(desktop client).
Preset10Can be mapped to “Steel” color for Outlook(desktop client).
Preset11Can be mapped to “DarkSteel” color for Outlook(desktop client).
Preset12Can be mapped to “Gray” color for Outlook(desktop client).
Preset13Can be mapped to “DarkGray” color for Outlook(desktop client).
Preset14Can be mapped to “Black” color for Outlook(desktop client).
Preset15Can be mapped to “DarkRed” color for Outlook(desktop client).
Preset16Can be mapped to “DarkOrange” color for Outlook(desktop client).
Preset17Can be mapped to “DarkBrown” color for Outlook(desktop client).
Preset18Can be mapped to “DarkYellow” color for Outlook(desktop client).
Preset19Can be mapped to “DarkGreen” color for Outlook(desktop client).
Preset2Can be mapped to “Brown” color for Outlook(desktop client).
Preset20Can be mapped to “DarkTeal” color for Outlook(desktop client).
Preset21Can be mapped to “DarkOlive” color for Outlook(desktop client).
Preset22Can be mapped to “DarkBlue” color for Outlook(desktop client).
Preset23Can be mapped to “DarkPurple” color for Outlook(desktop client).
Preset24Can be mapped to “DarkCranberry” color for Outlook(desktop client).
Preset3Can be mapped to “Yellow” color for Outlook(desktop client).
Preset4Can be mapped to “Green” color for Outlook(desktop client).
Preset5Can be mapped to “Teal” color for Outlook(desktop client).
Preset6Can be mapped to “Olive” color for Outlook(desktop client).
Preset7Can be mapped to “Blue” color for Outlook(desktop client).
Preset8Can be mapped to “Purple” color for Outlook(desktop client).
Preset9Can be mapped to “Cranberry” color for Outlook(desktop client).

Methods

MethodDescription
Clone()
CloneTo(T arg0)
CloneTo(System.Enum arg0)
equals(Object arg0)
format(System.Type arg0, Object arg1, String arg2)
format(Class arg0, long arg1, String arg2)
getClass()
getName(System.Type arg0, Object arg1)
getName(Class arg0, long arg1)
getNames(System.Type arg0)
getNames(Class arg0)
getUnderlyingType(System.Type arg0)
getUnderlyingType(Class arg0)
getValue(Class arg0, String arg1)
getValues(System.Type arg0)
get_Caption()
get_Value()
hashCode()
isDefined(System.Type arg0, Object arg1)
isDefined(System.Type arg0, String arg1)
isDefined(System.Type arg0, long arg1)
isDefined(Class arg0, long arg1)
notify()
notifyAll()
parse(System.Type arg0, String arg1)
parse(System.Type arg0, String arg1, Boolean arg2)
parse(Class arg0, String arg1)
parse(Class arg0, String arg1, Boolean arg2)
register(System.Enum.AbstractEnum arg0)
toObject(System.Type arg0, Object arg1)
toString()
toString(Class arg0, long arg1)
wait()
wait(long arg0)
wait(long arg0, int arg1)

EnumSeparatorCharArray

public static final char[] EnumSeparatorCharArray

None

public static final int None

No color

Preset0

public static final int Preset0

Can be mapped to “Red” color for Outlook(desktop client).

Preset1

public static final int Preset1

Can be mapped to “Orange” color for Outlook(desktop client).

Preset10

public static final int Preset10

Can be mapped to “Steel” color for Outlook(desktop client).

Preset11

public static final int Preset11

Can be mapped to “DarkSteel” color for Outlook(desktop client).

Preset12

public static final int Preset12

Can be mapped to “Gray” color for Outlook(desktop client).

Preset13

public static final int Preset13

Can be mapped to “DarkGray” color for Outlook(desktop client).

Preset14

public static final int Preset14

Can be mapped to “Black” color for Outlook(desktop client).

Preset15

public static final int Preset15

Can be mapped to “DarkRed” color for Outlook(desktop client).

Preset16

public static final int Preset16

Can be mapped to “DarkOrange” color for Outlook(desktop client).

Preset17

public static final int Preset17

Can be mapped to “DarkBrown” color for Outlook(desktop client).

Preset18

public static final int Preset18

Can be mapped to “DarkYellow” color for Outlook(desktop client).

Preset19

public static final int Preset19

Can be mapped to “DarkGreen” color for Outlook(desktop client).

Preset2

public static final int Preset2

Can be mapped to “Brown” color for Outlook(desktop client).

Preset20

public static final int Preset20

Can be mapped to “DarkTeal” color for Outlook(desktop client).

Preset21

public static final int Preset21

Can be mapped to “DarkOlive” color for Outlook(desktop client).

Preset22

public static final int Preset22

Can be mapped to “DarkBlue” color for Outlook(desktop client).

Preset23

public static final int Preset23

Can be mapped to “DarkPurple” color for Outlook(desktop client).

Preset24

public static final int Preset24

Can be mapped to “DarkCranberry” color for Outlook(desktop client).

Preset3

public static final int Preset3

Can be mapped to “Yellow” color for Outlook(desktop client).

Preset4

public static final int Preset4

Can be mapped to “Green” color for Outlook(desktop client).

Preset5

public static final int Preset5

Can be mapped to “Teal” color for Outlook(desktop client).

Preset6

public static final int Preset6

Can be mapped to “Olive” color for Outlook(desktop client).

Preset7

public static final int Preset7

Can be mapped to “Blue” color for Outlook(desktop client).

Preset8

public static final int Preset8

Can be mapped to “Purple” color for Outlook(desktop client).

Preset9

public static final int Preset9

Can be mapped to “Cranberry” color for Outlook(desktop client).

Clone()

public System.Enum Clone()

Returns: com.aspose.ms.System.Enum

CloneTo(T arg0)

public abstract void CloneTo(T arg0)

Parameters:

ParameterTypeDescription
arg0T

CloneTo(System.Enum arg0)

public void CloneTo(System.Enum arg0)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Enum

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

format(System.Type arg0, Object arg1, String arg2)

public static String format(System.Type arg0, Object arg1, String arg2)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.Object
arg2java.lang.String

Returns: java.lang.String

format(Class arg0, long arg1, String arg2)

public static String format(Class<?> arg0, long arg1, String arg2)

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1long
arg2java.lang.String

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName(System.Type arg0, Object arg1)

public static String getName(System.Type arg0, Object arg1)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.Object

Returns: java.lang.String

getName(Class arg0, long arg1)

public static String getName(Class<?> arg0, long arg1)

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1long

Returns: java.lang.String

getNames(System.Type arg0)

public static String[] getNames(System.Type arg0)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type

Returns: java.lang.String[]

getNames(Class arg0)

public static Collection<String> getNames(Class<?> arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Class

Returns: java.util.Collection<java.lang.String>

getUnderlyingType(System.Type arg0)

public static System.Type getUnderlyingType(System.Type arg0)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type

Returns: com.aspose.ms.System.Type

getUnderlyingType(Class arg0)

public static Class<? extends Number> getUnderlyingType(Class<?> arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Class

Returns: java.lang.Class<? extends java.lang.Number>

getValue(Class arg0, String arg1)

public static long getValue(Class<?> arg0, String arg1)

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1java.lang.String

Returns: long

getValues(System.Type arg0)

public static System.Array getValues(System.Type arg0)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type

Returns: com.aspose.ms.System.Array

get_Caption()

public String get_Caption()

Returns: java.lang.String

get_Value()

public long get_Value()

Returns: long

hashCode()

public native int hashCode()

Returns: int

isDefined(System.Type arg0, Object arg1)

public static boolean isDefined(System.Type arg0, Object arg1)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.Object

Returns: boolean

isDefined(System.Type arg0, String arg1)

public static boolean isDefined(System.Type arg0, String arg1)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.String

Returns: boolean

isDefined(System.Type arg0, long arg1)

public static boolean isDefined(System.Type arg0, long arg1)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1long

Returns: boolean

isDefined(Class arg0, long arg1)

public static boolean isDefined(Class<?> arg0, long arg1)

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1long

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

parse(System.Type arg0, String arg1)

public static long parse(System.Type arg0, String arg1)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.String

Returns: long

parse(System.Type arg0, String arg1, Boolean arg2)

public static long parse(System.Type arg0, String arg1, Boolean arg2)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.String
arg2java.lang.Boolean

Returns: long

parse(Class arg0, String arg1)

public static long parse(Class<?> arg0, String arg1)

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1java.lang.String

Returns: long

parse(Class arg0, String arg1, Boolean arg2)

public static long parse(Class<?> arg0, String arg1, Boolean arg2)

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1java.lang.String
arg2java.lang.Boolean

Returns: long

register(System.Enum.AbstractEnum arg0)

public static void register(System.Enum.AbstractEnum arg0)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Enum.AbstractEnum

toObject(System.Type arg0, Object arg1)

public static Object toObject(System.Type arg0, Object arg1)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.Object

Returns: java.lang.Object

toString()

public String toString()

Returns: java.lang.String

toString(Class arg0, long arg1)

public static String toString(Class<?> arg0, long arg1)

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1long

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