AddAttr

// Declare an attribute name.
// An attribute name is an object that extends AttributedCharacterIterator.Attribute.
// Author's note: A more appropriate name would be AttributedCharacterIterator.AttributeName
static final AttributedCharacterIterator.Attribute COLOR
    = new AttributedCharacterIterator.Attribute("color") {
    };

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.