סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > blockRendering > חלונית הזזה > positionStatementInputConnection_
ממקמים את החיבור בקלט של הצהרה תוך התחשבות ב-RTL ובפער הקטן בין בלוק ההורה לבלוק הצאצא שמאפשר לנתיב האפל של בלוק ההורה להופיע.
Signature:
protected positionStatementInputConnection_(row: Row): void;
פרמטרים
פרמטר |
סוג |
תיאור |
שורה |
שורה |
השורה שבה מתבצע החיבור. |
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-10-15 (שעון 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-10-15 (שעון UTC)."],[[["This method positions the connection point on a statement input, adjusting for right-to-left text and visual spacing between blocks."],["It specifically ensures the connection point is placed to allow the parent block's outline to be visible."],["This internal function takes a `Row` object as input, representing the row containing the connection being positioned."]]],["The `positionStatementInputConnection_()` method, part of the `blockRendering.Drawer` class, positions a connection on a statement input. This method considers Right-to-Left (RTL) layouts and a small gap between parent and child blocks, allowing the parent's dark path to be visible. It takes a `Row` object as a parameter, representing the row where the connection is located. The method does not return any value.\n"]]