com.guiseframework.component
Interface ComponentFactory<V,C extends Component>
- Type Parameters:
V - The type of value for which components should be created.C - The type of component created for the value.
public interface ComponentFactory<V,C extends Component>
Indicates a class that can provide a component to represent some value.
- Author:
- Garret Wilson
createComponent
C createComponent(V value)
- Creates a component for the given value.
- Parameters:
value - The value for which a component should be created.
- Returns:
- A new component to represent the given value, or
null if the provided value is null.
Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.