Interface SyLayoutContextType

All Superinterfaces:
SyThemeContextType

public interface SyLayoutContextType extends SyThemeContextType
The context of a layout operation.
  • Method Details

    • themeCurrent

      SyThemeType themeCurrent()
      Returns:
      A reference to the current theme
    • deriveThemeConstraints

      default SyConstraints deriveThemeConstraints(SyConstraints constraints, SyComponentReadableType component)
      Derive size constraints based on the current theme, if any exist.
      Parameters:
      constraints - The initial constraints
      component - The component
      Returns:
      The possibly-limited constraints