Examples of Panel


Examples of DisplayProject.controls.Panel

        }
        return qq_mainPanel;
    }

    public void setqq_mainPanel(Panel value) {
        Panel oldValue = qq_mainPanel;
        qq_mainPanel = value;
        this.qq_Listeners.firePropertyChange("qq_mainPanel", oldValue, value);
    }
View Full Code Here

Examples of com.adito.core.Panel

  String generateFragment() throws JspException {
    String framePosition = CoreUtil.getCookieValue("frame_" + getStyleId() + "_pos",
      (HttpServletRequest) pageContext.getRequest(),
      "");
    StringBuffer buf = new StringBuffer();
    Panel p = panelId == null ? null : PanelManager.getInstance().getPanel(panelId);
    if (p == null && getStyleId() == null) {
      throw new JspException("Frame tag requires either panelId or styleId attributes");
    }
    String frameState = CoreUtil.getCookieValue("frame_" + getStyleId(),
      (HttpServletRequest) pageContext.getRequest(),
      p != null ? p.getDefaultFrameState() : FRAME_NORMAL);
    buf.append("<div ");
    buf.append("id=\"");
    buf.append(getStyleId());
    buf.append("\"");
    if (getStyleClass() != null) {
      buf.append(" class=\"");
      buf.append(getStyleClass());
      buf.append("\"");
    }
    if (!framePosition.equals("") || frameState.equals(FRAME_CLOSED)) {
      buf.append(" style=\"");
      if (!framePosition.equals("")) {
        try {
          StringTokenizer t = new StringTokenizer(framePosition, ",");
          int x = Integer.parseInt(t.nextToken());
          int y = Integer.parseInt(t.nextToken());
          buf.append("left: ");
          buf.append(x);
          buf.append("px; top: ");
          buf.append(y);
          buf.append("px;");
        } catch (Exception e) {
        }
      }
      if (frameState.equals("closed") && (p == null || p.isCloseable())) {
        buf.append("display: none;");
      }
      buf.append("\" ");
    }
    buf.append(">");
    buf.append("<div id=\"");
    buf.append(getStyleId());
    buf.append("Container\"");
    if (frameState.equals(FRAME_COLLAPSED)) {
      buf.append(" style=\"position: relative; left: -17.2em\"");
    }
    buf.append(">");

    if (titleKey != null) {
      title = TagUtils.getInstance().message(pageContext, getBundle(), getLocale(), titleKey, new String[] {});
    }

    if (title != null && !title.equals("")) {
      buf.append("<div class=\"titleBar\"");
      if (p != null && p.isDragable()) {
        if (p.isDropable()) {
          buf.append(" onmousedown=\"registerDragAndDrop(event,'");
        } else {
          buf.append(" onmousedown=\"registerDrag(event, \'");
        }
        buf.append(getStyleId());
        buf.append("')\"");
      }
      buf.append(">");
      buf.append("<div class=\"titleInner\">");
      if (expander && (p == null || p.isCloseable())) {
        buf.append("<div class=\"expander\">");
        buf.append("<img id=\"");
        buf.append(getStyleId());
        buf.append("_collapse");
        buf.append("\" onclick=\"frameCollapse('");
        buf.append(getStyleId());
        buf.append("');\" src=\"");
        buf.append(CoreUtil.getThemePath(pageContext.getSession()) + "/images/collapse.gif");
        buf.append("\"/>");
        buf.append("</div>");
      }
      buf.append("<div class=\"");
      buf.append(titleClass != null ? titleClass : "title");
      buf.append("\"");
      if (titleId != null) {
        buf.append(" id=\"");
        buf.append(titleId);
        buf.append("\"");
      }
      buf.append(">");
      buf.append(title);
      buf.append("</div>");
      if (p == null || p.isCloseable() || p.isMinimizable()) {
        buf.append("<div class=\"actions\">");
        if (p == null || p.isMinimizable()) {
          buf.append("<img id=\"");
          buf.append(getStyleId());
          buf.append("_minimize");
          buf.append("\" onclick=\"frameMinimize('");
          buf.append(getStyleId());
          buf.append("');\" src=\"");
          buf.append(CoreUtil.getThemePath(pageContext.getSession()) + "/images/minimize.gif");
          if (frameState.equals(FRAME_MINIMIZED)) {
            buf.append("\" style=\"display: none");
          }
          buf.append("\"/>");
          buf.append("<img id=\"");
          buf.append(getStyleId());
          buf.append("_restore");
          buf.append("\" onclick=\"frameRestore('");
          buf.append(getStyleId());
          buf.append("');\" src=\"");
          buf.append(CoreUtil.getThemePath(pageContext.getSession()) + "/images/maximize.gif");
          if (frameState.equals(FRAME_NORMAL)) {
            buf.append("\" style=\"display: none");
          }
          buf.append("\"/>");
        }
        if (p == null || p.isCloseable()) {
          buf.append("<img id=\"");
          buf.append(getStyleId());
          buf.append("_close");
          buf.append("\" onclick=\"frameClose('");
          buf.append(getStyleId());
View Full Code Here

Examples of com.dodo.blog.ui.component.container.Panel

            asideItemLink.setStyle( MessageFormat.format( "font-size:{0}px;", randomSize ) );
            return asideItemLink;
        }
        else
        {
            Panel asideItem = new Panel();
            asideItem.setClassName( "aside-item" );
            add( asideItem );

            Panel asideItemStar = new Panel();
            asideItemStar.setClassName( "aside-item-star" );
            asideItem.add( asideItemStar );

            Anchor asideItemLink = new Anchor( "", title, url );
            asideItemLink.setClassName( "aside-item-link" );
            asideItem.add( asideItemLink );
View Full Code Here

Examples of com.eagerlogic.cubee.client.components.Panel

        this.heightProperty().set(25);
       
        HBox root = new HBox();
        this.getChildren().add(root);
       
        pnlName = new Panel();
        pnlName.widthProperty().bind(new AExpression<Integer>() {
           
            {
                bind(clientWidthProperty());
            }

            @Override
            public Integer calculate() {
                return (clientWidthProperty().get() - 10) / 2;
            }
        });
        pnlName.heightProperty().bind(heightProperty());
        root.getChildren().add(pnlName);
       
        // TODO make styleable
        Label lblName = new Label();
        lblName.textProperty().set(attribute.getName());
        lblName.widthProperty().bind(pnlName.clientWidthProperty());
        lblName.maxWidthProperty().bind(pnlName.clientWidthProperty());
        lblName.translateYProperty().bind(new AlignMiddleExp(pnlName, lblName));
        lblName.textOverflowProperty().set(ETextOverflow.ELLIPSIS);
        pnlName.getChildren().add(lblName);
       
        root.addEmptyCell(10);
       
        pnlValue = new Panel();
        pnlValue.widthProperty().bind(pnlName.widthProperty());
        pnlValue.heightProperty().bind(heightProperty());
        if (!attribute.isReadonly()) {
            pnlValue.cursorProperty().set(ECursor.POINTER);
            pnlValue.onClickEvent().addListener(new IEventListener<ClickEventArgs>() {
View Full Code Here

Examples of com.google.gwt.topspin.ui.client.Panel

   *
   * @param container the container in which the widget will be created
   */
  public TabPanel(Container container) {
    super(container);
    panel = new Panel(getCompositeContainer());

    tabBar = new TabBar(panel.getContainer());
    tabBar.addTabSelectedListener(new TabBar.TabSelectedListener() {
      public void onTabSelected(TabSelectedEvent event) {
        Tab tab = event.getTab();
View Full Code Here

Examples of com.google.gwt.user.client.ui.Panel

        summaryTable.addRow( summary );
    }

    public void showErrors( BuilderResult errors ) {

        Panel err = new SimplePanel();

        PackageBuilderWidget.showBuilderErrors(
                errors,
                err,
                clientFactory );
View Full Code Here

Examples of com.googlecode.mgwt.ui.client.widget.panel.Panel

  public AboutViewGwtImpl() {



    round = new Panel();

    FlexPanel flexPanel = new FlexPanel();
    flexPanel.setOrientation(Orientation.VERTICAL);
    flexPanel.setAlignment(Alignment.CENTER);
    round.add(flexPanel);
View Full Code Here

Examples of com.gwtext.client.widgets.Panel

      return false;
    }

    PanelProxy proxy = new PanelProxy(source.getProxy().getJsObj());
    proxy.getProxy().remove();
    final Panel proxyPanel = proxy.getPanel();

    Element parentNode = proxy.getPanel().getEl().getParentNode();
    new ExtElement(parentNode).removeChild(proxy.getPanel().getElement());
    if (pos != -1) {
      lastPosC.insert(pos, proxy.getPanel());
View Full Code Here

Examples of com.izforge.izpack.Panel

        String attribute;
        String panelattribute;
        String instance = Integer.toString(instanceNumber);

        String panelid = null;
        Panel p = this.getMetadata();
        if (p != null)
        {
            panelid = p.getPanelid();
        }
        try
        {
            input = parentFrame.getResource(SPEC_FILE_NAME);
        }
View Full Code Here

Examples of com.vaadin.ui.Panel

                    }
                })
        );
        toolbar.setSpacing(true);
        addComponent(toolbar);
        viewContainer = new Panel();
        viewContainer.setSizeFull();
        addComponent(viewContainer);
        setExpandRatio(viewContainer, 1f);
    }
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.