Package swingtree.style
@NullMarked
package swingtree.style
-
ClassDescriptionComponentExtension<C extends JComponent>Is attached to UI components in the form of a client property.ComponentStyleDelegate<C extends JComponent>A
ComponentStyleDelegate
is a delegate for aJComponent
and itsStyleConf
configuration used to apply further specify the style of saidJComponent
.The filter configuration object defines if and how a filter should be applied on the rendering of the parent of a particular component.An immutable, wither-like method based config API for font styles that is part of the fullStyleConf
configuration object.An immutable config API for specifying a gradient style.This class represents the style of an image which can be drawn onto the inner area of a component.A noise gradient configuration which is used to define a noise gradient style for a component based on aNoiseFunction
which is a function that takes a coordinate and returns a value between 0 and 1.A collection of noise functions that can be used to generate procedural textures.An immutable config API designed for defining shadow styles as part of the fullStyleConf
configuration object.Implementations of this interface are SwingTree native components which enjoy the full support of the style API.An immutable config container with cloning based update methods designed for functionalJComponent
styling.An abstract class intended to be extended to create custom CSS look-alike source code based style sheets for your Swing application.StyleTrait<C extends JComponent>AStyleTrait
contains a set of properties that will be used to target specificJComponent
s matching said properties, so that you can associate customStyler
lambdas with them which are using theComponentStyleDelegate
API to configure the style of the component.A specializedImageIcon
subclass that allows you to use SVG based icon images in your GUI.An immutable configuration type which holds custom text as well as placement and font properties used for rendering text onto a Swing component.