7374757677787980818283
cleanupColumnIndexes(columnIndexes); } ILayerEvent event; if (wasCollapsed) { event = new ShowColumnPositionsEvent( columnGroupExpandCollapseLayer, columnIndexes); } else { event = new HideColumnPositionsEvent( columnGroupExpandCollapseLayer, columnIndexes); }
130131132133134135136137
} public void showColumnIndexes(Collection<Integer> columnIndexes) { hiddenColumnIndexes.removeAll(columnIndexes); invalidateCache(); fireLayerEvent(new ShowColumnPositionsEvent(this, getColumnPositionsByIndexes(columnIndexes))); }
139140141142143144145
public void showAllColumns() { Collection<Integer> hiddenColumns = new ArrayList<Integer>( hiddenColumnIndexes); hiddenColumnIndexes.clear(); invalidateCache(); fireLayerEvent(new ShowColumnPositionsEvent(this, hiddenColumns)); }
4849505152535455
}); viewportLayer.setOriginX(viewportLayer.getStartXOfColumnPosition(2)); viewportLayer.setOriginY(viewportLayer.getStartYOfRowPosition(2)); event = new ShowColumnPositionsEvent(dataLayer, Arrays.asList(new Integer[] { 2, 4, 7, 8, 9 })); }