Examples of layout()


Examples of ae.java.awt.peer.ComponentPeer.layout()

                if (newfont != oldfont && (oldfont == null
                                           || !oldfont.equals(newfont))) {
                    peer.setFont(newfont);
                    peerFont = newfont;
                }
                peer.layout();
            }
            valid = true;
            if (!wasValid) {
                mixOnValidating();
            }
View Full Code Here

Examples of ae.sun.font.GlyphLayout.layout()

                                         int start,
                                         int limit,
                                         int flags) {

        GlyphLayout gl = GlyphLayout.get(null); // !!! no custom layout engines
        StandardGlyphVector gv = gl.layout(this, frc, text,
                                           start, limit-start, flags, null);
        GlyphLayout.done(gl);
        return gv;
    }
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.skin.SWTSkin.layout()

        VuzeMessageBox box = new VuzeMessageBox("Title", "Text", new String[] { "Ok", "Cancel" }, 0);
        box.setListener(new VuzeMessageBoxListener() {
          public void shellReady(Shell shell, SWTSkinObjectContainer soExtra) {
            SWTSkin skin = soExtra.getSkin();
            skin.createSkinObject("dlg.generic.test", "dlg.generic.test", soExtra);
            skin.layout(soExtra);
            shell.layout(true, true);
          }
        });
        box.open(null);
      }
View Full Code Here

Examples of com.ardor3d.extension.ui.UIFrame.layout()

        _initFrameTransform.applyForwardVector(vec);
        frame.setTransform(_initFrameTransform);
        frame.addTranslation(vec);
        Vector3.releaseTempInstance(vec);

        frame.layout();
    }

    public boolean isDragHandle(final UIComponent component, final int mouseX, final int mouseY) {
        return component == _uiFrameStatusBar.getResizeButton();
    }
View Full Code Here

Examples of com.ardor3d.extension.ui.UIPanel.layout()

                // use an scurve to smoothly shift origin
                parent.setHudXY(Math.round(MathUtils.lerp(sCurve, originX, endX)), Math.round(MathUtils.lerp(sCurve,
                        originY, endY)));

                parent.layout();
            }
        });
    }

    @Override
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.Layout.layout()

      actor.width = width;
      actor.height = height;
      if (actor instanceof Layout) {
        Layout layout = (Layout)actor;
        layout.invalidate();
        layout.layout();
      }
    }
  }

  public void draw (SpriteBatch batch, float parentAlpha) {
View Full Code Here

Examples of com.dotcms.repackage.org.xhtmlrenderer.pdf.ITextRenderer.layout()

        ITextRenderer renderer = new ITextRenderer();

        renderer.setDocument(pageID);
        Logger.debug(this, "Calling iText render");
        renderer.layout();
        try {
          Logger.debug(this, "Using iText to Create PDF");
          renderer.createPDF(resp.getOutputStream());

        } catch (DocumentException e) {
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.ContentPanel.layout()

        Dispatcher.forwardEvent(AppEvents.TabChange, entry);
      }
    });
    ContentPanel center = (ContentPanel) Registry.get(AppView.CENTER_PANEL);
    center.add(tabPanel);
    center.layout();
  }

  public void onShowPage(Entry entry) {
    Page page = entry.get("page");
    if (page == null) {
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.LayoutContainer.layout()

  protected void handleEvent(AppEvent event) {
    if (event.getType() == AppEvents.NavMail) {
      LayoutContainer wrapper = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);
      wrapper.removeAll();
      wrapper.add(container);
      wrapper.layout();
      return;
    }

    if (event.getType() == AppEvents.ViewMailItems) {
      Folder f = (Folder) event.getData("folder");
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.TabItem.layout()

                tabs.setSelection(firstErrorTab);
            }
            if (firstErrorField != null) {
                firstErrorField.focus();
            }
            firstErrorTab.layout();
            unmask();
            setButtonsEnabled(true);
            return false;
        } else {
          return true;
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.