Examples of Panel


Examples of org.sgx.yuigwt.yui.widget.panel.Panel

        }
      });

    }

    Panel panel = showPanel2(Y, headers, bodies);
    // Node pn = panel.srcNode();
    // pn.setX(pn.getX()+(80*index));
    // pn.setY(pn.getY()+(50*index));

    // now make this panel draggable by its header
View Full Code Here

Examples of org.uispec4j.Panel

 
  public Controller getController(){
    return (Controller) (getFreeMindFrame().getRootPane()).getClientProperty(Controller.class);
  }
  public Panel getToolbar(final String name){
    return new Panel(getController().getModeController().getUserInputListenerFactory().getToolBar(name));
  }
View Full Code Here

Examples of org.xith3d.ui.hud.widgets.Panel

        hud.getContentPane().addWidgetCentered(this, 4);
       
        this.setDefaultCloseOperation(null);
        this.setCloseButtonVisible(false);
       
        Panel panel = (Panel) this.getContentPane();
       
        params = new Parameters();
       
        loadButton = new Button(600, 40, Messages.getString("ParametersAsker.1")); //$NON-NLS-1$
        panel.addWidget(loadButton, 10, 20);
        loadButton.addButtonListener(this);
       
        saveButton = new Button(600, 40, Messages.getString("ParametersAsker.2")); //$NON-NLS-1$
        panel.addWidget(saveButton, 10, 70);
        saveButton.addButtonListener(this);
       
        panel.addWidget(new Label(280, 40, Messages.getString("ParametersAsker.3")), 10, 120); //$NON-NLS-1$
        initialDigibotsCount = new TextField(300, 40);
        panel.addWidget(initialDigibotsCount, 290, 120);
       
        panel.addWidget(new Label(280, 40, Messages.getString("ParametersAsker.4")), 10, 170); //$NON-NLS-1$
        foodFrequency = new TextField(300, 40);
        panel.addWidget(foodFrequency, 290, 170);
       
        panel.addWidget(new Label(280, 40, Messages.getString("ParametersAsker.5")), 10, 220); //$NON-NLS-1$
        terrainFile = new TextField(300, 40);
        panel.addWidget(terrainFile, 290, 220);
        loadTerrainButton = new Button(120, 40, Messages.getString("ParametersAsker.6")); //$NON-NLS-1$
        panel.addWidget(loadTerrainButton, 610, 220);
        loadTerrainButton.addButtonListener(this);
       
        okButton = new Button(120, 40, Messages.getString("ParametersAsker.7")); //$NON-NLS-1$
        panel.addWidget(okButton, 20, 270);
        okButton.addButtonListener(this);
       
        cancelButton = new Button(120, 40, Messages.getString("ParametersAsker.8")); //$NON-NLS-1$
        panel.addWidget(cancelButton, 160, 270);
        cancelButton.addButtonListener(this);
       
        updateDataToUI();
       
    }
View Full Code Here

Examples of org.zkoss.zul.Panel

    }

    @SuppressWarnings("unchecked")
    private void createPortlet(Map params)
    {
        final Panel topoPanel = (Panel)execution.createComponents("/topoPortlet.zul", null, params);
      
        topoPanel.addEventListener("onClose", new EventListener()
        {
            @Override
            public void onEvent(Event arg0) throws Exception
            {
                portletKeySet.remove(topoPanel.getAttribute("portletKey"));
            }
        });
       
        int leftChildCounter = left.getChildren().size();
        int rightChildCounter = right.getChildren().size();
       
        if (leftChildCounter <= rightChildCounter)
        {
            topoPanel.setParent(left);
        }
        else
        {
            topoPanel.setParent(right);
        }

    }
View Full Code Here

Examples of rocket.widget.client.Panel

    while (true) {
      final List<SplitterItem> items = this.getItems();
      items.add(beforeIndex, item);

      final Panel panel = this.getPanel();
      final Widget widget = item.getWidget();

      // if this is the only widget no need to add a splitter before or
      // after...
      if (items.size() == 1) {
        panel.insert(widget, 0);
        break;
      }

      int panelIndex = beforeIndex * 2;

      // if its the new first widget insert the widget then a splitter
      Widget first = widget;
      Widget second = this.createSplitter();

      if (beforeIndex > 0) {
        // not the first widget insert the splitter then the widget...
        Widget swap = first;
        first = second;
        second = swap;

        panelIndex--;
      }

      panel.insert(first, panelIndex + 0);
      panel.insert(second, panelIndex + 1);
      break;
    }

    this.redraw();
  }
View Full Code Here

Examples of wicket.markup.html.panel.Panel

      ViewContext infoViewContext = new ViewContext();
      infoViewContext.setApp(app);
      infoViewContext.setContextPage(this);
      infoViewContext.setPage(this);
      infoViewContext.setWicketId("lastInfoPanel");
      Panel lastInfoMinPanel;
      if (lastInfo != null) {
        lastInfoMinPanel = new EntityDisplayMinPanel(infoModelContext,
            infoViewContext);
      } else {
        lastInfoMinPanel = new Panel("lastInfoPanel");
        lastInfoMinPanel.setVisible(false);
      }
      add(lastInfoMinPanel);

      ModelContext blogEntriesModelContext = new ModelContext();
      blogEntriesModelContext.setDomainModel(app.getDomainModel());
View Full Code Here

Examples of window.panel.Panel

   * @throws MapFileException
   * @throws RealPlayerException
   */
  private Panel buildContentPane(int width, int height) throws MapFileException, JDOMException, IOException, RealPlayerException {

    content = new Panel();

    content.setLayout(null);
    content.setBackground(Color.GRAY);
   
    if(Launcher.customGame) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.