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.7
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
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.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.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.Sizeable |
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeight, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidth, setWidthUnits |
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
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.
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.
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.