Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
блочный > BlockRendering > InputRow
Объект, содержащий информацию о строке, содержащей один или несколько входных данных.
Подпись:
export declare class InputRow extends Row
Расширяет: ряд
Конструкторы
Характеристики
Свойство | Модификаторы | Тип | Описание |
---|
ConnectedBlockWidths | | число | Общая ширина всех блоков, подключенных к этой строке. |
Методы
Метод | Модификаторы | Описание |
---|
EndWithElemSpacer() | | |
мера() | | Проверьте все подкомпоненты и заполните все свойства размера в строке. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-04 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-01-04 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"]]