blockly > MarkerManager
کلاس MarkerManager
کلاس برای مدیریت نشانگرهای متعدد و مکان نما در یک فضای کاری.
امضا:
export declare class MarkerManager
سازنده این کلاس به عنوان داخلی علامت گذاری شده است. کد شخص ثالث نباید سازنده را مستقیماً فراخوانی کند یا زیر کلاس هایی ایجاد کند که کلاس MarkerManager
را گسترش دهد.
خواص
اموال | اصلاح کننده ها | تایپ کنید | توضیحات |
---|
LOCAL_MARKER | static readonly | (اعلام نشده) | نام نشانگر محلی. |
روش ها
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-05 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-05 بهوقت ساعت هماهنگ جهانی."],[[["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"]]