/** * Construct a new {@link DefaultSelectionEventManager} that allows selection * only for the columns in the specified whitelist. * * @param <T> the data type of the display * @param whitelistedColumns the columns to include in the whitelist * @return a {@link DefaultSelectionEventManager} instance */ public static <T> DefaultSelectionEventManager<T> createWhitelistManager( int... whitelistedColumns) { return new DefaultSelectionEventManager<T>(new WhitelistEventTranslator<T>( whitelistedColumns)); }
/** * Construct a new {@link DefaultSelectionEventManager} that allows selection * only for the columns in the specified whitelist. * * @param <T> the data type of the display * @param whitelistedColumns the columns to include in the whitelist * @return a {@link DefaultSelectionEventManager} instance */ public static <T> DefaultSelectionEventManager<T> createWhitelistManager( int... whitelistedColumns) { return new DefaultSelectionEventManager<T>(new WhitelistEventTranslator<T>( whitelistedColumns)); }
/** * Construct a new {@link DefaultSelectionEventManager} that allows selection * only for the columns in the specified whitelist. * * @param <T> the data type of the display * @param whitelistedColumns the columns to include in the whitelist * @return a {@link DefaultSelectionEventManager} instance */ public static <T> DefaultSelectionEventManager<T> createWhitelistManager( int... whitelistedColumns) { return new DefaultSelectionEventManager<T>(new WhitelistEventTranslator<T>( whitelistedColumns)); }