จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > blockRendering > ConstantProvider > setDynamicProperties_
เมธอด blockRendering.ConstantProvider.setDynamicProperties_()
ตั้งค่าพร็อพเพอร์ตี้แบบไดนามิกที่ขึ้นอยู่กับค่าอื่นๆ หรือพร็อพเพอร์ตี้ธีม
ลายเซ็น:
protected setDynamicProperties_(theme: Theme): void;
พารามิเตอร์
| พารามิเตอร์ |
ประเภท |
คำอธิบาย |
| ธีม [theme] |
ธีม |
ธีมพื้นที่ทํางานปัจจุบัน |
การคืนสินค้า:
โมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],["The `setDynamicProperties_()` method within the `blockRendering.ConstantProvider` class updates dynamic properties based on other values or theme settings. It accepts a `Theme` object as a parameter, representing the current workspace theme, and modifies internal properties accordingly. The method does not return any value. This process ensures that the rendering constants adapt to changes in the theme.\n"]]