Enum EventColor
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
イベントの色カレンダー サービスで使用できる名前付きの予定の色を表す列挙型。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
CalendarApp.EventColor.PALE_BLUE
です。
プロパティ
プロパティ | タイプ | 説明 |
PALE_BLUE | Enum |
淡い青("1" )。カレンダーの UI では「ピーコック」と呼ばれます。 |
PALE_GREEN | Enum |
淡い緑("2" )。カレンダーの UI では「セージ」と呼ばれます。 |
MAUVE | Enum |
マーブ("3" ): カレンダーの UI では「グレープ」と呼ばれます。 |
PALE_RED | Enum |
淡い赤("4" )。カレンダー UI では「フラミンゴ」と呼ばれます。 |
YELLOW | Enum |
黄色("5" ): カレンダー UI では「バナナ」と呼ばれます。 |
ORANGE | Enum |
オレンジ("6" )。カレンダーの UI では「マンダリン」と呼ばれます。 |
CYAN | Enum |
シアン("7" )。カレンダーの UI では「ラベンダー」と呼ばれます。 |
GRAY | Enum |
グレー("8" )。カレンダーの UI では「グラファイト」と呼ばれます。 |
BLUE | Enum |
青("9" )。カレンダーの UI では「ブルーベリー」と呼ばれます。 |
GREEN | Enum |
緑("10" ): カレンダーの UI では「Basil」と呼ばれます。 |
RED | Enum |
赤("11" ): カレンダーの UI では「トマト」と呼ばれます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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. |"]]