# 术语表

> CrossFly 特有的术语以及 2026 现代化改造的重命名字典。

Source: https://crossfly.dev/zh/docs/reference/glossary — CrossFly documentation. Full docs as one file: https://crossfly.dev/llms-full.txt

# 术语表

术语的规范来源是**第 35 章 — 术语表**。下面列出了
最常查阅的术语和 **2026 重命名**对照表（阅读旧材料时必备）。

## 核心术语
| 术语 | 简短含义 |
|---|---|
| **Component** | UI 的基本单元；万物皆由它派生（[概念](/docs/concepts/everything-is-a-component)） |
| **paint thread** | 所有 UI 和渲染发生的唯一线程（[概念](/docs/concepts/the-paint-thread)） |
| **按需渲染** | 只有在调用 `repaint()` 时屏幕才会重绘 |
| **Relative** | 相对尺寸（字体/屏幕/容器）——响应式的基础 |
| **Gap** | 间距；`ingap` = 内部 padding，`outgap` = 外部 margin |
| **Skin** | 形状/结构的工厂（Material/iOS/Flutter） |
| **Theme / ColorScheme** | 按浅色/深色模式划分的语义色彩角色 |
| **Styles** | 全局样式字段 + `Skin` 的委托 |
| **UIConstants** | 枚举/常量/共享类型的中枢 |
| **Window** | 导航栈中的全屏 `Component` |
| **Action** | 交互回调（`run(Component)`） |

## ⚠️ 重命名与移除 — 2026 现代化改造
阅读旧文档/代码时，请这样转换：
| 旧 | 现 |
|---|---|
| `Settings`（配置/持久化） | `Device` / `DeviceConfig` / `LocaleFormats` / `Screen` |
| `Settings.appSettings`（轻量持久化） | **已移除** → SQLite 或文件（[指南](/docs/data-and-services/files-and-preferences)） |
| `Toast` / `ToolTip` | `Hint` |
| `Rect` | `Rectangle` |
| `dev.crossfly.sql`（JDBC） | `dev.crossfly.sqlite`（原生 + 加密） |
| `phone`（包） | `device` |
| `Color`（类） | `int` ARGB + `ColorUtils` / `UIConstants` |
| `anim` / `item`（包） | `animation` / `listitem` |
| `Sound` / `RadioState` | 被 `Device` 吸收 |
| Bluetooth JSR-82/SPP | BLE/GATT（`BluetoothManager`） |
| `Tree`、`Grid`、`PDF`、`ESC/POS`、`barcode`、`printer` | **已移除** |
