調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
blockly > MarkerManager
MarkerManager クラス
ワークスペース上の複数のマーカーとカーソルを管理するクラス。
署名:
export declare class MarkerManager
このクラスのコンストラクタは内部としてマークされています。サードパーティのコードでは、コンストラクタを直接呼び出すことや、MarkerManager
クラスを拡張するサブクラスを作成しないでください。
プロパティ
プロパティ |
修飾子 |
タイプ |
説明 |
LOCAL_MARKER |
static
readonly
|
(宣言なし) |
ローカル マーカーの名前。 |
メソッド
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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"]]