Examples of TableLayoutData


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

    fieldSet.add( createFieldPanel( this.from ) );
    fieldSet.add( createFieldPanel( this.to ) );
    fieldSet.add( createFieldPanel( this.cc ) );
    fieldSet.add( createFieldPanel( this.subject ) );
    fieldSet.add( createFieldPanel( this.content ), new TableLayoutData( 2 ) );
    fieldSet.add( createFieldPanel( this.dateFrom ) );
    fieldSet.add( createFieldPanel( this.dateTo ) );

    this.searchButton = new Button( TextProvider.get().extended_search_panel_search() );
    fieldSet.add( this.searchButton );
View Full Code Here

Examples of nextapp.echo2.app.layout.TableLayoutData

                    break;
                default :
                    align = Alignment.LEFT;
            }
           
            TableLayoutData layoutData = (TableLayoutData)((Label)component).getLayoutData();
            layoutData.setAlignment(new Alignment(align, Alignment.CENTER));
            ((Label)component).setLayoutData(layoutData);
        }
        return component;
    }
View Full Code Here

Examples of nextapp.echo2.app.layout.TableLayoutData

                        component = new JbsLabel();
                    }
                    break;
                case 4 :
                    component = super.getTableCellRendererComponent(table, value, column, row);
                    TableLayoutData rightLayout = new TableLayoutData();
                    rightLayout.setAlignment(Alignment.ALIGN_RIGHT);
                    component.setLayoutData(rightLayout);
                    break;
                case 5 :
                    component = super.getTableCellRendererComponent(table, value, column, row);
                    TableLayoutData sumPayedLayout = new TableLayoutData();
                    sumPayedLayout.setAlignment(Alignment.ALIGN_RIGHT);
                    component.setLayoutData(sumPayedLayout);
                    break;
                case 6:
                    final JbsButton btnShowInvoice = new JbsButton("Ansehen");
                    btnShowInvoice.addActionListener(new ActionListener() {
View Full Code Here

Examples of nextapp.echo2.app.layout.TableLayoutData

        StyleSheet stylesheet = Styles.DEFAULT_STYLE_SHEET;
        Style style = stylesheet.getStyle(nextapp.echo2.app.Component.class, "TblJbsBaseObject.Header");
        component.setStyle(style);

        TableLayoutData layout = (TableLayoutData) style.getProperty("layoutData");
        // remove the button's background
        component.setBackground(null);
        //set the button's layoutData
        component.setLayoutData(layout);
View Full Code Here

Examples of nextapp.echo2.app.layout.TableLayoutData

        @Override
        public Component getTableCellRendererComponent(Table table, Object value, int column, int row) {
            Label label = (Label) super.getTableCellRendererComponent(table, value, column, row);
           // DragSource dragSource = new DragSource(label);

            TableLayoutData layoutData = new TableLayoutData();
            int align;
            switch (column) {
                case 1:
                    align = Alignment.CENTER;
                    break;
                case 3:
                    align = Alignment.RIGHT;
                    break;
                case 4:
                    align = Alignment.RIGHT;
                    break;
                default:
                    align = Alignment.LEFT;
            }
            layoutData.setAlignment(new Alignment(align, Alignment.CENTER));
            label.setLayoutData(layoutData);
            return label;
        }
View Full Code Here

Examples of nextapp.echo2.app.layout.TableLayoutData

   
    StyleSheet stylesheet = Styles.DEFAULT_STYLE_SHEET;
    Style style = stylesheet.getStyle( nextapp.echo2.app.Component.class, "TblJbsBaseObject.Header");
    component.setStyle(style);
   
    TableLayoutData layout = (TableLayoutData) style.getProperty("layoutData");
    // remove the button's background
    component.setBackground(null);
    //set the button's layoutData
    component.setLayoutData(layout);
View Full Code Here

Examples of nextapp.echo2.app.layout.TableLayoutData

             * @see nextapp.echo2.app.table.TableCellRenderer#getTableCellRendererComponent(nextapp.echo2.app.Table,
             *      java.lang.Object, int, int)
             */
            public Component getTableCellRendererComponent(Table table, Object value, int column, int row) {
                Label label = new Label(value == null ? null : value.toString());
                TableLayoutData layoutData = new TableLayoutData();
                layoutData.setAlignment(alignment);
                label.setLayoutData(layoutData);
                return label;
            }
        };
    }
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.