Interface AccessibleComposite
-
- All Superinterfaces:
Composite
- All Known Implementing Classes:
CompositeImpl
public interface AccessibleComposite extends Composite
An extended version of the
Composite
interface which also allows access to the data passed via the mutating methods.During a builder operation, it is typically sufficient to use the
Composite
interface; the provided methods allow changing the state of a container component. For objects implementing this functionality, however, further methods are required in order to access the data passed to theComposite
methods. These methods are defined by this extended interface.- Since:
- 1.3
- Version:
- $Id$
- Author:
- Oliver Heger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Object[]>
getComponents()
Returns an unmodifiable collection with the components and constraints that have been added to this object.Object
getLayout()
Returns the layout object passed to this instance.-
Methods inherited from interface net.sf.jguiraffe.gui.builder.components.Composite
addComponent, getContainer, setLayout
-
-
-
-
Method Detail
-
getLayout
Object getLayout()
Returns the layout object passed to this instance.- Returns:
- the layout object
-
getComponents
Collection<Object[]> getComponents()
Returns an unmodifiable collection with the components and constraints that have been added to this object. Each element of the collection is an array of size 0. Index 0 contains the component, index 1 contains the constraints object.- Returns:
- a collection with the components and constraints added to this object
-
-