रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > FlyoutMetricsManager
FlyoutMetricsManager क्लास
फ़्लायआउट के फ़ाइल फ़ोल्डर के लिए मेट्रिक की गणना करता है. मेट्रिक का इस्तेमाल मुख्य रूप से फ़्लायआउट के लिए स्क्रोलबार को साइज़ देने के लिए किया जाता है.
हस्ताक्षर:
export declare class FlyoutMetricsManager extends MetricsManager
एक्सटेंडेड: MetricsManager
कंस्ट्रक्टर
प्रॉपर्टी
प्रॉपर्टी |
मॉडिफ़ायर |
टाइप |
ब्यौरा |
flyout_ |
protected |
IFlyout |
वह फ़्लाइआउट जिसके लिए वर्कस्पेस का मालिकाना हक है, ताकि वह मेट्रिक कैलकुलेट की जा सके. |
तरीके
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]