Uses of Interface
java.text.AttributedCharacterIterator
-
Packages that use AttributedCharacterIterator 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.event 提供用于处理AWT组件触发的不同类型事件的接口和类。java.awt.font 提供与字体相关的类和界面。java.awt.im 为输入方法框架提供类和接口。java.awt.im.spi 提供可用于开发可与任何Java运行时环境一起使用的输入方法的接口。java.text 提供用于以独立于自然语言的方式处理文本,日期,数字和消息的类和接口。javax.swing 提供一组“轻量级”(全Java语言)组件,这些组件在所有平台上尽可能地工作。 -
-
Uses of AttributedCharacterIterator in java.awt
Methods in java.awt with parameters of type AttributedCharacterIterator 变量和类型 方法 描述 abstract void
Graphics. drawString(AttributedCharacterIterator iterator, int x, int y)
根据TextAttribute
类的规范,呈现指定迭代器的文本,并应用其属性。abstract void
Graphics2D. drawString(AttributedCharacterIterator iterator, float x, float y)
根据TextAttribute
类的规范,呈现指定迭代器的文本,并应用其属性。abstract void
Graphics2D. drawString(AttributedCharacterIterator iterator, int x, int y)
根据TextAttribute
类的规范,呈现指定迭代器的文本,并应用其属性。 -
Uses of AttributedCharacterIterator in java.awt.event
Methods in java.awt.event that return AttributedCharacterIterator 变量和类型 方法 描述 AttributedCharacterIterator
InputMethodEvent. getText()
获取组合的已提交和组合文本。Constructors in java.awt.event with parameters of type AttributedCharacterIterator 构造器 描述 InputMethodEvent(Component source, int id, long when, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
使用指定的源组件,类型,时间,文本,插入符号和InputMethodEvent
构造InputMethodEvent
。InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
使用指定的源组件,类型,文本,插入符号和InputMethodEvent
构造一个InputMethodEvent
。 -
Uses of AttributedCharacterIterator in java.awt.font
Methods in java.awt.font with parameters of type AttributedCharacterIterator 变量和类型 方法 描述 void
LineBreakMeasurer. deleteChar(AttributedCharacterIterator newParagraph, int deletePos)
从文本中删除单个字符后更新此LineBreakMeasurer
,并将当前位置设置为段落的开头。void
TextMeasurer. deleteChar(AttributedCharacterIterator newParagraph, int deletePos)
更新TextMeasurer
后一个字符已经从当前由此表示的段落中删除TextMeasurer
。void
LineBreakMeasurer. insertChar(AttributedCharacterIterator newParagraph, int insertPos)
在将单个字符插入文本后更新此LineBreakMeasurer
,并将当前位置设置为段落的开头。void
TextMeasurer. insertChar(AttributedCharacterIterator newParagraph, int insertPos)
更新TextMeasurer
单个字符已经被插入到当前这个表示的段落后TextMeasurer
。Constructors in java.awt.font with parameters of type AttributedCharacterIterator 构造器 描述 LineBreakMeasurer(AttributedCharacterIterator text, FontRenderContext frc)
为指定的文本构造一个LineBreakMeasurer
。LineBreakMeasurer(AttributedCharacterIterator text, BreakIterator breakIter, FontRenderContext frc)
为指定的文本构造一个LineBreakMeasurer
。TextLayout(AttributedCharacterIterator text, FontRenderContext frc)
从样式文本的迭代器构造一个TextLayout
。TextMeasurer(AttributedCharacterIterator text, FontRenderContext frc)
从源文本构造TextMeasurer
。 -
Uses of AttributedCharacterIterator in java.awt.im
Methods in java.awt.im that return AttributedCharacterIterator 变量和类型 方法 描述 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 in java.awt.im.spi
Methods in java.awt.im.spi with parameters of type AttributedCharacterIterator 变量和类型 方法 描述 void
InputMethodContext. dispatchInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
根据给定的参数创建输入方法事件,并将其分派给客户端组件。 -
Uses of AttributedCharacterIterator in java.text
Methods in java.text that return AttributedCharacterIterator 变量和类型 方法 描述 AttributedCharacterIterator
DecimalFormat. formatToCharacterIterator(Object obj)
格式化一个生成AttributedCharacterIterator
的对象。AttributedCharacterIterator
Format. formatToCharacterIterator(Object obj)
格式化一个生成AttributedCharacterIterator
的Object。AttributedCharacterIterator
MessageFormat. formatToCharacterIterator(Object arguments)
格式化一个对象数组并将它们插入到MessageFormat
的模式中,生成一个AttributedCharacterIterator
。AttributedCharacterIterator
SimpleDateFormat. formatToCharacterIterator(Object obj)
格式化一个生成AttributedCharacterIterator
的对象。AttributedCharacterIterator
AttributedString. getIterator()
创建一个AttributedCharacterIterator实例,该实例提供对此字符串的全部内容的访问。AttributedCharacterIterator
AttributedString. getIterator(AttributedCharacterIterator.Attribute[] attributes)
创建一个AttributedCharacterIterator实例,该实例提供对此字符串的选定内容的访问。AttributedCharacterIterator
AttributedString. getIterator(AttributedCharacterIterator.Attribute[] attributes, int beginIndex, int endIndex)
创建一个AttributedCharacterIterator实例,该实例提供对此字符串的选定内容的访问。Constructors in java.text with parameters of type AttributedCharacterIterator 构造器 描述 AttributedString(AttributedCharacterIterator text)
使用由AttributedCharacterIterator表示的给定属性文本构造一个AttributedString实例。AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex)
构造一个AttributedString实例,其中包含由AttributedCharacterIterator表示的给定属性文本的子范围。AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
构造一个AttributedString实例,其中包含由AttributedCharacterIterator表示的给定属性文本的子范围。Bidi(AttributedCharacterIterator paragraph)
从给定的文本段落创建Bidi。 -
Uses of AttributedCharacterIterator in javax.swing
Methods in javax.swing with parameters of type AttributedCharacterIterator 变量和类型 方法 描述 void
DebugGraphics. drawString(AttributedCharacterIterator iterator, int x, int y)
OverridesGraphics.drawString
.
-