Interface IBorderLayout

  • All Known Implementing Classes:
    BorderLayout

    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()));
            }
    
      ...
     }
     
    Author:
    Sebastien Briquet - sebfz1
    • Method Detail

      • addBorderLayout

        void addBorderLayout​(org.apache.wicket.MarkupContainer container)
        Method that is designed to create the BorderLayout.
        A typical implementation is:
         container.add(new SplitterBehavior("#vertical").setOption("panes", this.getVerticalPanes()).setOption("orientation", "'vertical'"));
         container.add(new SplitterBehavior("#horizontal").setOption("panes", this.getHorizontalPanes()));
         
        Parameters:
        container - either a Page or a Panel.
      • getVerticalPanes

        String getVerticalPanes()
        Gets the vertical panes in a JSON array
        Returns:
        a String that represent the JSON array
      • getHorizontalPanes

        String getHorizontalPanes()
        Gets the horizontal panes in a JSON array
        Returns:
        a String that represent the JSON array