Enum Direction
Stay organized with collections
Save and categorize content based on your preferences.
Direction
An enumeration representing the possible directions that one can move within a spreadsheet using
the arrow keys.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.Direction.UP
.
Properties
Property | Type | Description |
UP | Enum | The direction of decreasing row indices. |
DOWN | Enum | The direction of increasing row indices. |
PREVIOUS | Enum | The direction of decreasing column indices. |
NEXT | Enum | The direction of increasing column indices. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 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. |"]]