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.
Constructor and Description |
---|
DefaultContainerSelector() |
Modifier and Type | Method and Description |
---|---|
Composite |
getComposite(Composite tag)
Returns the
Composite to be used for the specified tag
implementing the Composite interface. |
public Composite getComposite(Composite tag)
Composite
to be used for the specified tag
implementing the Composite
interface. This implementation returns the passed in
ContainerTag
.getComposite
in interface ContainerSelector
tag
- the tag implementing Composite
Composite
to be used for this tagCopyright © 2016 The JGUIraffe Team. All rights reserved.