SwingStyleKind

constructor(scope: (base: NestedStyleProviderScope, state: T) -> S, default: SwingStyle<S> = SwingStyle)

A kind for components of any Component type.

Parameters

scope

builds the scope a style of this kind runs against, over base, which implements NestedStyleProviderScope. The scope delegates to base the interfaces it extends.

default

the style applied before the caller's own. A component that applies nested styles applies their keys here.