Interface SwingApplicationConfiguration
- All Superinterfaces:
ApplicationTabConfiguration<SwingApplicationConfiguration>
public interface SwingApplicationConfiguration
extends ApplicationTabConfiguration<SwingApplicationConfiguration>
Configuration builder to configure
swing applications
.
Usage:
final SwingApplicationConfiguration config = SwingApplicationConfiguration.GENERATOR.invoke().icon(myIcon).title("myAppTitle");
- Since:
- 4.2.416
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Supplier<SwingApplicationConfiguration>
Generator to create a swing configuration instance.static final Generator<SwingApplicationConfiguration>
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionSets thecomponent factory
for theswing application
which will be created based on this configuration.Returns thecomponent factory
which will be used to create the swing component used for theswing application
which will be created based on this configuration.Methods inherited from interface de.espirit.firstspirit.client.gui.applications.ApplicationTabConfiguration
appearance, getAppearance, getIdentifier, icon, identifier, openInBackground, openInBackground, title
-
Field Details
-
GENERATOR
Deprecated.since 5.2.231004 - UseCONFIG_GENERATOR
insteadGenerator to create a swing configuration instance.- Since:
- 4.2.416
-
CONFIG_GENERATOR
Generator to create a swing configuration instance.- Since:
- 5.2.231004
-
-
Method Details
-
componentFactory
SwingApplicationConfiguration componentFactory(SwingApplicationConfiguration.ComponentFactory factory) Sets thecomponent factory
for theswing application
which will be created based on this configuration.- Parameters:
factory
- the factory which will be used to create the component for the belongingswing application
- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
-
getComponentFactory
SwingApplicationConfiguration.ComponentFactory getComponentFactory()Returns thecomponent factory
which will be used to create the swing component used for theswing application
which will be created based on this configuration.- Returns:
- the component factory
- Since:
- 4.2.416
-
CONFIG_GENERATOR
instead