Enum Direction
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כיוון
ספירה שמייצגת את הכיוונים האפשריים שאפשר להעביר בגיליון אלקטרוני באמצעות מקשי החיצים.
כדי לקרוא לטיפוסים בני מנייה (enum), צריך לקרוא למחלקה, לשם ולנכס ההורה שלהם. לדוגמה,
SpreadsheetApp.Direction.UP
.
תכונות
נכס | תיאור | התיאור |
UP | Enum | הכיוון של הקטנת אינדקס השורות. |
DOWN | Enum | הכיוון של הגדלת אינדקס השורות. |
PREVIOUS | Enum | הכיוון של ירידה באינדקס העמודות. |
NEXT | Enum | הכיוון של הגדלת אינדקסי העמודות. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון 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\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. |"]]