com.dua3.utility.swing.StyledDocumentConversionOption Maven / Gradle / Ivy
package com.dua3.utility.swing;
import java.util.function.Consumer;
/**
* Options controlling the conversion process.
*
* @param action the action to perform on the converter
*/
public record StyledDocumentConversionOption(Consumer super StyledDocumentConverter> action) {
void apply(StyledDocumentConverter converter) {
action.accept(converter);
}
}