Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > ToolboxSeparator > (konstruktor)
Tworzy nową instancję klasy ToolboxSeparator
Podpis:
constructor(separatorDef: toolbox.SeparatorInfo, toolbox: IToolbox);
Parametry
| Parametr |
Typ |
Opis |
| separatorDef |
toolbox.SeparatorInfo |
Informacje potrzebne do utworzenia separatora. |
| skrzynka narzędziowa |
IToolbox |
Nadrzędny zestaw narzędzi dla separatora. |
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: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `ToolboxSeparator` class constructor creates a new separator within a toolbox. It requires two parameters: `separatorDef`, which provides the necessary information to define the separator, and `toolbox`, representing the parent toolbox where the separator will be placed. This constructor's function is to instantiate a separator object, utilizing the provided definition and associating it with the specified toolbox.\n"]]