Package org.jbpm.formbuilder.client.form.items

Examples of org.jbpm.formbuilder.client.form.items.TableLayoutFormItem.removeColumn()


            @Override
            public void undoAction(UndoableEvent event) {
                TableLayoutFormItem item = (TableLayoutFormItem) event.getData("item");
                Integer selectedX = (Integer) event.getData("selectedX");
                int columnNumber = item.getColumnForXCoordinate(selectedX);
                item.removeColumn(columnNumber);
            }
            @Override
            public void onEvent(UndoableEvent event) { }
            @Override
            public void doAction(UndoableEvent event) {
View Full Code Here


            @Override
            public void doAction(UndoableEvent event) {
                TableLayoutFormItem item = (TableLayoutFormItem) event.getData("item");
                Integer selectedX = (Integer) event.getData("selectedX");
                int colNumber = item.getColumnForXCoordinate(selectedX);
                List<FBFormItem> deletedColumn = item.removeColumn(colNumber);
                event.setData("deletedColumn", deletedColumn);
            }
        }));
    }
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.