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:

ExpandLayout, FormLayout

Deprecated. Replaced by VerticalLayout/HorizontalLayout. For type checking please not that VerticalLayout/HorizontalLayout do not extend OrderedLayout but AbstractOrderedLayout (which also OrderedLayout extends).

@Deprecated
public class OrderedLayout
extends AbstractOrderedLayout

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:

Serialized Form

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.AbstractOrderedLayout
addComponent, addComponent, addComponentAsFirst, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, removeComponent, removeListener, replaceComponent, setComponentAlignment, setComponentAlignment, setComponentAlignment, setExpandRatio, setSpacing
 
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 com.vaadin.ui.AbstractComponent
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnits
 
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

Deprecated. 

Components are to be laid out vertically.

See Also:
Constant Field Values

ORIENTATION_HORIZONTAL

public static final int ORIENTATION_HORIZONTAL

Deprecated. 

Components are to be laid out horizontally.

See Also:
Constant Field Values

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)

Deprecated. Use VerticalLayout/HorizontalLayout instead.

Create a new ordered layout. The orientation of the layout is given as parameters.

Parameters:
orientation - the Orientation of the layout.

Method Detail

getOrientation

public int getOrientation()

Deprecated. 

Gets the orientation of the container.

Returns:
the Value of property orientation.

setOrientation

@Deprecated
public void setOrientation(int 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.

Parameters:
orientation - the New value of property orientation.

setOrientation

protected void setOrientation(int orientation,
                              boolean needsRepaint)

Deprecated. 

Internal method to change orientation of layout. This method should only be used before initial paint.

Parameters:
orientation -

paintContent

public void paintContent(PaintTarget target)
                  throws PaintException

Deprecated. 

Description copied from class: AbstractOrderedLayout

Paints the content of this component.

Overrides:
paintContent in class AbstractOrderedLayout

Parameters:
target - the Paint Event.
Throws:
PaintException - if the paint operation failed.