Package space.maxus.flare.ui.compose
Interface Configurable<S>
- Type Parameters:
S- The type of the object being configured
- All Known Subinterfaces:
Button,Checkbox,Composition,ContainerSlot,GoBackButton,Modal,PaginationDisplay,ProgressBar,Selection<E>,Slideshow,Tabulation,TextInput
public interface Configurable<S>
Represents a composable that can be further configured after creation
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionconfigure(Configurable.Configurator<S> configurator) Configures this composable element.default <V extends S>
VconfigureTyped(@NotNull Configurable.Configurator<V> configurator) Configures this composable element with a certain subtype of the object.
-
Method Details
-
configure
Configures this composable element.- Parameters:
configurator- Configurator to be applied- Returns:
- The configured object
-
configureTyped
Configures this composable element with a certain subtype of the object.- Type Parameters:
V- The subtype of the object- Parameters:
configurator- Configurator to be applied- Returns:
- The configured objecc
-