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 Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 AttributedCharacterIterator
InputMethodEvent. getText()
获取组合的承诺和合成文本。Constructors in java.awt.event with parameters of type AttributedCharacterIterator Constructor 描述 InputMethodEvent(Component source, int id, long when, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
构造具有指定源组件,类型,时间,文本,插入符号和InputMethodEvent
。InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
构造具有指定的源组件,类型,文本,插入符号和InputMethodEvent
。 -
Uses of AttributedCharacterIterator in java.awt.font
Methods in java.awt.font with parameters of type AttributedCharacterIterator Modifier and Type 方法 描述 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 Constructor 描述 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 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 in java.awt.im.spi
Methods in java.awt.im.spi with parameters of type AttributedCharacterIterator Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 AttributedCharacterIterator
DecimalFormat. formatToCharacterIterator(Object obj)
格式化一个对象,生成一个AttributedCharacterIterator
。AttributedCharacterIterator
Format. formatToCharacterIterator(Object obj)
格式化产生一个AttributedCharacterIterator
的对象。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 Constructor 描述 AttributedString(AttributedCharacterIterator text)
使用AttributedCharacterIterator表示的给定归因文本构造一个AttributedString实例。AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex)
使用AttributedCharacterIterator表示的给定归因文本的子范围构造一个AttributedString实例。AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
使用AttributedCharacterIterator表示的给定归因文本的子范围构造一个AttributedString实例。Bidi(AttributedCharacterIterator paragraph)
从文本的给定段落创建Bidi。 -
Uses of AttributedCharacterIterator in javax.swing
Methods in javax.swing with parameters of type AttributedCharacterIterator Modifier and Type 方法 描述 void
DebugGraphics. drawString(AttributedCharacterIterator iterator, int x, int y)
OverridesGraphics.drawString
.
-