ProvideComponentDefaults
Deprecated
Provide a nested style: style = { provideNestedStyle(AllComponents) { ... } }. For a parent-layout declaration on each child, wrap the children in VirtualSwingNode(modifier).
Scopes a single inherited component default declaration over content.
Provide a nested style: style = { provideNestedStyle(AllComponents) { ... } }. For a parent-layout declaration on each child, wrap the children in VirtualSwingNode(modifier).
Applicable modifier declarations from value cascade onto every descendant Swing and menu node, evaluated before the node's own explicit modifier.
This function is target-polymorphic and can be invoked from ordinary Swing composable contexts as well as menu composable contexts.
Must be called on the Event Dispatch Thread (EDT).
Parameters
the provision token binding a key to a value or null.
the composables scoped by this component default.
Deprecated
Provide a nested style: style = { provideNestedStyle(AllComponents) { ... } }. For a parent-layout declaration on each child, wrap the children in VirtualSwingNode(modifier).
Scopes multiple inherited component default declarations over content.
Provide a nested style: style = { provideNestedStyle(AllComponents) { ... } }. For a parent-layout declaration on each child, wrap the children in VirtualSwingNode(modifier).
Provisions are applied in argument order: repeating a key is last-argument-wins.
Applicable modifier declarations cascade onto every descendant Swing and menu node, evaluated before the node's own explicit modifier.
This function is target-polymorphic and can be invoked from ordinary Swing composable contexts as well as menu composable contexts.
Must be called on the Event Dispatch Thread (EDT).
Parameters
the provision tokens to cascade.
the composables scoped by these component defaults.