|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBorderLayout
Helping interface which specifies that a Kendo UI border-layout will be applied on the underlying MarkupContainer.
For instance:
public class BorderLayoutPage extends WebPage implements IBorderLayout
{
public BorderLayoutPage(PageParameters parameters)
{
super(parameters);
this.addBorderLayout(this);
}
public void addBorderLayout(MarkupContainer container)
{
container.add(new SplitterBehavior("#vertical").setOption("panes", this.getVerticalPanes()).setOption("orientation", "'vertical'"));
container.add(new SplitterBehavior("#horizontal").setOption("panes", this.getHorizontalPanes()));
}
...
}
| Method Summary | |
|---|---|
void |
addBorderLayout(org.apache.wicket.MarkupContainer container)
Method that is designed to create the BorderLayout. A typical implementation is: |
String |
getHorizontalPanes()
Gets the horizontal panes in a JSON array |
String |
getVerticalPanes()
Gets the vertical panes in a JSON array |
| Method Detail |
|---|
void addBorderLayout(org.apache.wicket.MarkupContainer container)
container.add(new SplitterBehavior("#vertical").setOption("panes", this.getVerticalPanes()).setOption("orientation", "'vertical'"));
container.add(new SplitterBehavior("#horizontal").setOption("panes", this.getHorizontalPanes()));
container - either a Page or a Panel.String getVerticalPanes()
String getHorizontalPanes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||