de.espirit.firstspirit.client.gui.applications
Interface SwingApplicationConfiguration.ComponentFactory<T extends Component>

Enclosing interface:
SwingApplicationConfiguration

public static interface SwingApplicationConfiguration.ComponentFactory<T extends Component>

Factory to create a component.

Since:
4.2.416

Method Summary
 T createComponent()
          Creates the component.
 void dispose(T component)
          Called when the belonging SwingApplication is closed.
 

Method Detail

createComponent

T createComponent()
Creates the component. Each call to this method should create a new component instance.

Returns:
the created component.
Since:
4.2.416

dispose

void dispose(T component)
Called when the belonging SwingApplication is closed. Clean up all resources in this method.

Parameters:
component - the component created in SwingApplicationConfiguration.ComponentFactory.createComponent()
Since:
4.2.429


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