Package dev. fritz2. components. foundations
Types
Default implementation of the CloseButtonProperty interface in order to apply this as mixin for a component
This interface offers some convenience properties for adding a close button to a component.
Generic container for modeling a property for a component class. Use it like this:
Generic container for modeling a property for a component class that could be either consist on a value or on a Flow of a value.
Default implementation of the ElementProperties interface in order to apply this as mixin for a component
An interface for exposing an HTML element. Use this vor components that more or less wrap a single basic HTML tag like `inputField` or `pushButton`.
Default implementation of the EventProperties interface in order to apply this as mixin for a component
An interface for exposing the events of a component. The type of the underlying HTML element must be specified. This way all events of the wrapped element get exposed to the client via the events property.
Default implementation of the FormProperties interface in order to apply this as mixin for a component
This interface add typical state properties for en- or disabling form components.
Default implementation of the InputFieldProperties interface in order to apply this as mixin for a component
This interface offers a convenience property for inputField based components.
Default implementation of the InputFormProperties interface in order to apply this as mixin for a component
This interface offers a convenience property for input form based components.
This interface should be implemented by all components, that should appear at a specific, centralized node within the DOM tree. Think of modals or toasts for example: They appear as overlays above all other screen elements, which is realized by a central parent node in the DOM.
This store can be used for components with an internal store that has to deal with a List of some type T.
Generic container for modeling a property for a component class that could be either consist on a nullable value or on a Flow of a nullable value. This specific implementation could be useful for properties where the distinction between some states and the "not yet set" state is important.
Definition of the layout orientation of a form.
A context class for allowing an expressive DSL for component's configuration:
Default implementation of the OrientationProperty interface in order to apply this as mixin for a component
This interface add an orientation property for position the component's element(s) into an horizontal or vertical orientation.
Default implementation of the SeverityProperties interface in order to apply this as mixin for a component
This interface defines convenience properties and helper functions to easily apply Severity based behaviour to a component.
This store can be used for components with an internal store that has to deal with a single element selection from a collection of predefined values (like for a selectField or radioGroup component)
Default implementation of TooltipProperties interface in order to apply this as mixin for a component
This interface offers convenience functions to call a tooltip from withiin a component. It also provides a property to render the tooltip, that must be manually applied by an implementing component.