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

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


        List<Integer> rowPositions = RowGroupUtils.getRowPositionsInGroup(
                rowGroupExpandCollapseLayer, rowIndexes);

        ILayerEvent event;
        if (wasCollapsed) {
            event = new ShowRowPositionsEvent(rowGroupExpandCollapseLayer,
                    rowPositions);
        } else {
            event = new HideRowPositionsEvent(rowGroupExpandCollapseLayer,
                    rowPositions);
        }
View Full Code Here


    @Override
    public void showRowIndexes(Collection<Integer> rowIndexes) {
        hiddenRowIndexes.removeAll(rowIndexes);
        invalidateCache();
        fireLayerEvent(new ShowRowPositionsEvent(this,
                getRowPositionsByIndexes(rowIndexes)));
    }
View Full Code Here

    public void showAllRows() {
        Collection<Integer> hiddenRows = new ArrayList<Integer>(
                hiddenRowIndexes);
        hiddenRowIndexes.clear();
        invalidateCache();
        fireLayerEvent(new ShowRowPositionsEvent(this, hiddenRows));
    }
View Full Code Here

        // removeAll()
        for (final Integer expandedChildRowIndex : rowIndexes) {
            this.hiddenRowIndexes.remove(expandedChildRowIndex);
        }
        invalidateCache();
        fireLayerEvent(new ShowRowPositionsEvent(this, rowIndexes));
    }
View Full Code Here

     */
    public void expandAll() {
        List<Integer> rowIndexes = this.treeRowModel.expandAll();
        this.hiddenRowIndexes.clear();
        invalidateCache();
        fireLayerEvent(new ShowRowPositionsEvent(this, rowIndexes));
    }
View Full Code Here

TOP

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

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.