تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
blockly > blockRendering > RenderInfo > addInput_
أضِف عنصر إدخال إلى الصف النشط إذا لزم الأمر، وسجِّل نوع الإدخال في الصف.
Signature:
protected addInput_(input: Input, activeRow: Row): void;
المعلمات
المعلمة |
النوع |
الوصف |
مصدر الإدخال |
الإدخال |
الإدخال المطلوب تسجيل معلومات عنه. |
activeRow |
الصف |
الصف الذي تتم تعبئته حاليًا. |
المرتجعات:
فراغ
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2024-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `addInput_` method is used within the Blockly block rendering process to manage the visual representation of block inputs."],["It specifically adds an input element to the current row being rendered and stores information about the input type."],["This method is crucial for correctly positioning and displaying inputs within a block's visual structure during rendering."]]],["The `addInput_()` method, part of `RenderInfo`, adds an input element to a row being actively built. It records the input's type on that row. This method accepts two parameters: the `Input` itself and the `Row` it's being added to. Its role is to populate a specified row with information regarding the provided input. The method does not return a value.\n"]]