แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > MarkerManager
คลาส MarkerManager
ชั้นเรียนสำหรับจัดการเครื่องหมายหลายตัวและเคอร์เซอร์บนพื้นที่ทำงาน
ลายเซ็น:
export declare class MarkerManager
ตัวสร้างสำหรับชั้นเรียนนี้มีการทำเครื่องหมายเป็นภายใน โค้ดของบุคคลที่สามไม่ควรเรียกใช้ตัวสร้างโดยตรงหรือสร้างคลาสย่อยที่ขยายคลาส MarkerManager
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ |
คีย์ตัวปรับแต่ง |
ประเภท |
คำอธิบาย |
LOCAL_MARKER |
static
readonly
|
(not declared) |
ชื่อเครื่องหมายท้องถิ่น |
เมธอด
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-16 UTC
[null,null,["อัปเดตล่าสุด 2024-10-16 UTC"],[[["The `MarkerManager` class manages multiple markers and the cursor on a Blockly workspace."],["It provides methods to register, unregister, and retrieve markers using unique IDs."],["The class includes a cursor, which can be set and retrieved for keyboard navigation."],["The `LOCAL_MARKER` property stores the name of the local marker."],["Third-party code should not directly instantiate or extend the `MarkerManager` class as its constructor is internal."]]],["The `MarkerManager` class manages multiple markers and a cursor on a workspace. It allows registration and unregistration of markers via `registerMarker` and `unregisterMarker`, respectively. It also provides `getMarker` to retrieve a specific marker by ID, `getCursor` to access the workspace's cursor, and `setCursor` to define and initialize the cursor for keyboard navigation. `LOCAL_MARKER` is a static property holding the local marker's name. Direct instantiation of this class is restricted.\n"]]