TextComponent

The TextComponent class is the superclass of any component that allows the editing of some text.
TextComponent是任何允许文本的编辑的类的父类。
A text component embodies a string of text. The TextComponent class defines a set of methods that determine whether or not this text is editable. If the component is editable, it defines another set of methods that supports a text insertion caret.
一个文本组件实现了一个字符串的文本。TextComponent类定义了一组方法,确定是否这个文本是可编辑的。如果组件是可编辑的,它定义了一组方法,支持文本插入符号。
In addition, the class defines methods that are used to maintain a current selection from the text. The text selection, a substring of the component’s text, is the target of editing operations. It is also referred to as the selected text.

此外,类定义方法用于维持当前选择的文本。文本选择、组件的子字符串的文本,也是编辑操作的目标。也称为选中的文本。
这里写图片描述
这里写图片描述
这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值