Package com.install4j.api.styles
This package contains the interface and abstract base class for styles.
See the API overview for general remarks on how to use the install4j API.
The Style
interface contains all methods that have to be implemented by an actual style.
When you develop your own styles, it is recommended that you extend the abstract base classes in this package
rather than implement the interface itself.
Styles can nest other styles with help of the StyleManager
. Since there are a number of
delegations that have to be implemented correctly and the life-cycle of the style has to be taken into account, it is
advisable to use WrapperStyle
to nest a single style. To get more help with nesting styles,
see NestedStyleContainer
.
-
Interface Summary Interface Description ControlButton Implemented by form components that want to handle navigation functionality for a style.ControlButtonContainer Implemented by objects that handle navigation functionality.NestedStyleContainer Implemented by styles that contain nested styles.Style All styles must implement this interface.StyleContext Context object that gives access to the style-relevant properties of a screen and its content component that should be embedded into the style component.StyleContextReceiver Implemented by objects that handle style context changes.StyleManager Helper for working with nested styles. -
Class Summary Class Description AbstractStyle Abstract base class for styles.WrapperStyle Abstract base class for a style that wraps a single user-selectable style.