org.richfaces.component
Class LayoutStructure
java.lang.Object
org.richfaces.component.LayoutStructure
- All Implemented Interfaces:
- java.io.Serializable
public class LayoutStructure
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- asmirnov
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutStructure
public LayoutStructure(UILayout layout)
LayoutStructure
public LayoutStructure(UILayoutPanel panel)
sortPanels
public void sortPanels(UILayout layout)
throws javax.faces.FacesException
- Parameters:
layout
-
- Throws:
javax.faces.FacesException
calculateWidth
public void calculateWidth()
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
getTop
public UILayoutPanel getTop()
- Returns:
- the top
getBottom
public UILayoutPanel getBottom()
- Returns:
- the bottom
getLeft
public UILayoutPanel getLeft()
- Returns:
- the left
getRight
public UILayoutPanel getRight()
- Returns:
- the right
getCenter
public UILayoutPanel getCenter()
- Returns:
- the center
getColumns
public int getColumns()
- Returns:
- the columns
getWidth
public java.lang.String getWidth(UILayoutPanel panel)
getWidth
public java.lang.String getWidth(UILayoutPanel panel,
float coeeficient)
- Parameters:
panel
- coeeficient
-
- Returns:
layoutDeep
protected int layoutDeep(javax.faces.component.UIComponent component)
- Calculate deep of layout components.
- Parameters:
component
-
- Returns:
getDeep
public int getDeep()
- Returns:
- the deep
Copyright © 2010. All Rights Reserved.