Uses of Class
java.text.AttributedCharacterIterator.Attribute
-
Packages that use AttributedCharacterIterator.Attribute 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.font 提供与字体相关的类和界面。java.awt.im 为输入方法框架提供类和接口。java.text 提供用于以独立于自然语言的方式处理文本,日期,数字和消息的类和接口。 -
-
Uses of AttributedCharacterIterator.Attribute in java.awt
Methods in java.awt that return AttributedCharacterIterator.Attribute 变量和类型 方法 描述 AttributedCharacterIterator.Attribute[]
Font. getAvailableAttributes()
返回此Font
支持的所有属性的键。Method parameters in java.awt with type arguments of type AttributedCharacterIterator.Attribute 变量和类型 方法 描述 Font
Font. deriveFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
通过复制当前的Font
对象并Font
应用一组新的字体属性来创建新的Font
对象。static Font
Font. getFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
返回适合于属性的Font
。Constructor parameters in java.awt with type arguments of type AttributedCharacterIterator.Attribute 构造器 描述 Font(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
创建具有指定属性的新Font
。 -
Uses of AttributedCharacterIterator.Attribute in java.awt.font
Subclasses of AttributedCharacterIterator.Attribute in java.awt.font 变量和类型 类 描述 class
TextAttribute
TextAttribute
类定义用于文本呈现的属性键和属性值。Constructor parameters in java.awt.font with type arguments of type AttributedCharacterIterator.Attribute 构造器 描述 TextLayout(String string, Map<? extends AttributedCharacterIterator.Attribute,?> attributes, FontRenderContext frc)
构造一个TextLayout
从String
,并设置一个属性。 -
Uses of AttributedCharacterIterator.Attribute in java.awt.im
Methods in java.awt.im with parameters of type AttributedCharacterIterator.Attribute 变量和类型 方法 描述 AttributedCharacterIterator
InputMethodRequests. cancelLatestCommittedText(AttributedCharacterIterator.Attribute[] attributes)
从文本编辑组件获取最新提交的文本,并将其从组件的文本正文中删除。AttributedCharacterIterator
InputMethodRequests. getCommittedText(int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
获取一个迭代器,提供对文本编辑组件中包含的整个文本和属性的访问权限,但未提交的文本除外。AttributedCharacterIterator
InputMethodRequests. getSelectedText(AttributedCharacterIterator.Attribute[] attributes)
从文本编辑组件中获取当前选定的文本。 -
Uses of AttributedCharacterIterator.Attribute in java.text
Subclasses of AttributedCharacterIterator.Attribute in java.text 变量和类型 类 描述 static class
DateFormat.Field
定义了用于作为属性键常数AttributedCharacterIterator
从返回DateFormat.formatToCharacterIterator
和字段标识符在FieldPosition
。static class
Format.Field
定义了用于作为属性键常数AttributedCharacterIterator
从返回Format.formatToCharacterIterator
和字段标识符在FieldPosition
。static class
MessageFormat.Field
定义在AttributedCharacterIterator
返回的AttributedCharacterIterator
中用作属性键的MessageFormat.formatToCharacterIterator
。static class
NumberFormat.Field
定义了用于作为属性键常数AttributedCharacterIterator
从返回NumberFormat.formatToCharacterIterator
和字段标识符在FieldPosition
。Fields in java.text declared as AttributedCharacterIterator.Attribute 变量和类型 字段 描述 static AttributedCharacterIterator.Attribute
AttributedCharacterIterator.Attribute. INPUT_METHOD_SEGMENT
输入法段的属性键。static AttributedCharacterIterator.Attribute
AttributedCharacterIterator.Attribute. LANGUAGE
某些文本语言的属性键。static AttributedCharacterIterator.Attribute
AttributedCharacterIterator.Attribute. READING
用于读取某些文本的属性键。Methods in java.text that return types with arguments of type AttributedCharacterIterator.Attribute 变量和类型 方法 描述 Set<AttributedCharacterIterator.Attribute>
AttributedCharacterIterator. getAllAttributeKeys()
返回迭代器文本范围中定义的所有属性的键。Map<AttributedCharacterIterator.Attribute,Object>
AttributedCharacterIterator. getAttributes()
返回具有在当前字符上定义的属性的映射。Methods in java.text with parameters of type AttributedCharacterIterator.Attribute 变量和类型 方法 描述 void
AttributedString. addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)
向整个字符串添加属性。void
AttributedString. addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex)
将属性添加到字符串的子范围。Object
AttributedCharacterIterator. getAttribute(AttributedCharacterIterator.Attribute attribute)
返回当前字符的指定值attribute
。AttributedCharacterIterator
AttributedString. getIterator(AttributedCharacterIterator.Attribute[] attributes)
创建一个AttributedCharacterIterator实例,该实例提供对此字符串的选定内容的访问。AttributedCharacterIterator
AttributedString. getIterator(AttributedCharacterIterator.Attribute[] attributes, int beginIndex, int endIndex)
创建一个AttributedCharacterIterator实例,该实例提供对此字符串的选定内容的访问。int
AttributedCharacterIterator. getRunLimit(AttributedCharacterIterator.Attribute attribute)
返回相对于包含当前字符的给定attribute
的运行后的第一个字符的索引。int
AttributedCharacterIterator. getRunStart(AttributedCharacterIterator.Attribute attribute)
返回相对于包含当前字符的给定attribute
的运行的第一个字符的索引。Method parameters in java.text with type arguments of type AttributedCharacterIterator.Attribute 变量和类型 方法 描述 void
AttributedString. addAttributes(Map<? extends AttributedCharacterIterator.Attribute,?> attributes, int beginIndex, int endIndex)
将一组属性添加到字符串的子范围。int
AttributedCharacterIterator. getRunLimit(Set<? extends AttributedCharacterIterator.Attribute> attributes)
返回相对于包含当前字符的给定attributes
的运行后的第一个字符的索引。int
AttributedCharacterIterator. getRunStart(Set<? extends AttributedCharacterIterator.Attribute> attributes)
返回相对于包含当前字符的给定attributes
的运行的第一个字符的索引。Constructors in java.text with parameters of type AttributedCharacterIterator.Attribute 构造器 描述 AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
构造一个AttributedString实例,其中包含由AttributedCharacterIterator表示的给定属性文本的子范围。Constructor parameters in java.text with type arguments of type AttributedCharacterIterator.Attribute 构造器 描述 AttributedString(String text, Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
使用给定的文本和属性构造一个AttributedString实例。
-