Package com.sencha.gxt.widget.core.client.container

Examples of com.sencha.gxt.widget.core.client.container.SimpleContainer


      west.setSize(300);
      west.setCollapsible(true);
      west.setCollapseMini(true);
      ContentPanel sc=new ContentPanel();
      sc.setHeaderVisible(false);
      SimpleContainer sc2=new SimpleContainer();
      border.setWestWidget(sc, west);
      border.setCenterWidget(sc2, new MarginData(3));
      presenter.getJobManagerPresenter().go(sc);
      presenter.getJobDisplayPresenter().go(sc2);
      widget=border;
View Full Code Here


 
  public JobDisplayViewImpl(JobDisplayPresenter presenter,PlatformContext context){
    this.presenter=presenter;
    this.context=context;
   
    jobContainer=new SimpleContainer();
    groupContainer=new SimpleContainer();
    jobPresenter=new JobPresenter(context);
    groupPresenter=new GroupPresenter(context);
  }
View Full Code Here

    }else if(App.Report.getKv().value.equals(kv.value)){
      app=getApp(ReportApp.class);
    }
    if(app!=null){
      if(apps.get(app)==null){
        SimpleContainer container=new SimpleContainer();
        screen.add(container);
        apps.put(app,container);
        app.getPresenter().go(container);
      }
      for(Application a:apps.keySet()){
View Full Code Here

      fileManagerPanel.setHeadingText("文件管理");
      // TODO 动画效果
      fileManagerPanel.setAnimCollapse(true);
      fileManagerPanel.setAnimationDuration(1000);
      final BorderLayoutContainer centerContainer = new BorderLayoutContainer();
      SimpleContainer wordContainer = new SimpleContainer();
      final ContentPanel tabContainer = new ContentPanel() {
//        @Override
//        protected void onAfterFirstAttach() {
//          super.onAfterFirstAttach();
//          centerContainer.hide(LayoutRegion.EAST);
View Full Code Here

          else
          {
            // there we verify that the screen to show is not already created and stored in the
            // MainController screens map. If it is not , a new one is created.
            final Screen toShow = DkMain.controller().getScreenInstance(clazz);
            final SimpleContainer screenContainerPanel = DkMain.controller().getGui().getScreenContainerPanel();
            if (currentScreen == null || screenContainerPanel.remove(currentScreen))
            {
              DkMain.controller().setCurrentScreen(null);
              if (currentScreen != null)
              {
                BaseShowScreenAction.log.debug("[BaseShowScreenAction Screen {" + currentScreen.getClass().getName()
                    + "} Closed]");
              }
              screenContainerPanel.add(toShow);
              DkMain.controller().setPreviousScreen(currentScreen);
              DkMain.controller().setCurrentScreen(toShow);
              DkMain.controller().setScreenDisplayId(DkIdGenerator.generateRandomId(10));
              DkMain.controller().onScreenBeforeShow(currentScreen, optionalArgs);
              screenContainerPanel.forceLayout();
              BaseShowScreenAction.log.debug("[BaseShowScreenAction Screen {" + toShow.getClass().getName()
                  + "} Displayed (layout forced)]");
            }
            else
            {
View Full Code Here

   *           {@link DualFunctionality#ALL} to have all functionalities)
   */
  public MyDualGrid(final Component leftComponent, final Component rightComponent,
      final DualFunctionality... dualFunctionalities)
  {
    super(new SimpleContainer());
    horizontalLayoutContainer = new HorizontalLayoutContainer();
    ((SimpleContainer) getWidget()).add(horizontalLayoutContainer);
    this.appearance = GWT.create(MyDualGridAppearance.class);

    setOfFunctionalities = new HashSet<DualFunctionality>();
View Full Code Here

    hyperLink.setVisible(false);
    northPanel.add(hyperLink);
    // SCREEN CONTAINER PANEL ---------------------------------------------------------------

    final MarginData centerBorderLayoutData = new MarginData(4, 2, 1, 2);
    screenContainerPanel = new SimpleContainer();
    mainBorderLayoutContainer.add(screenContainerPanel, centerBorderLayoutData);
  }
View Full Code Here

TOP

Related Classes of com.sencha.gxt.widget.core.client.container.SimpleContainer

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.