Examples of LayoutItem


Examples of com.nexirius.framework.dataviewer.LayoutItem

        // go thru all layout items and call doLayout on them

        LayoutEnumeration e = layoutArray.getEnumeration();

        while (e.hasMore()) {
            LayoutItem l = (LayoutItem) e.next();

            l.doLayout(parent_viewer);
        }

        // move and resize the JComponent
        defaultLayout(parent_viewer.getJComponent(), parent_viewer.getFactory());
    }
View Full Code Here

Examples of com.nexirius.framework.dataviewer.LayoutItem

        if (panel == null) {

            return;
        }

        LayoutItem layout = getLayout();
        DataModel model = getAssistantModel().getActModel();
        String name = model.getFieldName();
        JComponent comp = (JComponent) cards.get(name);

        try {

            if (comp == null) {
                if (layout == null) {
                    // create comp with default viewer
                    DataViewer viewer = getFactory().createDefaultEditor(model);

                    comp = viewer.getJComponent();

                    add(comp);
                } else {

                    layout.doLayout(this);
                }
            }

            ((CardLayout) panel.getLayout()).show(panel, name);
        } catch (Exception ex) {
View Full Code Here

Examples of com.nexirius.framework.dataviewer.LayoutItem

        // go thru all layout items and call doLayout on them

        LayoutEnumeration e = layoutArray.getEnumeration();

        while (e.hasMore()) {
            LayoutItem l = (LayoutItem) e.next();

            l.doLayout(parent_viewer);
        }

        defaultLayout(parent_viewer.getJComponent(), parent_viewer.getFactory());
    }
View Full Code Here

Examples of com.nexirius.framework.dataviewer.LayoutItem

        // go thru all layout items and call doLayout on them

        LayoutEnumeration e = layoutArray.getEnumeration();

        while (e.hasMore()) {
            LayoutItem l = (LayoutItem) e.next();

            l.doLayout(parent_viewer);
        }

        // move and resize the JComponent
        defaultLayout(parent_viewer.getJComponent(), parent_viewer.getFactory());
    }
View Full Code Here

Examples of name.shamansir.mvp4glayoutdemo.client.layout.LayoutItem

        Layouts.register(L.LIST, new Layouts.LazyMaker() {           
            @Override public Layout create() { return new LayoutList(); }});
        Layouts.register(L.EDIT, new Layouts.LazyMaker() {           
            @Override public Layout create() { return new LayoutEdit(); }});
        Layouts.register(L.ITEM, new Layouts.LazyMaker() {           
            @Override public Layout create() { return new LayoutItem(); }});
        Layouts.register(L.SINGLE, new Layouts.LazyMaker() {           
            @Override public Layout create() { return new LayoutSingle(); }});
        Layouts.register(L.DOUBLE, new Layouts.LazyMaker() {           
            @Override public Layout create() { return new LayoutDouble(); }});       
        Layouts.register(L.TRIPLE, new Layouts.LazyMaker() {           
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.