SwingStyle

fun <S : SwingStyleScope> SwingStyle(vararg styles: SwingStyle<S>): SwingStyle<S>

Combines styles into one style that runs them in order, so where several set a property, the last one's value wins. As then, empty styles are skipped and combinations with equal styles in the same order are equal.

Return

the combined style; the empty style when styles holds no other style.

Parameters

styles

the styles to run, in order.