Stay organized with collections
Save and categorize content based on your preferences.
blockly > bubbles
bubbles namespace
Classes
Class |
Description |
MiniWorkspaceBubble |
A bubble that contains a mini-workspace which can hold arbitrary blocks. Used by the mutator icon. |
TextBubble |
A bubble that displays non-editable text. Used by the warning icon. |
TextInputBubble |
A bubble that displays editable text. It can also be resized by the user. Used by the comment icon. |
Abstract Classes
Abstract Class |
Description |
Bubble |
The abstract pop-up bubble class. This creates a UI that looks like a speech bubble, where it has a "tail" that points to the block, and a "head" that displays arbitrary svg elements. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `bubbles` namespace in Blockly provides classes for creating UI elements like speech bubbles and text inputs that interact with blocks."],["It includes classes for mini-workspaces, non-editable text displays, and editable text inputs."],["All bubble types inherit from the abstract `Bubble` class, which defines the basic structure and appearance of a bubble with a tail and head."],["These bubbles are used for features like mutator icons, warning icons, and comment icons in Blockly."]]],["The content describes four classes related to bubbles within a system, likely for a visual programming environment. These include `MiniWorkspaceBubble`, which holds blocks, `TextBubble`, for non-editable text, and `TextInputBubble`, for editable and resizable text. The `Bubble` class serves as an abstract base for creating speech-bubble-like UIs with a tail pointing to a block and a head displaying content.\n"]]