Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > Drawer > drawStatementInput_
Add steps for a statement input.
Signature:
protected drawStatementInput_(row: Row): void;
Parameters
Parameter |
Type |
Description |
row |
Row |
The row that this input belongs to. |
Returns:
void
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eblockRendering.Drawer.drawStatementInput_()\u003c/code\u003e method is used to visually represent a statement input within a Blockly block.\u003c/p\u003e\n"],["\u003cp\u003eThis method takes a \u003ccode\u003eRow\u003c/code\u003e object as input, which represents the row within the block where the statement input is located.\u003c/p\u003e\n"],["\u003cp\u003eIt focuses on adding the necessary visual elements for the statement input, contributing to the overall rendering of the block.\u003c/p\u003e\n"],["\u003cp\u003eThe method is designated as \u003ccode\u003eprotected\u003c/code\u003e, indicating its intended use within the \u003ccode\u003eblockRendering.Drawer\u003c/code\u003e class or its subclasses.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [blockRendering](./blockly.blockrendering_namespace.md) \\\u003e [Drawer](./blockly.blockrendering_namespace.drawer_class.md) \\\u003e [drawStatementInput_](./blockly.blockrendering_namespace.drawer_class.drawstatementinput__1_method.md)\n\nblockRendering.Drawer.drawStatementInput_() method\n--------------------------------------------------\n\nAdd steps for a statement input.\n\n**Signature:** \n\n protected drawStatementInput_(row: Row): void;\n\nParameters\n----------\n\n| Parameter | Type | Description |\n|-----------|--------------------------------------------------------|-------------------------------------|\n| row | [Row](./blockly.blockrendering_namespace.row_class.md) | The row that this input belongs to. |\n\n**Returns:**\n\nvoid"]]