public interface Layout extends Component, ComponentContainer
titleProperty
Modifier and Type | Method and Description |
---|---|
void |
addChild(Component widget) |
default void |
addComponent(Component component)
Adds a component to this container.
|
default java.util.stream.Stream<Component> |
allComponents()
All of the components contained by or represented by this one, if any.
|
default java.util.stream.Stream<Component> |
components()
Gets a stream of all the first-level components in this container.
|
java.util.Collection<Component> |
getChildren() |
java.util.Collection<Component> getChildren()
void addChild(Component widget)
default void addComponent(Component component)
ComponentContainer
addComponent
in interface ComponentContainer
component
- the component to adddefault java.util.stream.Stream<Component> components()
ComponentContainer
components
in interface ComponentContainer
default java.util.stream.Stream<Component> allComponents()
Component
allComponents
in interface Component
allComponents
in interface ComponentContainer