Package com.gwtext.client.widgets.layout

Examples of com.gwtext.client.widgets.layout.BorderLayoutData


    this.contactListPanel = (ContactListPanel) PanelRegistry.CONTACT_LIST_PANEL_FOR_WINDOW.get();
    this.contactListPanel.setAutoHeight( false );
    this.contactListPanel.setHeight( 250 );
    this.contactListPanel.addGridRowListener( new ContactGridRowListener() );
    add( this.contactListPanel, new BorderLayoutData( RegionPosition.NORTH ) );

    FormPanel addressPanel = createAddressLines();
    add( addressPanel, new BorderLayoutData( RegionPosition.CENTER ) );

    this.okButton = new Button( TextProvider.get().common_button_ok() );
    addButton( this.okButton );

    this.cancelButton = new Button( TextProvider.get().common_button_cancel() );
View Full Code Here


    super();

    setLayout( new BorderLayout() );

    BorderLayoutData centerLayoutData = new BorderLayoutData( RegionPosition.CENTER );
    centerLayoutData.setMargins( new Margins( 5, 0, 5, 5 ) );

    Panel centerPanelWrappper = new Panel();
    centerPanelWrappper.setLayout( new FitLayout() );
    centerPanelWrappper.setBorder( false );
    centerPanelWrappper.setBodyBorder( false );

    // this.listDetailsPanel.setMessagesPanelActive();

    // setup the west regions layout properties
    BorderLayoutData leftPanelLayoutData = new BorderLayoutData( RegionPosition.WEST );
    leftPanelLayoutData.setMargins( new Margins( 5, 5, 0, 5 ) );
    leftPanelLayoutData.setCMargins( new Margins( 5, 5, 5, 5 ) );
    leftPanelLayoutData.setMinSize( 155 );
    leftPanelLayoutData.setSplit( true );

    PanelRegistry.LEFT_PANEL.get().add( PanelRegistry.MAIL_FOLDER_PANEL.get() );
    PanelRegistry.LEFT_PANEL.get().add( PanelRegistry.CONTACT_FOLDER_PANEL.get() );

    add( PanelRegistry.LEFT_PANEL.get(), leftPanelLayoutData );
View Full Code Here

    setFrame( false );
    setAutoScroll( true );

    createTopBanner();

    BorderLayoutData topData = new BorderLayoutData( RegionPosition.NORTH );
    topData.setFloatable( true );
    topData.setMinHeight( 0 );
    add( this.topBanner, topData );

    this.contentPanel = new ManagedIFramePanel();
    this.contentPanel.setFrame( false );
    this.contentPanel.setBorder( false );
    this.contentPanel.setAutoScroll( false );
    this.contentPanel.setAutoHeight( true );

    BorderLayoutData centerData = new BorderLayoutData( RegionPosition.CENTER );
    centerData.setMinHeight( 0 );
    add( this.contentPanel, centerData );

    addListener( new ContainerListenerAdapter() {

      @Override
View Full Code Here

    super();
    setLayout( new BorderLayout() );
    setPaddings( 10 );
    setBorder( false );

    BorderLayoutData data = new BorderLayoutData( RegionPosition.CENTER );
    add( PanelRegistry.CONTACT_LIST_PANEL.get(), data );

    this.readingPaneLayoutData = new BorderLayoutData( readingPanePos );
    this.readingPaneLayoutData.setSplit( true );

    if ( readingPanePos.equals( RegionPosition.SOUTH ) ) {
      PanelRegistry.CONTACT_READING_PANE.get().setHeight( (Window.getClientHeight() - 80) / 2 );
    }
View Full Code Here

        tp.setLayoutOnTabChange(true);
        tp.setActiveTab(0);
        tp.setEnableTabScroll(true);
        tp.setMinTabWidth(90);

        centerLayoutData = new BorderLayoutData(RegionPosition.CENTER);
        centerLayoutData.setMargins(new Margins(5, 0, 5, 5));



        //listener to try and stop people from forgetting to save...
View Full Code Here

        mainPanel = new Panel();
        mainPanel.setLayout(new BorderLayout());
        mainPanel.setMargins(0, 0, 0, 0);

        BorderLayoutData northLayoutData = new BorderLayoutData(RegionPosition.NORTH);
        northLayoutData.setMargins(0, 0, 0, 0);

        BorderLayoutData centerLayoutData = new BorderLayoutData(RegionPosition.CENTER);
        centerLayoutData.setMargins(new Margins(5, 0, 5, 5));

        Panel centerPanelWrappper = new Panel();
        centerPanelWrappper.setLayout(new FitLayout());
        centerPanelWrappper.setBorder(false);
        centerPanelWrappper.setBodyBorder(false);

        if (bi.showChrome) {
            //setup the west regions layout properties
            BorderLayoutData westLayoutData = new BorderLayoutData(RegionPosition.WEST);
            westLayoutData.setMargins(new Margins(5, 5, 0, 5));
            westLayoutData.setCMargins(new Margins(5, 5, 5, 5));
            westLayoutData.setMinSize(155);
            westLayoutData.setMaxSize(350);
            westLayoutData.setSplit(true);

            //create the west panel and add it to the main panel applying the west region layout properties
            Panel westPanel = new Panel();
            westPanel.setId("side-nav");
            westPanel.setTitle(((Constants) GWT.create(Constants.class)).Navigate());
View Full Code Here

TOP

Related Classes of com.gwtext.client.widgets.layout.BorderLayoutData

Copyright © 2018 www.massapicom. 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.