public interface ContainerSelector
An interface for a component responsible for obtaining a container object.
During the execution of a builder script it is often necessary to obtain a
Composite
object in which newly created elements have to be stored.
Per default, these elements are directly added to the enclosing container
tag.
In rare cases, however, there is the need to use an alternative
Composite
implementation as storage. This can be achieved with a
special implementation of this interface. An object implementing this
interface is contained in the central ComponentBuilderData
object.
When searching for an enclosing container tag this object is invoked with the
found tag as parameter. The implementation can then decide which
Composite
to use.
Modifier and Type | Method and Description |
---|---|
Composite |
getComposite(Composite tag)
Returns the
Composite to be used for the specified tag
implementing the Composite interface. |
Copyright © 2016 The JGUIraffe Team. All rights reserved.