com.vaadin.ui.
Class OrderedLayout
java.lang.Object
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponentContainer
com.vaadin.ui.AbstractLayout
com.vaadin.ui.AbstractOrderedLayout
com.vaadin.ui.OrderedLayout
All Implemented Interfaces:
LayoutEvents.LayoutClickNotifier, MethodEventSource, Paintable, Sizeable, VariableOwner, Component, ComponentContainer, Layout, Layout.AlignmentHandler, Layout.MarginHandler, Layout.SpacingHandler, Serializable, EventListener
Direct Known Subclasses:
- extends AbstractOrderedLayout
@Deprecated
public class OrderedLayout
Ordered layout.
OrderedLayout
is a component container, which shows the
subcomponents in the order of their addition in specified orientation.
Since:
3.0
Version:
6.8.18
Author:
Vaadin Ltd.
See Also:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent |
---|
AbstractComponent.ComponentErrorEvent, AbstractComponent.ComponentErrorHandler |
Nested classes/interfaces inherited from interface com.vaadin.ui.Layout |
---|
Layout.AlignmentHandler, Layout.MarginHandler, Layout.MarginInfo, Layout.SpacingHandler |
Nested classes/interfaces inherited from interface com.vaadin.ui.ComponentContainer |
---|
ComponentContainer.ComponentAttachEvent, ComponentContainer.ComponentAttachListener, ComponentContainer.ComponentDetachEvent, ComponentContainer.ComponentDetachListener |
Nested classes/interfaces inherited from interface com.vaadin.ui.Component |
---|
Component.ErrorEvent, Component.ErrorListener, Component.Event, Component.Focusable, Component.Listener |
Nested classes/interfaces inherited from interface com.vaadin.terminal.Paintable |
---|
Paintable.RepaintRequestEvent, Paintable.RepaintRequestListener |
Field Summary | |
---|---|
static int |
ORIENTATION_HORIZONTAL
Deprecated. Components are to be laid out horizontally. |
static int |
ORIENTATION_VERTICAL
Deprecated. Components are to be laid out vertically. |
Fields inherited from class com.vaadin.ui.AbstractOrderedLayout |
---|
ALIGNMENT_DEFAULT, components |
Fields inherited from class com.vaadin.ui.AbstractLayout |
---|
margins |
Fields inherited from interface com.vaadin.ui.Layout.AlignmentHandler |
---|
ALIGNMENT_BOTTOM, ALIGNMENT_HORIZONTAL_CENTER, ALIGNMENT_LEFT, ALIGNMENT_RIGHT, ALIGNMENT_TOP, ALIGNMENT_VERTICAL_CENTER |
Fields inherited from interface com.vaadin.terminal.Sizeable |
---|
SIZE_UNDEFINED, UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS |
Constructor Summary | |
---|---|
OrderedLayout()
Deprecated. Use VerticalLayout instead. |
|
OrderedLayout(int orientation)
Deprecated. Use VerticalLayout/HorizontalLayout instead. |
Method Summary | |
---|---|
int |
getOrientation()
Deprecated. Gets the orientation of the container. |
void |
paintContent(PaintTarget target)
Deprecated. Paints the content of this component. |
void |
setOrientation(int orientation)
Deprecated. Use VerticalLayout/HorizontalLayout or define orientation in constructor instead |
protected void |
setOrientation(int orientation,
boolean needsRepaint)
Deprecated. Internal method to change orientation of layout. |
Methods inherited from class com.vaadin.ui.AbstractLayout |
---|
changeVariables, fireClick, getMargin, setMargin, setMargin, setMargin |
Methods inherited from class com.vaadin.ui.AbstractComponentContainer |
---|
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.vaadin.ui.ComponentContainer |
---|
addListener, addListener, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll |
Methods inherited from interface com.vaadin.ui.Component |
---|
addListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible |
Methods inherited from interface com.vaadin.terminal.Paintable |
---|
addListener, getDebugId, paint, removeListener, requestRepaint, requestRepaintRequests, setDebugId |
Methods inherited from interface com.vaadin.terminal.VariableOwner |
---|
isImmediate |
Methods inherited from interface com.vaadin.terminal.Sizeable |
---|
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeight, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidth, setWidthUnits |
Field Detail |
---|
ORIENTATION_VERTICAL
public static final int ORIENTATION_VERTICAL
- See Also:
- Constant Field Values
Deprecated.
Components are to be laid out vertically.
ORIENTATION_HORIZONTAL
public static final int ORIENTATION_HORIZONTAL
- See Also:
- Constant Field Values
Deprecated.
Components are to be laid out horizontally.
Constructor Detail |
---|
OrderedLayout
@Deprecated
public OrderedLayout()
Deprecated. Use VerticalLayout instead.
Creates a new ordered layout. The order of the layout is
ORIENTATION_VERTICAL
.
OrderedLayout
@Deprecated
public OrderedLayout(int orientation)
- Parameters:
orientation
- the Orientation of the layout.
Deprecated. Use VerticalLayout/HorizontalLayout instead.
Create a new ordered layout. The orientation of the layout is given as parameters.
Method Detail |
---|
getOrientation
public int getOrientation()
- Returns:
- the Value of property orientation.
Deprecated.
Gets the orientation of the container.
setOrientation
@Deprecated
public void setOrientation(int orientation)
- Parameters:
orientation
- the New value of property orientation.
Deprecated. Use VerticalLayout/HorizontalLayout or define orientation in constructor instead
Sets the orientation of this OrderedLayout. This method should only be used before initial paint.
setOrientation
protected void setOrientation(int orientation,
boolean needsRepaint)
- Parameters:
orientation
-
Deprecated.
Internal method to change orientation of layout. This method should only be used before initial paint.
paintContent
public void paintContent(PaintTarget target)
throws PaintException
- Overrides:
paintContent
in classAbstractOrderedLayout
- Parameters:
target
- the Paint Event.- Throws:
PaintException
- if the paint operation failed.
Deprecated.
Description copied from class: AbstractOrderedLayout
Paints the content of this component.