Package com.devsniper.desktop.customers.framework

Examples of com.devsniper.desktop.customers.framework.EntityTableColumn


*/
public class CountryPage extends AbstractDataPageView<Country> {

    @Override
    public void addTableColumns() {
        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Country.Page.Code"), "code", String.class, 100));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Country.Page.Name"), "name", String.class, 200));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Country.Page.Notes"), "notes", String.class, 200));
    }
View Full Code Here


*/
public class CustomerPage extends AbstractDataPageView<Customer> {

    @Override
    public void addTableColumns() {
        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.CompanyName"),
                "companyName", String.class, 300));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.FirstName"),
                "contactFirstName", String.class, 200));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.LastName"),
                "contactLastName", String.class, 200));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.Category"),
                "category", Category.class, 200));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.Phone"),
                "phone", String.class, 150));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.Mobile"),
                "mobile", String.class, 150, false, false));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.Fax"),
                "fax", String.class, 150, false, false));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.Email"),
                "email", String.class, 150));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.Homepage"),
                "homepage", String.class, 150, false, false));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Customer.Page.Active"),
                "active", Boolean.class, 50, false, false));
    }
View Full Code Here

*/
public class CategoryPage extends AbstractDataPageView<Category> {

    @Override
    public void addTableColumns() {
        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Category.Page.Name"), "name", String.class, 300));

        getTableModel().addColumn(new EntityTableColumn(
                I18n.CUSTOMERS.getString("Category.Page.Notes"), "notes", String.class, 500));
    }
View Full Code Here

TOP

Related Classes of com.devsniper.desktop.customers.framework.EntityTableColumn

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.