Package com.ulcjava.base.application

Examples of com.ulcjava.base.application.GridBagConstraints


    private ItemListModel mainModel;

    public ULCComponent getULCComponent(ULCViewerFactory factory) {
        ULCBoxPane panel = new ULCBoxPane(1, 0);
        Insets insets = new Insets(2, 2, 2, 2);
        GridBagConstraints c1 = new GridBagConstraints(0, 0, 3, 1, 1.0, 1.0, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, insets, 0, 0);
        GridBagConstraints bc1 = new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, insets, 0, 0);
        GridBagConstraints bc2 = new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, insets, 0, 0);
        GridBagConstraints bc3 = new GridBagConstraints(2, 1, 1, 1, 1.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, insets, 0, 0);
        try {
            ULCComponent table = factory.createUlcViewer(mainModel.getArray(), false).getULCComponent(factory);
            panel.add(table, c1);

            ULCComponent editButton = factory.createUlcViewer(mainModel.getViewableChild(ItemListModel.EDIT_ITEM_COMMAND), true).getULCComponent(factory);
View Full Code Here

TOP

Related Classes of com.ulcjava.base.application.GridBagConstraints

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.