Interface ITextDecorator

All Known Subinterfaces:
ITextDecoratorSpigot
All Known Implementing Classes:
ClickableTextDecorator, StyledTextDecorator

public interface ITextDecorator
Represents a decoration of a piece of text.

There are no hard constraints regarding what a decorator can and cannot do. However, in return, a renderer is not required to respect (all) decorators.

Do not forget to override equals/hashCode to ensure Text objects can be compared properly.