Examples of layout()


Examples of org.apache.isis.viewer.dnd.View.layout()

    }

    public void layout(final Size maximumSize) {
        for (int i = 0; i < views.size(); i++) {
            View view = (View) views.elementAt(i);
            view.layout(new Size());
        }

    }

    public Size getRequiredSize(final Size maximumSize) {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.table.TableRowLayout.layout()

            }
        });

        final TableRowLayout layout = new TableRowLayout(tableAxis);

        layout.layout(row, new Size(200, 200));
        mockery.assertIsSatisfied();

        Assert.assertEquals(new Size(80, 10), cell1.getSize());
        Assert.assertEquals(new Size(80, 10), cell2.getSize());
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.layout()

    @Override
    protected void doLayout(final Size maximumSize) {
        final View view = getSubviews()[0];
        view.setSize(view.getRequiredSize(maximumSize));
        view.layout();
    }

    @Override
    protected void buildView() {
        ViewSpecification internalSpecification;
View Full Code Here

Examples of org.apache.myfaces.tobago.internal.layout.LayoutContext.layout()

    // invoke prepareRender
    RenderUtils.prepareRendererAll(facesContext, page);

    LayoutContext layoutContext = new LayoutContext(page);
    layoutContext.layout();

    TobagoResponseWriter writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);

    // reset responseWriter and render page
    facesContext.setResponseWriter(writer);
View Full Code Here

Examples of org.chromium.debug.ui.source.SourceNameMapperContainerDialog.ContainerStatusGroup.layout()

        ContainerStatusGroup group = elements.getContainerStatusGroup();
        group.getStatusLabel().setText(status);
        group.getTypeImageLabel().setImage(image);
        group.getContainerNameLabel().setText(name);
        group.setEnabled(enabled);
        group.layout();
      }
    };
    updater.addConsumer(rootScope, showContainerTypeValue);
    updater.addDependency(showContainerTypeValue, containerFactoryButtonValue);
View Full Code Here

Examples of org.eclipse.draw2d.LayoutManager.layout()

   *            <LI>{@link org.eclipse.draw2d.PositionConstants#SOUTH}
   *            </UL>
   */
  public void automaticallyLayoutGraphs(int direction) {
    LayoutManager layoutMgr = new GraphLayoutManager(this, direction);
    layoutMgr.layout(getFigure());

    getFigure().setLayoutManager(new FreeformLayout());
    getFigure().revalidate();
  }

View Full Code Here

Examples of org.eclipse.jface.viewers.TableLayout.layout()

        tableLayout.addColumnData(new ColumnWeightData(0, 18, false));

        ControlListener columnResizeListener = new ControlAdapter() {
            // Javadoc inherited
            public void controlResized(ControlEvent event) {
                tableLayout.layout(table, true);
            }
        };

        TreeListener treeExpansionListener = new TreeListener() {
            private void treeChanged() {
View Full Code Here

Examples of org.eclipse.swt.custom.CTabFolder.layout()

            }
            else
            {
                folder.setTabHeight( -1 );
            }
            folder.layout( true, true );
        }
    }


    /**
 
View Full Code Here

Examples of org.eclipse.swt.custom.ScrolledComposite.layout()

     
      setupSC(item);

      if (filterText != null && filterText.length() > 0) {
        hilightText(item, filterText);
        item.layout(true, true);
      }

      cConfigSection.layout();
     
      updateHeader(section);
View Full Code Here

Examples of org.eclipse.swt.custom.TreeEditor.layout()

                + label.getToolTipText());
          }
          ((Composite) editor.getEditor()).layout(true, true);
          ((Composite) editor.getEditor()).pack(true);
          editor.minimumWidth = editor.getEditor().getSize().x;
          editor.layout();
        }
      }
    }
    if (extensions < 1 && editor != null) {
      editor.getEditor().dispose();
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.