Package com.nexirius.framework.dataviewer

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


        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

        // 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

        // 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

TOP

Related Classes of com.nexirius.framework.dataviewer.LayoutItem

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.