Enum Direction
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทิศทาง
การแจกแจงแสดงเส้นทางที่เป็นไปได้ที่เลื่อนภายในสเปรดชีตได้โดยใช้ปุ่มลูกศร
หากต้องการเรียก enum คุณจะต้องเรียกคลาส ชื่อ และพร็อพเพอร์ตี้ระดับบนสุด เช่น
SpreadsheetApp.Direction.UP
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | Type | คำอธิบาย |
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. |"]]