Package org.eclipse.nebula.widgets.nattable.hideshow.event

Examples of org.eclipse.nebula.widgets.nattable.hideshow.event.ShowColumnPositionsEvent


            cleanupColumnIndexes(columnIndexes);
        }

        ILayerEvent event;
        if (wasCollapsed) {
            event = new ShowColumnPositionsEvent(
                    columnGroupExpandCollapseLayer, columnIndexes);
        } else {
            event = new HideColumnPositionsEvent(
                    columnGroupExpandCollapseLayer, columnIndexes);
        }
View Full Code Here


    }

    public void showColumnIndexes(Collection<Integer> columnIndexes) {
        hiddenColumnIndexes.removeAll(columnIndexes);
        invalidateCache();
        fireLayerEvent(new ShowColumnPositionsEvent(this,
                getColumnPositionsByIndexes(columnIndexes)));
    }
View Full Code Here

    public void showAllColumns() {
        Collection<Integer> hiddenColumns = new ArrayList<Integer>(
                hiddenColumnIndexes);
        hiddenColumnIndexes.clear();
        invalidateCache();
        fireLayerEvent(new ShowColumnPositionsEvent(this, hiddenColumns));
    }
View Full Code Here

        });
        viewportLayer.setOriginX(viewportLayer.getStartXOfColumnPosition(2));
        viewportLayer.setOriginY(viewportLayer.getStartYOfRowPosition(2));

        event = new ShowColumnPositionsEvent(dataLayer,
                Arrays.asList(new Integer[] { 2, 4, 7, 8, 9 }));
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.hideshow.event.ShowColumnPositionsEvent

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.