แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > FlyoutMetricsManager
คลาส FlyoutMetricsManager
คำนวณเมตริกสำหรับพื้นที่ทำงานของฟลายเอาต์ เมตริกจะนำมาใช้เพื่อวัดขนาดของแถบเลื่อนสำหรับฟลายเอาต์เป็นหลัก
ลายเซ็น:
export declare class FlyoutMetricsManager extends MetricsManager
ขยาย: MetricsManager
ผู้ผลิต
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ |
คีย์ตัวปรับแต่ง |
ประเภท |
คำอธิบาย |
flyout_ |
protected |
IFlyout |
เลย์เอาต์ที่เป็นเจ้าของพื้นที่ทำงานเพื่อคำนวณเมตริก |
เมธอด
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-20 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"]],["อัปเดตล่าสุด 2024-09-20 UTC"],[[["The `FlyoutMetricsManager` class calculates and manages the metrics of a flyout's workspace, primarily used for sizing its scrollbars."],["It extends the `MetricsManager` class and is specifically designed for flyouts, storing a reference to its associated flyout."],["This class provides methods to retrieve content and scroll metrics based on workspace coordinates and optional view/content metrics."],["These metrics, like content size and scroll position, enable the flyout to dynamically adjust its scrollbars for optimal user experience."]]],["The `FlyoutMetricsManager` class, extending `MetricsManager`, calculates metrics for a flyout's workspace, primarily for sizing scrollbars. It has a constructor that takes a workspace and flyout. The class contains a `flyout_` property, representing the owning flyout. Its methods, `getContentMetrics` and `getScrollMetrics`, are used to calculate content and scroll metrics respectively, potentially considering workspace coordinates, view metrics, and content metrics.\n"]]