blockly > MarkerManager
فئة MarkerManager
صف لإدارة العلامات المتعددة والمؤشر على مساحة العمل.
Signature:
export declare class MarkerManager
يتم تحديد الدالة الإنشائية لهذه الفئة على أنها داخلية. يجب ألّا يستدعي الرمز البرمجي التابع لجهة خارجية أسلوب الإنشاء مباشرةً أو ينشئ فئات فرعية تُنشئ فئة MarkerManager
.
أماكن إقامة
الموقع |
مفاتيح التعديل |
النوع |
الوصف |
LOCAL_MARKER |
static
readonly
|
(لم يتم الإفصاح عنها) |
اسم العلامة المحلية. |
الطُرق
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-10-16 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-10-16 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]