public class MaxCellBoundsHelper extends Object
AutoResizeColumnCommandHandler
and AutoResizeRowCommandHandler
Constructor and Description |
---|
MaxCellBoundsHelper() |
Modifier and Type | Method and Description |
---|---|
static int[] |
getPreferredColumnWidths(IConfigRegistry configRegistry,
GCFactory gcFactory,
ILayer layer,
int[] columnPositions) |
static int[] |
getPreferredRowHeights(IConfigRegistry configRegistry,
GCFactory gcFactory,
ILayer layer,
int[] rows) |
static int[] |
greater(int[] array1,
int[] array2)
Traverse the two arrays and return the greater element in each index position.
|
public static int[] getPreferredColumnWidths(IConfigRegistry configRegistry, GCFactory gcFactory, ILayer layer, int[] columnPositions)
public static int[] getPreferredRowHeights(IConfigRegistry configRegistry, GCFactory gcFactory, ILayer layer, int[] rows)
public static int[] greater(int[] array1, int[] array2)
Copyright © 2013. All Rights Reserved.