Examples of FillLayout


Examples of com.extjs.gxt.ui.client.widget.layout.FillLayout

            }
            if (subNodesViewField != null) {
                ((ComboBox<GWTJahiaValueDisplayBean>)subNodesViewField.getField()).addSelectionChangedListener(listener);
            }

            tab.setLayout(new FillLayout());

            if (ctn == null) {
                ctn = new LayoutContainer(new FitLayout());
                tab.add(ctn);
                htmlPreview = new LayoutContainer();
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

  }

  public Composite configSectionCreate(final Composite parent) {
    if (!AzureusCoreFactory.isCoreRunning()) {
      Composite cSection = new Composite(parent, SWT.NULL);
      cSection.setLayout(new FillLayout());
      Label lblNotAvail = new Label(cSection, SWT.WRAP);
      Messages.setLanguageText(lblNotAvail, "core.not.available");
      return cSection;
    }
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

  }

  public static void main(String[] args) {
    Display display = new Display();
    Shell shell = new Shell(display, SWT.SHELL_TRIM);
    shell.setLayout(new FillLayout(SWT.VERTICAL));

    final Label label = new Label(shell, SWT.BORDER);

    final Text text = new Text(shell, SWT.BORDER);
    text.addModifyListener(new ModifyListener() {
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

        GridData gridData;

        Composite cSection = new Composite(parent, SWT.NULL);
       
        if (!AzureusCoreFactory.isCoreRunning()) {
          cSection.setLayout(new FillLayout());
          Label lblNotAvail = new Label(cSection, SWT.WRAP);
          Messages.setLanguageText(lblNotAvail, "core.not.available");
          return cSection;
        }
       
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

    initialized = true;
    refresh();
  }

  private void createPieceDistPanel() {
    comp.setLayout(new FillLayout());
    //pieceDistComposite = new Composite(parent, SWT.NONE);
    pieceDistCanvas = new Canvas(comp,SWT.NONE);
    pieceDistCanvas.addListener(SWT.Paint, new Listener() {
      public void handleEvent(Event event) {
        if (imgToPaint != null && !imgToPaint.isDisposed()) {
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

    splash = new Shell(display, SWT.NO_TRIM);
    splash.setText(Constants.APP_NAME);
    Utils.setShellIcon(splash);

    splash.setLayout(new FillLayout());
    canvas = new Canvas(splash, SWT.DOUBLE_BUFFERED);

    ImageLoader imageLoader = ImageLoader.getInstance();
    background = imageLoader.getImage(IMG_SPLASH);
    if (ImageLoader.isRealImage(background)) {
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

      final Shell parentShell = Utils.findAnyShell();
     
      final Shell shell = current_shell =
        ShellFactory.createShell(parentShell, SWT.BORDER | SWT.APPLICATION_MODAL | SWT.TITLE | SWT.DIALOG_TRIM );
     
      shell.setLayout(new FillLayout());
     
      if (parentShell != null) {
        parentShell.setCursor(shell.getDisplay().getSystemCursor(SWT.CURSOR_WAIT));
      }
     
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

        if (d == null)
          return;

        // We don't get mouse down notifications on trim or borders..
        toolTipShell = new Shell(table.getShell(), SWT.ON_TOP);
        FillLayout f = new FillLayout();
        try {
          f.marginWidth = 3;
          f.marginHeight = 1;
        } catch (NoSuchFieldError e) {
          /* Ignore for Pre 3.0 SWT.. */
 
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

        _toolbarComposite.setVisible(false);
  

        _editorComposite= new Composite(composite, SWT.NONE);
        _editorComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
        FillLayout fillLayout= new FillLayout(SWT.VERTICAL);
        fillLayout.marginHeight= 0;
        fillLayout.marginWidth= 0;
        fillLayout.spacing= 0;
        _editorComposite.setLayout(fillLayout);
       
View Full Code Here

Examples of org.eclipse.swt.layout.FillLayout

            Composite composite = new Composite(parent, SWT.NONE);
            GridData data = new GridData(GridData.FILL, GridData.FILL, true, true);
            data.minimumWidth = 500;
            data.minimumHeight = 200;
            composite.setLayoutData(data);
            composite.setLayout(new FillLayout());
            _text = new Text(composite, SWT.MULTI|SWT.V_SCROLL);
            _text.setText(_initialValue);
            return composite;
        }
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.