Class DefaultContainerSelector
- java.lang.Object
-
- net.sf.jguiraffe.gui.builder.components.DefaultContainerSelector
-
- All Implemented Interfaces:
ContainerSelector
public class DefaultContainerSelector extends Object implements ContainerSelector
A default implementation of the
ContainerSelector
interface.This implementation simply returns the passed in container tag. This is appropriate for most use cases because the components defined in the body of a container tag have to be added to the data managed by this tag. Only in very special circumstances - e.g. if a tag has to be executed in an alternative context - a different behavior is needed.
- Since:
- 1.3
- Version:
- $Id$
- Author:
- Oliver Heger
-
-
Constructor Summary
Constructors Constructor Description DefaultContainerSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Composite
getComposite(Composite tag)
Returns theComposite
to be used for the specified tag implementing theComposite
interface.
-
-
-
Method Detail
-
getComposite
public Composite getComposite(Composite tag)
Returns theComposite
to be used for the specified tag implementing theComposite
interface. This implementation returns the passed inContainerTag
.- Specified by:
getComposite
in interfaceContainerSelector
- Parameters:
tag
- the tag implementingComposite
- Returns:
- the
Composite
to be used for this tag
-
-