StyleRegistry

object StyleRegistry : Iterable<BoundStyle>

The global registry of all styles, initially populated with the system styles and their default bindings.

Author

Todd L Smith

Functions

Link copied to clipboard
fun addAllStyles(doc: StyledDocument)

Apply the appropriate variant of every registered style to the specified StyledDocument.

Link copied to clipboard
inline fun <T : Enum<T>, BoundStyle> addStyles(doc: StyledDocument)

Apply the appropriate variant of every style enclosed by the specified enum to the specified StyledDocument.

Link copied to clipboard
open fun forEach(p0: Consumer<in BoundStyle>)
Link copied to clipboard
operator fun get(systemStyle: StylerDescriptor.SystemStyle): BoundStyle

Lookup the style binding for the specified SystemStyle.

operator fun get(styleName: String): BoundStyle?

Lookup the style binding for the specified style.

Link copied to clipboard
open operator override fun iterator(): MutableIterator<BoundStyle>
Link copied to clipboard
open fun spliterator(): Spliterator<BoundStyle>