Enum Direction
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
方向
矢印キーを使用してスプレッドシート内で移動できる方向を列挙する列挙型。
列挙型を呼び出すには、親クラス、名前、プロパティを呼び出します。たとえば、
SpreadsheetApp.Direction.UP
のようにします。
プロパティ
プロパティ | 種類 | 説明 |
UP | Enum | 行インデックスの減少方向。 |
DOWN | Enum | 行インデックスが増加する方向。 |
PREVIOUS | Enum | 列インデックスの減少方向。 |
NEXT | Enum | 列インデックスが増加する方向。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003e\u003ccode\u003eSpreadsheetApp.Direction\u003c/code\u003e is an enumeration used to define movement directions within a spreadsheet using arrow keys.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes four properties: \u003ccode\u003eUP\u003c/code\u003e, \u003ccode\u003eDOWN\u003c/code\u003e, \u003ccode\u003ePREVIOUS\u003c/code\u003e, and \u003ccode\u003eNEXT\u003c/code\u003e, representing movement across rows and columns.\u003c/p\u003e\n"],["\u003cp\u003eEach property corresponds to a specific direction based on the change in row or column indices (e.g., \u003ccode\u003eUP\u003c/code\u003e for decreasing row indices, \u003ccode\u003eNEXT\u003c/code\u003e for increasing column indices).\u003c/p\u003e\n"]]],[],null,["# Enum Direction\n\nDirection\n\nAn enumeration representing the possible directions that one can move within a spreadsheet using\nthe arrow keys.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.Direction.UP`. \n\n### Properties\n\n| Property | Type | Description |\n|------------|--------|---------------------------------------------|\n| `UP` | `Enum` | The direction of decreasing row indices. |\n| `DOWN` | `Enum` | The direction of increasing row indices. |\n| `PREVIOUS` | `Enum` | The direction of decreasing column indices. |\n| `NEXT` | `Enum` | The direction of increasing column indices. |"]]