Interface NestedStyleContainer

All Known Implementing Classes:
WrapperStyle

public interface NestedStyleContainer
Implemented by styles that contain nested styles.

Some notes for working with nested styles:

To use a single nested style, it is advisable to derive from WrapperStyle. That class already implements NestedStyleContainer and performs all necessary delegations. The "customCode" sample project contains the class SunnySkyBackgroundStyle and its associated BeanInfo that show you an example for wrapping a user-selected style with a graphical decoration. For more complex use cases, the source code of WrapperStyle can be used as a starting point.

  • Method Summary

    Modifier and Type
    Method
    Description
    Return the IDs of all nested styles.
  • Method Details

    • getNestedStyleIds

      Collection<String> getNestedStyleIds()
      Return the IDs of all nested styles. This allows the install4j IDE to collect all overridable properties.
      Returns:
      the IDs