blockly > Block > setNextStatement
طريقة Block.setNextStatement()
حدِّد ما إذا كان بإمكان كتلة أخرى الربط بأسفل هذه الكتلة.
Signature:
setNextStatement(newBoolean: boolean, opt_check?: string | string[] | null): void;
المعلمات
المَعلمة |
النوع |
الوصف |
newBoolean |
قيمة منطقية |
صحيح إذا كان يمكن أن يكون هناك عبارة تالية. |
opt_check |
string | string[] | null |
(اختياري) نوع البيان أو قائمة بأنواع البيانات قيمة فارغة/غير محدّدة إذا كان يمكن ربط أي نوع. |
المرتجعات:
غير صالح
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-30 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-30 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `setNextStatement` method determines if another block can connect to the bottom of the current block."],["It accepts a boolean to enable/disable the connection and an optional parameter to specify allowed statement types for the connection."],["Calling this method does not return any value."]]],[]]