Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > blockRendering > InputRow
Ein Objekt mit Informationen zu einer Zeile, die eine oder mehrere Eingaben enthält.
Unterschrift:
export declare class InputRow extends Row
Erweitert: Zeile
Konstruktoren
Attribute
Attribut |
Modifikatoren |
Typ |
Beschreibung |
connectedBlockWidths |
|
Zahl |
Die Gesamtbreite aller Blöcke, die mit dieser Zeile verbunden sind. |
Methoden
Methode |
Modifikatoren |
Beschreibung |
endsWithElemSpacer() |
|
|
measure() |
|
Prüfen Sie alle Unterkomponenten und füllen Sie alle Größeneigenschaften für die Zeile aus. |
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-10-15 (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-10-15 (UTC)."],[[["The `blockRendering.InputRow` class, extending the `Row` class, stores information about a row containing one or more inputs in a Blockly block."],["It includes properties like `connectedBlockWidths`, representing the total width of connected blocks, and methods like `measure()` for size calculations and `endsWithElemSpacer()` for layout checks."],["This class is crucial for organizing and rendering input elements within Blockly blocks, ensuring proper alignment and visual representation."]]],["The `InputRow` class, extending `Row`, manages rows containing inputs within a block rendering system. It is constructed with constants and tracks the combined width of all connected blocks via the `connectedBlockWidths` property. Core actions include measuring the row's subcomponents to determine its overall size with the `measure()` method. Additionally it can check if a row ends with an element spacer using the method `endsWithElemSpacer()`.\n"]]