|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wicketstuff.minis.apanel.GridLayout
public class GridLayout
GridLayout puts markup of components in <table><table/> according to
GridLayoutConstraints. Component without
a constraint will be added to the first empty cell. If there is no empty cells for the component
WicketRuntimeException will be thrown.
| Constructor Summary | |
|---|---|
GridLayout(int width,
int height)
Constructor. |
|
GridLayout(int width,
int height,
java.util.List<IComponentRenderer<?>> renderers)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
onGridCell(org.apache.wicket.Component component,
org.apache.wicket.markup.parser.XmlTag xmlTag)
May be overriden to modify <td> tag |
protected void |
onGridRow(org.apache.wicket.markup.parser.XmlTag xmlTag)
May be overriden to modify <tr> tag |
java.lang.CharSequence |
renderComponents(java.util.List<? extends org.apache.wicket.Component> components)
Creates wicket markup for components, adding markup specific for this layout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridLayout(int width,
int height)
width - width of gridheight - height of grid
public GridLayout(int width,
int height,
java.util.List<IComponentRenderer<?>> renderers)
width - width of gridheight - height of gridrenderers - list of renderers to customize component rendering in this layout| Method Detail |
|---|
public java.lang.CharSequence renderComponents(java.util.List<? extends org.apache.wicket.Component> components)
ILayout
renderComponents in interface ILayoutcomponents - components to render
protected void onGridRow(org.apache.wicket.markup.parser.XmlTag xmlTag)
xmlTag - <tr> tag
protected void onGridCell(org.apache.wicket.Component component,
org.apache.wicket.markup.parser.XmlTag xmlTag)
component - componentxmlTag - <td> tag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||