apply

inline fun <S : SwingStyleScope> S.apply(style: SwingStyle<S>)

Runs style at this point of the enclosing style, as if its block were written here: a property this style sets after the call wins over style's value, and style's value wins over one set before the call.

Parameters

style

the style to run.