Enum EventColor
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
EventColor
enum שמייצג את צבעים האירועים הנתונים שזמינים בשירות יומן Google.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
CalendarApp.EventColor.PALE_BLUE
.
מאפיינים
נכס | סוג | תיאור |
PALE_BLUE | Enum |
כחול בהיר ("1" ), שנקרא 'טווס' בממשק המשתמש של יומן Google. |
PALE_GREEN | Enum |
ירוק חיוור ("2" ), שנקרא 'סג' בממשק המשתמש של יומן Google. |
MAUVE | Enum |
סגול ("3" ), שנקרא 'ענבים' בממשק המשתמש של יומן Google. |
PALE_RED | Enum |
אדום בהיר ("4" ), שנקרא 'פלמינגו' בממשק המשתמש של יומן Google. |
YELLOW | Enum |
צהוב ("5" ), שנקרא 'בננה' בממשק המשתמש של יומן Google. |
ORANGE | Enum |
כתום ("6" ), שנקרא 'קלמנטינה' בממשק המשתמש של יומן Google. |
CYAN | Enum |
ציאן ("7" ), שנקרא 'לבנדר' בממשק המשתמש של יומן Google. |
GRAY | Enum |
אפור ("8" ), שנקרא 'גרפיט' בממשק המשתמש של יומן Google. |
BLUE | Enum |
כחול ("9" ), שנקרא 'דובדבן' בממשק המשתמש של יומן Google. |
GREEN | Enum |
ירוק ("10" ), שנקרא 'בזיל' בממשק המשתמש של יומן Google. |
RED | Enum |
אדום ("11" ), שנקרא 'עגבניה' בממשק המשתמש של יומן Google. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eEventColor\u003c/code\u003e is an enum used in Google Apps Script to represent the colors available for calendar events.\u003c/p\u003e\n"],["\u003cp\u003eYou can access these colors by calling \u003ccode\u003eCalendarApp.EventColor\u003c/code\u003e followed by the specific color property, like \u003ccode\u003eCalendarApp.EventColor.PALE_BLUE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eEventColor\u003c/code\u003e property corresponds to a specific color with both a numerical value and a user-friendly name displayed in the Calendar UI.\u003c/p\u003e\n"]]],[],null,["# Enum EventColor\n\nEventColor\n\nAn enum representing the named event colors available in the Calendar service.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCalendarApp.EventColor.PALE_BLUE`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|----------------------------------------------------------------|\n| `PALE_BLUE` | `Enum` | Pale Blue (`\"1\"`), referred to as \"Peacock\" in th Calendar UI. |\n| `PALE_GREEN` | `Enum` | Pale Green (`\"2\"`), referred to as \"Sage\" in th Calendar UI. |\n| `MAUVE` | `Enum` | Mauve (`\"3\"`),, referred to as \"Grape\" in th Calendar UI. |\n| `PALE_RED` | `Enum` | Pale Red (`\"4\"`), referred to as \"Flamingo\" in th Calendar UI. |\n| `YELLOW` | `Enum` | Yellow (`\"5\"`), referred to as \"Banana\" in th Calendar UI. |\n| `ORANGE` | `Enum` | Orange (`\"6\"`), referred to as \"Tangerine\" in th Calendar UI. |\n| `CYAN` | `Enum` | Cyan (`\"7\"`), referred to as \"Lavender\" in th Calendar UI. |\n| `GRAY` | `Enum` | Gray (`\"8\"`), referred to as \"Graphite\" in th Calendar UI. |\n| `BLUE` | `Enum` | Blue (`\"9\"`), referred to as \"Blueberry\" in th Calendar UI. |\n| `GREEN` | `Enum` | Green (`\"10\"`), referred to as \"Basil\" in th Calendar UI. |\n| `RED` | `Enum` | Red (`\"11\"`), referred to as \"Tomato\" in th Calendar UI. |"]]