با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > draging > BubbleDragStrategy
کشیدن. کلاس BubbleDragStrategy
امضا:
export declare class BubbleDragStrategy implements IDragStrategy
پیاده سازی: IDragStrategy
سازندگان
روش ها
،
blockly > draging > BubbleDragStrategy
کشیدن. کلاس BubbleDragStrategy
امضا:
export declare class BubbleDragStrategy implements IDragStrategy
پیاده سازی: IDragStrategy
سازندگان
روش ها
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[],["The `BubbleDragStrategy` class, implementing `IDragStrategy`, manages the dragging behavior of a bubble within a workspace. It is constructed with a bubble and workspace. Key actions include: `drag(newLoc)` to move the bubble, `endDrag()` to finalize the drag, `startDrag()` to initiate it, `revertDrag()` to undo changes, and `isMovable()` to determine if the bubble can be moved. These methods provide the core functionality for interacting and manipulating a bubble element during a drag operation.\n"]]