de.espirit.firstspirit.client.gui.applications
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");
 


Attention: This part of the API isn't released yet and may change during the ramp up time. It will be released with 4.2 Release 4.

Since:
4.2.416
See Also:
SwingApplication

Nested Class Summary
static interface SwingApplicationConfiguration.ComponentFactory<T extends Component>
          Factory to create a component.
 
Field Summary
static Generator<SwingApplicationConfiguration> GENERATOR
          Generator to create a swing configuration instance.
 
Method Summary
 SwingApplicationConfiguration componentFactory(SwingApplicationConfiguration.ComponentFactory factory)
          Sets the component factory for the swing application which will be created based on this configuration.
 SwingApplicationConfiguration.ComponentFactory getComponentFactory()
          Returns the component factory which will be used to create the swing component used for the swing 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 Detail

GENERATOR

static final Generator<SwingApplicationConfiguration> GENERATOR
Generator to create a swing configuration instance.

Since:
4.2.416
Method Detail

componentFactory

SwingApplicationConfiguration componentFactory(SwingApplicationConfiguration.ComponentFactory factory)
Sets the component factory for the swing application which will be created based on this configuration.

Parameters:
factory - the factory which will be used to create the component for the belonging swing application
Returns:
this configuration instance (builder pattern)
Since:
4.2.416

getComponentFactory

SwingApplicationConfiguration.ComponentFactory getComponentFactory()
Returns the component factory which will be used to create the swing component used for the swing application which will be created based on this configuration.

Returns:
the component factory
Since:
4.2.416


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480