Package swingtree
Interface SwingTreeConfigurator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for configuring a
SwingTree instance
through SwingTree.initialiseUsing(SwingTreeConfigurator).
The SwingTreeConfigurator is a function receiving an immutable
SwingTreeInitConfig instance and returning a new one
with the desired configuration applied.
-
Method Summary
Modifier and TypeMethodDescriptionconfigure(SwingTreeInitConfig config) Configures the givenSwingTreeInitConfiginstance and returns a new one with the desired configuration applied.
-
Method Details
-
configure
Configures the givenSwingTreeInitConfiginstance and returns a new one with the desired configuration applied.- Parameters:
config- TheSwingTreeInitConfiginstance to configure.- Returns:
- A new
SwingTreeInitConfiginstance with the desired configuration applied.
-