Ordered layout. Ordered layout is a component container, which shows the subcomponents in the order of their addition in specified orientation.
3.0
Inheritance Path. java.lang.Object-> com.itmill.toolkit.ui.AbstractComponent -> com.itmill.toolkit.ui.AbstractComponentContainer -> com.itmill.toolkit.ui.OrderedLayout
Parameters
orientation
Orientation of the layout.
Create a new ordered layout. The orientation of the layout is given as parameters.
Parameters
c
The component to be added.
Add a component into this container. The component is added to the right or under the previous component.
Parameters
c
The component to be added.
index
Index of the component position. The components currently in and after the position are shifted forwards.
Add a component into indexed position in this container.
Parameters
c
The component to be added.
Add a component into this container. The component is added to the left or on top of the other components.
Parameters
Iterator of the components inside the container.
Get component container iterator for going trough all the components in the container.
Parameters
Value of property orientation.
Get the orientation of the container.
Parameters
event
PaintEvent.
Exceptions
PaintException
The paint operation failed.
Paint the content of this component.
Parameters
c
The component to be removed.
Remove a component from this container.