Package org.gwt.mosaic.ui.client.layout

Examples of org.gwt.mosaic.ui.client.layout.BorderLayoutData


  {
    final LayoutPanel layoutPanel = new LayoutPanel(new BorderLayout());

    // header
    header = new Header(this, auth.getUsername(), auth.getRolesAssigned());
    layoutPanel.add(header, new BorderLayoutData(Region.NORTH, 50));

    // menu
    menu = new Menu();
    layoutPanel.add(menu, new BorderLayoutData(Region.WEST, 200));

    // workspace
    workspace = createWorkspace();
    layoutPanel.add(workspace, new BorderLayoutData(Region.CENTER, false));
    registerGlobalViewsAndActions();

    // message Panel
    final CaptionLayoutPanel messagePanel = createMessagePanel(layoutPanel);
    messagePanel.add(Log.getDivLogger().getWidget());
    messagePanel.setCollapsed(true);
    layoutPanel.add(messagePanel, new BorderLayoutData(Region.SOUTH, true));

    // Turn on DivLogger
    Log.getDivLogger().getWidget().setVisible(true);

    return layoutPanel;
View Full Code Here


              }
            }
          }
      );

      this.add(tabPanel, new BorderLayoutData(BorderLayout.Region.CENTER));

      // create and register views
      registerView(DeploymentListView.ID, new DeploymentListView());
      registerView(JobListView.ID, new JobListView(appContext));
View Full Code Here

              }
            }
          }
      );

      this.add(tabPanel, new BorderLayoutData(Region.CENTER));

      // create and register views
      registerView(DefinitionListView.ID, new DefinitionListView());
      registerView(InstanceListView.ID, new InstanceListView(appContext));
View Full Code Here

              }
            }
          }
      );

      this.add(tabPanel, new BorderLayoutData(BorderLayout.Region.CENTER));

      TaskDetailView openDetailView = new TaskDetailView(true);
      TaskDetailView assignedDetailView = new TaskDetailView(false);

      // create and register views
View Full Code Here

    if (!decorateBody) {
      deck.addStyleName("gwt-TabPanelBottom"); // use GWT's TabPanel style
    }

    if (region == TabBarPosition.TOP) {
      layoutPanel.add(tabBar, new BorderLayoutData(Region.NORTH));
    } else {
      layoutPanel.add(tabBar, new BorderLayoutData(Region.SOUTH));
    }
    layoutPanel.add(deck, new BorderLayoutData(decorateBody));

    setStyleName(DEFAULT_STYLENAME);
  }
View Full Code Here

      if (imageWrapper != null) {
        layoutPanel.remove(imageWrapper);
      }
      this.image = image;
      imageWrapper = new WidgetWrapper(image);
      layoutPanel.add(imageWrapper, new BorderLayoutData(Region.WEST));
    }
  }
View Full Code Here

  }

  public void setWidget(Widget widget, boolean decorate) {
    Widget oldValue = this.widget;
    this.widget = widget;
    replaceLayoutPanelChild(oldValue, this.widget, new BorderLayoutData(
        decorate));
    firePropertyChange("widget", oldValue, this.widget);
  }
View Full Code Here

  public void setToolBox(Widget toolBox, boolean decorate) {
    assert (toolBox != null);
    Widget oldValue = this.toolBox;
    this.toolBox = toolBox;
    replaceLayoutPanelChild(oldValue, this.toolBox, new BorderLayoutData(
        Region.NORTH, decorate));
    firePropertyChange("toolBox", oldValue, this.toolBox);
  }
View Full Code Here

  public void setStatusBar(Widget statusBar) {
    assert (statusBar != null);
    Widget oldValue = this.statusBar;
    this.statusBar = statusBar;
    replaceLayoutPanelChild(oldValue, this.statusBar, new BorderLayoutData(
        Region.SOUTH));
    firePropertyChange("statusBar", oldValue, this.statusBar);
  }
View Full Code Here

  public void setSideBar(Widget sideBar, String preferredSize, boolean decorate) {
    assert (sideBar != null);
    Widget oldValue = this.sideBar;
    this.sideBar = sideBar;
    replaceLayoutPanelChild(oldValue, this.sideBar, new BorderLayoutData(
        Region.WEST, preferredSize, "5em", preferredSize, decorate));
    firePropertyChange("sideBar", oldValue, this.sideBar);
  }
View Full Code Here

TOP

Related Classes of org.gwt.mosaic.ui.client.layout.BorderLayoutData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.