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
Field | Description |
---|---|
EnumSeparatorCharArray | |
None | No color |
Preset0 | Can be mapped to “Red” color for Outlook(desktop client). |
Preset1 | Can be mapped to “Orange” color for Outlook(desktop client). |
Preset10 | Can be mapped to “Steel” color for Outlook(desktop client). |
Preset11 | Can be mapped to “DarkSteel” color for Outlook(desktop client). |
Preset12 | Can be mapped to “Gray” color for Outlook(desktop client). |
Preset13 | Can be mapped to “DarkGray” color for Outlook(desktop client). |
Preset14 | Can be mapped to “Black” color for Outlook(desktop client). |
Preset15 | Can be mapped to “DarkRed” color for Outlook(desktop client). |
Preset16 | Can be mapped to “DarkOrange” color for Outlook(desktop client). |
Preset17 | Can be mapped to “DarkBrown” color for Outlook(desktop client). |
Preset18 | Can be mapped to “DarkYellow” color for Outlook(desktop client). |
Preset19 | Can be mapped to “DarkGreen” color for Outlook(desktop client). |
Preset2 | Can be mapped to “Brown” color for Outlook(desktop client). |
Preset20 | Can be mapped to “DarkTeal” color for Outlook(desktop client). |
Preset21 | Can be mapped to “DarkOlive” color for Outlook(desktop client). |
Preset22 | Can be mapped to “DarkBlue” color for Outlook(desktop client). |
Preset23 | Can be mapped to “DarkPurple” color for Outlook(desktop client). |
Preset24 | Can be mapped to “DarkCranberry” color for Outlook(desktop client). |
Preset3 | Can be mapped to “Yellow” color for Outlook(desktop client). |
Preset4 | Can be mapped to “Green” color for Outlook(desktop client). |
Preset5 | Can be mapped to “Teal” color for Outlook(desktop client). |
Preset6 | Can be mapped to “Olive” color for Outlook(desktop client). |
Preset7 | Can be mapped to “Blue” color for Outlook(desktop client). |
Preset8 | Can be mapped to “Purple” color for Outlook(desktop client). |
Preset9 | Can be mapped to “Cranberry” color for Outlook(desktop client). |
Methods
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:
Parameter | Type | Description |
---|---|---|
arg0 | T |
CloneTo(System.Enum arg0)
public void CloneTo(System.Enum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
format(System.Type arg0, Object arg1, String arg2)
public static String format(System.Type arg0, Object arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object | |
arg2 | java.lang.String |
Returns: java.lang.String
format(Class arg0, long arg1, String arg2)
public static String format(Class<?> arg0, long arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long | |
arg2 | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.String
getName(Class arg0, long arg1)
public static String getName(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: java.lang.String
getNames(System.Type arg0)
public static String[] getNames(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: java.lang.String[]
getNames(Class arg0)
public static Collection<String> getNames(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.util.Collection<java.lang.String>
getUnderlyingType(System.Type arg0)
public static System.Type getUnderlyingType(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Type
getUnderlyingType(Class arg0)
public static Class<? extends Number> getUnderlyingType(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.lang.Class<? extends java.lang.Number>
getValue(Class arg0, String arg1)
public static long getValue(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: long
getValues(System.Type arg0)
public static System.Array getValues(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.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:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: boolean
isDefined(System.Type arg0, String arg1)
public static boolean isDefined(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: boolean
isDefined(System.Type arg0, long arg1)
public static boolean isDefined(System.Type arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | long |
Returns: boolean
isDefined(Class arg0, long arg1)
public static boolean isDefined(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
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:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: long
parse(System.Type arg0, String arg1, Boolean arg2)
public static long parse(System.Type arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
parse(Class arg0, String arg1)
public static long parse(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: long
parse(Class arg0, String arg1, Boolean arg2)
public static long parse(Class<?> arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
register(System.Enum.AbstractEnum arg0)
public static void register(System.Enum.AbstractEnum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum.AbstractEnum |
toObject(System.Type arg0, Object arg1)
public static Object toObject(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native 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 |