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 Modifier and Type 方法 描述 AttributedCharacterIterator.Attribute[]
Font. getAvailableAttributes()
返回此Font
支持的所有属性的Font
。Method parameters in java.awt with type arguments of type AttributedCharacterIterator.Attribute Modifier and Type 方法 描述 Font
Font. deriveFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
通过复制当前的Font
对象并应用一组新的字体属性来创建一个新的Font
对象。static Font
Font. getFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
返回一个适合于属性的Font
。Constructor parameters in java.awt with type arguments of type AttributedCharacterIterator.Attribute Constructor 描述 Font(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
创建具有指定属性的新的Font
。 -
Uses of AttributedCharacterIterator.Attribute in java.awt.font
Subclasses of AttributedCharacterIterator.Attribute in java.awt.font Modifier and Type Class 描述 class
TextAttribute
TextAttribute
类定义用于文本呈现的属性键和属性值。Constructor parameters in java.awt.font with type arguments of type AttributedCharacterIterator.Attribute Constructor 描述 TextLayout(String string, Map<? extends AttributedCharacterIterator.Attribute,?> attributes, FontRenderContext frc)
从一个String
构造一个TextLayout
和一个属性集。 -
Uses of AttributedCharacterIterator.Attribute in java.awt.im
Methods in java.awt.im with parameters of type AttributedCharacterIterator.Attribute Modifier and Type 方法 描述 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 Modifier and Type Class 描述 static class
DateFormat.Field
定义了用于作为属性键常数AttributedCharacterIterator
从返回DateFormat.formatToCharacterIterator
和字段标识符在FieldPosition
。static class
Format.Field
定义了用于作为属性键常数AttributedCharacterIterator
从返回Format.formatToCharacterIterator
和字段标识符在FieldPosition
。static class
MessageFormat.Field
定义从MessageFormat.formatToCharacterIterator
返回的AttributedCharacterIterator
中用作属性键的MessageFormat.formatToCharacterIterator
。static class
NumberFormat.Field
定义了用于作为属性键常数AttributedCharacterIterator
从返回NumberFormat.formatToCharacterIterator
和字段标识符在FieldPosition
。Fields in java.text declared as AttributedCharacterIterator.Attribute Modifier and Type Field 描述 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 Modifier and Type 方法 描述 Set<AttributedCharacterIterator.Attribute>
AttributedCharacterIterator. getAllAttributeKeys()
返回在迭代器的文本范围上定义的所有属性的关键字。Map<AttributedCharacterIterator.Attribute,Object>
AttributedCharacterIterator. getAttributes()
返回当前字符中定义的属性的地图。Methods in java.text with parameters of type AttributedCharacterIterator.Attribute Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 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 Constructor 描述 AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
使用AttributedCharacterIterator表示的给定归因文本的子范围构造一个AttributedString实例。Constructor parameters in java.text with type arguments of type AttributedCharacterIterator.Attribute Constructor 描述 AttributedString(String text, Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
使用给定的文本和属性构造一个AttributedString实例。
-