blockly > MarkerManager > setCursor
Metoda MarkerManager.setCursor()
Ustawia kursor i inicjalizuje szufladę do użycia z nawigacją za pomocą klawiatury.
Podpis:
setCursor(cursor: Cursor): void;
Parametry
Parametr |
Typ |
Opis |
kursor |
Kursor |
Kursor służący do poruszania się po tym obszarze roboczym. |
Zwroty:
nieważne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-30 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-30 UTC."],[[["The `setCursor` method is used to set the cursor for keyboard navigation within the Blockly workspace."],["It initializes the drawer and accepts a `Cursor` object as its parameter to define the cursor's behavior."],["This method does not return any value (void)."]]],["The `setCursor()` method within the `MarkerManager` class sets a specified `Cursor` object. This action prepares the drawer for keyboard navigation. The method accepts one parameter, `cursor`, of type `Cursor`, which dictates how navigation will occur within the workspace. The method returns no value.\n"]]