Uses of Class
java.text.AttributedCharacterIterator.Attribute
| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
| java.awt.font |
Provides classes and interface relating to fonts.
|
| java.awt.im |
Provides classes and interfaces for the input method framework.
|
| java.text |
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
|
-
Uses of AttributedCharacterIterator.Attribute in java.awt
Methods in java.awt that return AttributedCharacterIterator.Attribute Modifier and Type Method Description AttributedCharacterIterator.Attribute[]Font. getAvailableAttributes()Returns the keys of all the attributes supported by thisFont.Method parameters in java.awt with type arguments of type AttributedCharacterIterator.Attribute Modifier and Type Method Description FontFont. deriveFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)Creates a newFontobject by replicating the currentFontobject and applying a new set of font attributes to it.static FontFont. getFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)Returns aFontappropriate to the attributes.Constructor parameters in java.awt with type arguments of type AttributedCharacterIterator.Attribute Constructor Description Font(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)Creates a newFontwith the specified attributes. -
Uses of AttributedCharacterIterator.Attribute in java.awt.font
Subclasses of AttributedCharacterIterator.Attribute in java.awt.font Modifier and Type Class Description classTextAttributeTheTextAttributeclass defines attribute keys and attribute values used for text rendering.Constructor parameters in java.awt.font with type arguments of type AttributedCharacterIterator.Attribute Constructor Description TextLayout(String string, Map<? extends AttributedCharacterIterator.Attribute,?> attributes, FontRenderContext frc)Constructs aTextLayoutfrom aStringand an attribute set. -
Uses of AttributedCharacterIterator.Attribute in java.awt.im
Methods in java.awt.im with parameters of type AttributedCharacterIterator.Attribute Modifier and Type Method Description AttributedCharacterIteratorInputMethodRequests. cancelLatestCommittedText(AttributedCharacterIterator.Attribute[] attributes)Gets the latest committed text from the text editing component and removes it from the component's text body.AttributedCharacterIteratorInputMethodRequests. getCommittedText(int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)Gets an iterator providing access to the entire text and attributes contained in the text editing component except for uncommitted text.AttributedCharacterIteratorInputMethodRequests. getSelectedText(AttributedCharacterIterator.Attribute[] attributes)Gets the currently selected text from the text editing component. -
Uses of AttributedCharacterIterator.Attribute in java.text
Subclasses of AttributedCharacterIterator.Attribute in java.text Modifier and Type Class Description static classDateFormat.FieldDefines constants that are used as attribute keys in theAttributedCharacterIteratorreturned fromDateFormat.formatToCharacterIteratorand as field identifiers inFieldPosition.static classFormat.FieldDefines constants that are used as attribute keys in theAttributedCharacterIteratorreturned fromFormat.formatToCharacterIteratorand as field identifiers inFieldPosition.static classMessageFormat.FieldDefines constants that are used as attribute keys in theAttributedCharacterIteratorreturned fromMessageFormat.formatToCharacterIterator.static classNumberFormat.FieldDefines constants that are used as attribute keys in theAttributedCharacterIteratorreturned fromNumberFormat.formatToCharacterIteratorand as field identifiers inFieldPosition.Fields in java.text declared as AttributedCharacterIterator.Attribute Modifier and Type Field Description static AttributedCharacterIterator.AttributeAttributedCharacterIterator.Attribute. INPUT_METHOD_SEGMENTAttribute key for input method segments.static AttributedCharacterIterator.AttributeAttributedCharacterIterator.Attribute. LANGUAGEAttribute key for the language of some text.static AttributedCharacterIterator.AttributeAttributedCharacterIterator.Attribute. READINGAttribute key for the reading of some text.Methods in java.text that return types with arguments of type AttributedCharacterIterator.Attribute Modifier and Type Method Description Set<AttributedCharacterIterator.Attribute>AttributedCharacterIterator. getAllAttributeKeys()Returns the keys of all attributes defined on the iterator's text range.Map<AttributedCharacterIterator.Attribute,Object>AttributedCharacterIterator. getAttributes()Returns a map with the attributes defined on the current character.Methods in java.text with parameters of type AttributedCharacterIterator.Attribute Modifier and Type Method Description voidAttributedString. addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)Adds an attribute to the entire string.voidAttributedString. addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex)Adds an attribute to a subrange of the string.ObjectAttributedCharacterIterator. getAttribute(AttributedCharacterIterator.Attribute attribute)Returns the value of the namedattributefor the current character.AttributedCharacterIteratorAttributedString. getIterator(AttributedCharacterIterator.Attribute[] attributes)Creates an AttributedCharacterIterator instance that provides access to selected contents of this string.AttributedCharacterIteratorAttributedString. getIterator(AttributedCharacterIterator.Attribute[] attributes, int beginIndex, int endIndex)Creates an AttributedCharacterIterator instance that provides access to selected contents of this string.intAttributedCharacterIterator. getRunLimit(AttributedCharacterIterator.Attribute attribute)Returns the index of the first character following the run with respect to the givenattributecontaining the current character.intAttributedCharacterIterator. getRunStart(AttributedCharacterIterator.Attribute attribute)Returns the index of the first character of the run with respect to the givenattributecontaining the current character.Method parameters in java.text with type arguments of type AttributedCharacterIterator.Attribute Modifier and Type Method Description voidAttributedString. addAttributes(Map<? extends AttributedCharacterIterator.Attribute,?> attributes, int beginIndex, int endIndex)Adds a set of attributes to a subrange of the string.intAttributedCharacterIterator. getRunLimit(Set<? extends AttributedCharacterIterator.Attribute> attributes)Returns the index of the first character following the run with respect to the givenattributescontaining the current character.intAttributedCharacterIterator. getRunStart(Set<? extends AttributedCharacterIterator.Attribute> attributes)Returns the index of the first character of the run with respect to the givenattributescontaining the current character.Constructors in java.text with parameters of type AttributedCharacterIterator.Attribute Constructor Description AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)Constructs an AttributedString instance with the subrange of the given attributed text represented by AttributedCharacterIterator.Constructor parameters in java.text with type arguments of type AttributedCharacterIterator.Attribute Constructor Description AttributedString(String text, Map<? extends AttributedCharacterIterator.Attribute,?> attributes)Constructs an AttributedString instance with the given text and attributes.