Package com.gwtext.client.widgets.layout

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


    this.subjectLine.setAutoHeight( true );
    this.subjectLine.setLayout( new ColumnLayout() );
    this.subjectPanel = new HTMLPanel();
    this.subjectPanel.addStyleName( "message-subject" );
    this.subjectLine.add( this.subjectPanel, new ColumnLayoutData( 1.0 ) );
    this.topBanner.add( this.subjectLine, new RowLayoutData() );
    this.subjectLine.setVisible( false );

    this.fromLine = new Panel();
    this.fromLine.setPaddings( 1, 0, 0, 2 );
    this.fromLine.setLayout( new ColumnLayout() );
    this.fromLine.setAutoHeight( true );
    HTMLPanel label = new HTMLPanel( "<b>" + TextProvider.get().message_reading_pane_panel_from() + "<b>" );
    label.setWidth( LABEL_WIDTH );
    this.fromLine.add( label );
    this.fromPanel = new EmailAddressLinePanel();
    this.fromLine.add( this.fromPanel, new ColumnLayoutData( 1.0 ) );
    this.topBanner.add( this.fromLine, new RowLayoutData() );
    this.fromLine.setVisible( false );

    this.toLine = new Panel();
    this.toLine.setPaddings( 1, 0, 0, 2 );
    this.toLine.setLayout( new ColumnLayout() );
    this.toLine.setAutoHeight( true );
    label = new HTMLPanel( "<b>" + TextProvider.get().message_reading_pane_panel_to() + "<b>" );
    label.setWidth( LABEL_WIDTH );
    this.toLine.add( label );
    this.toPanel = new EmailAddressLinePanel();
    this.toLine.add( this.toPanel, new ColumnLayoutData( 1.0 ) );
    this.topBanner.add( this.toLine, new RowLayoutData() );
    this.toLine.setVisible( false );

    this.ccLine = new Panel();
    this.ccLine.setPaddings( 1, 0, 0, 2 );
    this.ccLine.setAutoHeight( true );
    this.ccLine.setLayout( new ColumnLayout() );
    label = new HTMLPanel( "<b>" + TextProvider.get().message_reading_pane_panel_cc() + "<b>" );
    label.setWidth( LABEL_WIDTH );
    this.ccLine.add( label );
    this.ccPanel = new EmailAddressLinePanel();
    this.ccLine.add( this.ccPanel, new ColumnLayoutData( 1.0 ) );
    this.topBanner.add( this.ccLine, new RowLayoutData() );
    this.ccLine.setVisible( false );

    this.replyToLine = new Panel();
    this.replyToLine.setPaddings( 1, 0, 0, 2 );
    this.replyToLine.setAutoHeight( true );
    this.replyToLine.setLayout( new ColumnLayout() );
    label = new HTMLPanel( "<b>" + TextProvider.get().message_reading_pane_panel_replyto() + "<b>" );
    label.setWidth( LABEL_WIDTH );
    this.replyToLine.add( label );
    this.replyToPanel = new EmailAddressLinePanel();
    this.replyToLine.add( this.replyToPanel, new ColumnLayoutData( 1.0 ) );
    this.topBanner.add( this.replyToLine, new RowLayoutData() );
    this.replyToLine.setVisible( false );

    this.dateLine = new Panel();
    this.dateLine.setPaddings( 1, 0, 0, 2 );
    this.dateLine.setAutoHeight( true );
    this.dateLine.setLayout( new ColumnLayout() );
    label = new HTMLPanel( "<b>" + TextProvider.get().message_reading_pane_panel_date() + "<b>" );
    label.setWidth( LABEL_WIDTH );
    this.dateLine.add( label );
    this.datePanel = new HTMLPanel();
    this.datePanel.setHtml( GWTUtil.formatDate( new Date() ) );
    this.dateLine.add( this.datePanel, new ColumnLayoutData( 1.0 ) );
    this.topBanner.add( this.dateLine, new RowLayoutData() );
    this.dateLine.setVisible( false );

    this.attachmentLine = new Panel();
    this.attachmentLine.setAutoHeight( true );
    this.attachmentLine.setBorder( false );
    this.attachmentLine.setFrame( false );
    this.attachmentLine.setPaddings( 1, 0, 0, 2 );
    this.attachmentLine.setLayout( new ColumnLayout() );
    label = new HTMLPanel( "<b>" + TextProvider.get().message_reading_pane_panel_attachment() + "<b>" );
    label.setWidth( LABEL_WIDTH );
    this.attachmentLine.add( label );
    this.attachmentPanel = new Panel();
    this.attachmentPanel.setLayout( new ColumnLayout() );
    this.attachmentLine.add( this.attachmentPanel, new ColumnLayoutData( 1.0 ) );
    this.topBanner.add( this.attachmentLine, new RowLayoutData() );
    this.attachmentLine.setVisible( false );

    this.imageLoadLine = new Panel();
    this.imageLoadLine.setAutoHeight( true );
    this.imageLoadLine.setBorder( false );
    this.imageLoadLine.setFrame( false );
    this.imageLoadLine.setPaddings( 1, 0, 0, 2 );
    this.imageLoadLine.setLayout( new ColumnLayout() );
    this.imageLoadLine.add( new ImagesNotLoadedWarning() );
    this.topBanner.add( this.imageLoadLine, new RowLayoutData() );
    this.imageLoadLine.setVisible( false );
  }
View Full Code Here

TOP

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

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.