intarsys runtime library

de.intarsys.tools.ui
Interface IComponentProvider<C,T>

Type Parameters:
C - The toolkit container component
T - The toolkit component
All Known Subinterfaces:
IUIComponent<M,C,T>
All Known Implementing Classes:
UIComponent, UIWizard

public interface IComponentProvider<C,T>

An object that can publish itself as a concrete toolkit component.


Method Summary
 void createComponent(C parent)
          Create the associated toolkit component.
 T getComponent()
          The associated toolkit component.
 

Method Detail

createComponent

void createComponent(C parent)
Create the associated toolkit component. This is a factory method called by a container to create a concrete UI component.

Parameters:
parent -

getComponent

T getComponent()
The associated toolkit component. This is not valid until after a call to createComponent.

Returns:
The associated toolkit component.

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.