Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Feld > sourceBlock_
Property „Field.sourceBlock_“
Blockieren, mit dem dieses Feld verknüpft ist Beginnt mit null und wird dann init festgelegt.
Unterschrift:
protected sourceBlock_: Block | null;
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-22 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-08-22 (UTC)."],[[["`sourceBlock_` is a property of the `Field` class in Blockly that stores a reference to the block the field is attached to."],["Initially `null`, it's assigned during the field's initialization (`init`) and holds the parent block instance."],["This property provides a way for the field to interact with its associated block."]]],["The `sourceBlock_` property, found within the `Field` class, represents the block to which a field is connected. Initially, it is set to `null`. During the initialization process, this property is then assigned to the corresponding `Block` instance. It is a protected property, meaning it can be accessed within the class and subclasses, and its type is either a `Block` or `null`.\n"]]