গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > মার্কার ম্যানেজার
মার্কার ম্যানেজার ক্লাস
একটি কর্মক্ষেত্রে একাধিক মার্কার এবং কার্সার পরিচালনা করার জন্য ক্লাস।
স্বাক্ষর:
export declare class MarkerManager
এই শ্রেণীর কনস্ট্রাক্টরকে অভ্যন্তরীণ হিসাবে চিহ্নিত করা হয়েছে। থার্ড-পার্টি কোড সরাসরি কনস্ট্রাক্টরকে কল করা বা MarkerManager
ক্লাস প্রসারিত করে এমন সাবক্লাস তৈরি করা উচিত নয়।
বৈশিষ্ট্য
সম্পত্তি | সংশোধক | টাইপ | বর্ণনা |
---|
LOCAL_MARKER | static readonly | (ঘোষিত নয়) | স্থানীয় চিহ্নিতকারীর নাম। |
পদ্ধতি
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-05 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-05 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"]]