Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a() - Method in interface com.dua3.utility.data.Color
-
Get the alpha component of this color as an integer.
- a() - Method in record class com.dua3.utility.data.HSVColor
- a() - Method in record class com.dua3.utility.data.RGBColor
- a() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Returns the value of the
a
record component. - a2b() - Method in interface com.dua3.utility.data.Converter
-
Provides a function to convert an object of type A to an object of type B.
- abort() - Method in class com.dua3.utility.concurrent.ProgressTracker.TaskUpdater
-
Mark task as aborted.
- abort(T) - Method in interface com.dua3.utility.concurrent.ProgressTracker
-
Abort task.
- abort(T) - Method in class com.dua3.utility.concurrent.ProgressView
- abort(T) - Method in class com.dua3.utility.fx.controls.ProgressView
- abort(T) - Method in class com.dua3.utility.swing.SwingProgressView
- ABORTED - Enum constant in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
Represents a task that has been aborted.
- about(Window) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new AboutDialog.
- AboutDialogBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Alert Dialogs.
- AbstractCurve2f - Class in com.dua3.utility.math.geometry
-
Abstract Base class for 2-dimensional curves.
- AbstractOptionBuilder<T,
B> - Class in com.dua3.utility.options -
Abstract builder for creating Option instances.
- AbstractOptionBuilder(ArgumentsParserBuilder, String, String, Class<T>) - Constructor for class com.dua3.utility.options.AbstractOptionBuilder
-
Constructs an instance of
AbstractOptionBuilder
with the specified arguments. - accept(T) - Method in interface com.dua3.utility.lang.LangUtil.ConsumerThrows
-
Performs this operation on the given argument.
- accept(File) - Method in class com.dua3.utility.swing.SwingFileFilter
- accept(File, String) - Method in class com.dua3.utility.swing.SwingFileFilter
- accept(Predicate<T>) - Method in class com.dua3.utility.spi.SpiLoader.LoaderBuilder
-
Sets a predicate for filtering instances of type T.
- AccumulationType() - Constructor for record class com.dua3.utility.text.RichTextJoiner.AccumulationType
-
Default constructor for the AccumulationType record.
- AccumulationType(List<RichText>, AtomicInteger) - Constructor for record class com.dua3.utility.text.RichTextJoiner.AccumulationType
-
Creates an instance of a
AccumulationType
record class. - accumulator() - Method in class com.dua3.utility.lang.BatchCollector
- accumulator() - Method in class com.dua3.utility.text.RichTextJoiner
- action() - Method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Returns the value of the
action
record component. - action() - Method in record class com.dua3.utility.swing.StyledDocumentConversionOption
-
Returns the value of the
action
record component. - action() - Method in record class com.dua3.utility.text.AnsiConversionOption
-
Returns the value of the
action
record component. - action() - Method in record class com.dua3.utility.text.HtmlConversionOption
-
Returns the value of the
action
record component. - action(Runnable) - Method in class com.dua3.utility.fx.controls.abstract_builders.ButtonBaseBuilder
-
Set the action for the button.
- action(EventHandler<ActionEvent>) - Method in class com.dua3.utility.fx.controls.abstract_builders.ButtonBaseBuilder
-
Set the event handler for the button.
- actualHeight() - Method in record class com.dua3.utility.text.FragmentedText
-
Returns the value of the
actualHeight
record component. - actualWidth() - Method in record class com.dua3.utility.text.FragmentedText
-
Returns the value of the
actualWidth
record component. - add(Vector2f) - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Vector addition.
- add(String) - Method in class com.dua3.utility.io.CsvReader.ListRowBuilder
- add(String) - Method in interface com.dua3.utility.io.CsvReader.RowBuilder
-
Add a value.
- add(String, byte[]) - Method in class com.dua3.utility.io.Zip
-
Add file to zip.
- add(String, InputStream) - Method in class com.dua3.utility.io.Zip
-
Add file to zip.
- add(String, Class<T>, Supplier<T>, InputControl<T>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add an unlabeled input control.
- add(String, Class<T>, Supplier<T>, InputControl<T>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- add(String, Class<T>, Supplier<T>, InputControl<T>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- add(String, Class<T>, Supplier<T>, InputControl<T>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- add(String, String, Class<T>, Supplier<T>, InputControl<T>, boolean) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled input control.
- add(String, String, Class<T>, Supplier<T>, InputControl<T>, boolean) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- add(String, String, Class<T>, Supplier<T>, InputControl<T>, boolean) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- add(String, String, Class<T>, Supplier<T>, InputControl<T>, boolean) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- add(T) - Method in class com.dua3.utility.data.Histogram
-
Adds an item to the histogram, incrementing its associated count.
- add(T) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- add(T) - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- add(T) - Method in class com.dua3.utility.lang.RingBuffer
-
Add item to the end of the collection.
- addActionListener(ActionListener) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Adds an ActionListener to the ComboBoxEx.
- addAll(Collection<? extends T>) - Method in class com.dua3.utility.lang.RingBuffer
-
Add item to end of collection.
- addAll(Collection<? extends T>) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- addAll(Collection<? extends T>) - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- addBatch() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Adds the current set of parameters as a batch entry.
- addButton(ButtonType, DialogPaneBuilder.ResultHandler<? super R>, Consumer<? super InputDialogPane<R>>, ObservableBooleanValue) - Method in class com.dua3.utility.fx.controls.InputDialogPane
-
Adds a button to the dialog pane with the specified type, result handler, action, and enablement state.
- addButton(ButtonType, Consumer<InputDialogPane<R>>, BooleanExpression) - Method in class com.dua3.utility.fx.controls.WizardDialog.Page
-
Adds a button to the current page of the wizard dialog.
- addChangeListener(BiConsumer<? super T, ? super T>) - Method in interface com.dua3.utility.concurrent.ReadOnlyValue
-
Adds a change listener for the given method.
- addChangeListener(BiConsumer<? super T, ? super T>) - Method in class com.dua3.utility.concurrent.SimpleValue
- addCheck(Control, String, BooleanSupplier, Observable...) - Method in class com.dua3.utility.fx.controls.Validator
-
Custom validation.
- addCheck(Control, String, ObservableValue<Boolean>) - Method in class com.dua3.utility.fx.controls.Validator
-
Custom validation.
- addDecoration(Node, Pos, Node, String) - Static method in class com.dua3.utility.fx.controls.Decoration
-
Adds a decoration to a specified
Node
at a given position with an identifiable ID. - addDefaultMappings() - Static method in class com.dua3.utility.text.HtmlConverter
-
Add default mappings for the standard
TextAttributes
. - addDropFilesSupport(JComponent, Consumer<? super Collection<File>>) - Static method in class com.dua3.utility.swing.SwingUtil
-
Add support for dropping Files on a component.
- addDropFilesSupport(JComponent, Consumer<? super Collection<File>>, Predicate<? super Collection<File>>, Consumer<? super Exception>) - Static method in class com.dua3.utility.swing.SwingUtil
-
Add support for dropping Files on a component.
- addDropTextSupport(JComponent, Consumer<? super String>) - Static method in class com.dua3.utility.swing.SwingUtil
-
Add support for dropping text on a component.
- addDropTextSupport(JComponent, Consumer<? super String>, Predicate<? super String>, Consumer<? super Exception>) - Static method in class com.dua3.utility.swing.SwingUtil
-
Add support for dropping text on a component.
- addEnumOption(String, String, Repetitions, String, Supplier<T>, Class<T>, String, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds an enumerated option to the current context.
- addField(Object) - Method in class com.dua3.utility.io.CsvWriter
-
Adds a field to the current row in the CSV writer.
- addFilter(String, String...) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Add filter to the list of filters.
- addFirst(T) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- addFirst(T) - Method in class com.dua3.utility.lang.RingBuffer
- addFlag(String, String, String, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds a flag option to the ArgumentsParserBuilder with a specified display name, description, and switches.
- addIf(Predicate<? super T>, Collection<? super T>, T...) - Static method in class com.dua3.utility.lang.LangUtil
-
Adds the specified items to a collection if they satisfy the given predicate.
- addIfNonNull(Collection<? super T>, T...) - Static method in class com.dua3.utility.lang.LangUtil
-
Adds the given non-null items to the collection.
- addIntegerOption(String, String, Repetitions, String, Supplier<Integer>, String, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds an integer option to the ArgumentsParserBuilder with specified configuration options.
- addItemListener(ItemListener) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Adds an ItemListener to the ComboBoxEx.
- addLast(T) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- addLast(T) - Method in class com.dua3.utility.lang.RingBuffer
- addLogBufferListener(LogBuffer.LogBufferListener) - Method in class com.dua3.utility.logging.LogBuffer
-
Add LogBufferListener.
- addLogEntryHandler(LogEntryHandler) - Method in class com.dua3.utility.logging.log4j.LogAppenderLog4j.LogEntryDispatcherLog4J
- addLogEntryHandler(LogEntryHandler) - Method in interface com.dua3.utility.logging.LogEntryDispatcher
-
Adds a handler for log entry events.
- addLogEntryHandler(LogEntryHandler) - Method in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
- addMargin(float) - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Returns a new
Dimension2f
object with a margin added to both width and height. - addMargin(float) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Adds a margin to the current rectangle, i.e., create a rectangle with the same center as this rectangle but with borders pushed out by the amount given by
m
. - addMargin(float, float) - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Adds a margin to the current width and height with separate margins for each direction.
- addMargin(float, float) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Adds a margin to the current rectangle, i.e., create a rectangle with the same center as this rectangle but with borders pushed out by the amount given by
mx
andmy
. - addMargin(float, float, float, float) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Adds a margin to the current rectangle, creating a new rectangle with the same center as this rectangle but with borders pushed out by the specified margins.
- addMouseEventHandler(Node, EventType<MouseEvent>, EventHandler<? super MouseEvent>) - Static method in class com.dua3.utility.fx.FxUtil
-
Attaches a mouse event handler to a given node for a specific event type.
- addNode(String, String, Node) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- addNode(String, String, Node) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled input control.
- addNode(String, String, Node) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- addNode(String, String, Node) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- addNode(String, Node) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add an unlabeled input control.
- addNode(String, Node) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- addNode(String, Node) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- addNode(String, Node) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- addObjectOption(String, String, Repetitions, String, Supplier<T>, Class<T>, Converter<String, T>, String, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds an object option to be parsed with specific parameters and switches.
- addOption(O) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds an option to the ArgumentsParserBuilder instance being built.
- addParameterInfo() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Add parameter metadata to the statement.
- addPathOption(String, String, Repetitions, String, Supplier<Path>, String, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds a
Path
-based option to the ArgumentsParserBuilder with the specified configuration. - addPopupMenuListener(PopupMenuListener) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Adds a PopupMenuListener to the ComboBoxEx.
- addRecordOption(String, String, Repetitions, Supplier<T>, Class<T>, String, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds a new record option with the specified configuration parameters.
- addRefreshListener(Consumer<T>) - Method in class com.dua3.utility.data.FileTreeNode
-
Adds a refresh listener to be notified when the FileTree is refreshed.
- addStringOption(String, String, Repetitions, String, Supplier<String>, String, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds a string-based option to the ArgumentsParserBuilder with various configuration options.
- addStyledAttributes(Iterable<? extends Map.Entry<Object, Object>>) - Static method in class com.dua3.utility.swing.StyledDocumentConverter
-
Set default attributes.
- addStyledAttributes(Map<Object, Object>) - Static method in class com.dua3.utility.swing.StyledDocumentConverter
-
Set default attributes.
- addStyledAttributes(AttributeSet) - Static method in class com.dua3.utility.swing.StyledDocumentConverter
-
Set default attributes.
- addTasks(T...) - Method in class com.dua3.utility.concurrent.ProgressView
-
Adds multiple tasks to the ProgressView.
- addTaskTracker(FxTaskTracker) - Method in class com.dua3.utility.fx.FxService
-
Adds an FxTaskTracker to the list of task trackers.
- addToMap(Map<? super K, ? super V>, Pair<K, V>...) - Static method in record class com.dua3.utility.data.Pair
-
Add pairs to a map.
- addToMap(Map<? super K, ? super V>, Iterable<Pair<K, V>>) - Static method in record class com.dua3.utility.data.Pair
-
Add pairs to a map.
- addType(FileType<T>) - Static method in class com.dua3.utility.io.FileType
-
Add a file type to the set of available file types.
- addUriOption(String, String, Repetitions, String, Supplier<URI>, String, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Adds a new URI option to the configuration.
- addValidation(Button) - Method in class com.dua3.utility.fx.controls.Validator
-
Add validation for a button.
- AES - Enum constant in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Advanced Encryption Standard with Galois/Counter Mode (AES-GCM) Provides both encryption and authentication with a 256-bit key by default
- af() - Method in record class com.dua3.utility.data.RGBColor
-
Get alpha component of color.
- AffineTransformation2f - Record Class in com.dua3.utility.math.geometry
-
Defines an affine transformation in form of a matrix
- AffineTransformation2f(float, float, float, float, float, float) - Constructor for record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Creates an instance of a
AffineTransformation2f
record class. - AlertBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Alert Dialogs.
- AlertPaneBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Alert Dialogs.
- algorithm() - Method in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Retrieves the name of the algorithm represented by this instance.
- algorithm() - Method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Returns the algorithm name for this symmetric algorithm.
- ALICEBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color ALICEBLUE.
- align(CharSequence, int, Alignment) - Static method in class com.dua3.utility.text.TextUtil
-
Pad String to width with alignment.
- align(CharSequence, int, Alignment, char) - Static method in class com.dua3.utility.text.TextUtil
-
Pad String to width with alignment.
- Alignment - Enum Class in com.dua3.utility.text
-
Alignment.
- ALL - Enum constant in enum class com.dua3.utility.text.FontUtil.FontTypes
-
Enum value for all fonts.
- ALL_PASS_FILTER - Static variable in interface com.dua3.utility.logging.LogEntryFilter
-
A LogEntryFilter that allows all log entries to pass through.
- allForExtension(OpenMode, String) - Static method in class com.dua3.utility.io.FileType
-
Query file types by extension.
- allForExtension(String) - Static method in class com.dua3.utility.io.FileType
-
Query file types by extension.
- allowedValues() - Method in class com.dua3.utility.options.Option
-
Retrieves a list of allowed values for the current parameter, if available.
- allowedValues() - Method in record class com.dua3.utility.options.Param
-
Returns the value of the
allowedValues
record component. - allPass() - Static method in interface com.dua3.utility.logging.LogEntryFilter
-
Returns a LogEntryFilter that allows all log entries to pass through.
- allReadersForType(Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Retrieves the list of file types that can read the given document class.
- allWritersForType(Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Retrieves the list of file types that can write the given document class.
- alpha() - Method in interface com.dua3.utility.data.Color
-
Get the alpha component of this color.
- alpha() - Method in record class com.dua3.utility.data.HSVColor
-
Returns the value of the
alpha
record component. - alpha() - Method in record class com.dua3.utility.data.RGBColor
- ALWAYS_FALSE - Static variable in class com.dua3.utility.fx.FxUtil
-
A constant that represents a boolean expression which always evaluates to false.
- ALWAYS_TRUE - Static variable in class com.dua3.utility.fx.FxUtil
-
A constant that represents a boolean expression which always evaluates to true.
- alwaysRemoveSelectedItem(ComboBoxEx<T>, T) - Static method in class com.dua3.utility.fx.controls.ComboBoxEx
-
Remove the selected item without showing a confirmation dialog.
- alwaysRemoveSelectedItem(ComboBoxEx<T>, T) - Static method in class com.dua3.utility.swing.ComboBoxEx
-
Method to be passed as a method reference in the
remove
parameter to the ComboBoxEx construvtor. - andThen(Consumer<? super T>) - Method in interface com.dua3.utility.lang.LangUtil.ConsumerThrows
-
Returns a composed
Consumer
that performs, in sequence, this operation followed by theafter
operation. - andThenTry(LangUtil.ConsumerThrows<? super T, ? extends E>) - Method in interface com.dua3.utility.lang.LangUtil.ConsumerThrows
-
Returns a composed
Consumer
that performs, in sequence, this operation followed by theafter
operation. - angle() - Method in class com.dua3.utility.math.geometry.Arc2f
-
Returns the angle of the arc curve in radians.
- angle() - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Compute the vector's angle in radians.
- angle(Vector2f, Vector2f) - Static method in record class com.dua3.utility.math.geometry.Vector2f
-
Return angle in radians between two vectors.
- AnsiCode - Class in com.dua3.utility.io
-
Support for ANSI escape codes for setting text attributes on ANSI-supporting consoles.
- AnsiConversionOption - Record Class in com.dua3.utility.text
-
Options controlling the conversion process.
- AnsiConversionOption(Consumer<? super AnsiConverter>) - Constructor for record class com.dua3.utility.text.AnsiConversionOption
-
Creates an instance of a
AnsiConversionOption
record class. - AnsiConverter - Class in com.dua3.utility.text
-
A
RichTextConverter
implementation for translatingRichText
to Strings using ANSI escape sequences for markup. - AnsiConverter.AnsiConverterImpl - Class in com.dua3.utility.text
-
Implementation of an ANSI conversion utility for rich text to ANSI formatted text.
- ANTIQUEWHITE - Static variable in interface com.dua3.utility.data.Color
-
The color ANTIQUEWHITE.
- append(char) - Method in class com.dua3.utility.text.RichTextBuilder
- append(AffineTransformation2f) - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Combine affine transformations.
- append(RichText) - Method in class com.dua3.utility.text.AttributeBasedConverter.AttributeBasedConverterImpl
-
Append
RichText
. - append(RichText) - Method in class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Appends the content of the given
RichText
to the current conversion, managing the styles and ensuring proper nested tagging. - append(CharSequence) - Method in class com.dua3.utility.text.RichTextBuilder
- append(CharSequence, int, int) - Method in class com.dua3.utility.text.RichTextBuilder
- append(LogEvent) - Method in class com.dua3.utility.logging.log4j.LogAppenderLog4j
-
Dispatches a log event to the list of log entry handlers.
- appendChars(CharSequence) - Method in class com.dua3.utility.text.AnsiConverter.AnsiConverterImpl
- appendChars(CharSequence) - Method in class com.dua3.utility.text.AttributeBasedConverter.AttributeBasedConverterImpl
-
Append chars to the conversion result.
- appendChars(CharSequence) - Method in class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Appends the given character sequence to the current conversion process.
- appendClosingTagsForAttributes(List<TagBasedConverter.AttributeChange>) - Method in class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Appends the appropriate closing tags for the given list of attributes.
- appendClosingTagsForStyles(List<Style>) - Method in class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Appends the required closing tags corresponding to the given list of styles.
- appendControlPoints(StringBuilder) - Method in class com.dua3.utility.math.geometry.AbstractCurve2f
-
Appends the string representation of control points to the provided
StringBuilder
. - APPENDER_NAME - Static variable in class com.dua3.utility.logging.log4j.LogAppenderLog4j
-
The name of the appender class used in the log4j configuration.
- appendHtmlEscapedCharacter(Appendable, char) - Static method in class com.dua3.utility.text.TextUtil
-
Append HTML-escaped character to an Appendable.
- appendHtmlEscapedCharacter(StringBuilder, char) - Static method in class com.dua3.utility.text.TextUtil
-
Append HTML-escaped character to a
StringBuilder
. - appendHtmlEscapedCharacters(StringBuilder, CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Append HTML escaped characters to
StringBuilder
. - appendHtmlEscapedCharacters(T, CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Append HTML escaped characters to
Appendable
. - appendOpeningTagsForAttributes(List<TagBasedConverter.AttributeChange>) - Method in class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Appends opening tags corresponding to the provided attributes.
- appendOpeningTagsForStyles(List<Style>) - Method in class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Appends opening tags corresponding to the provided styles.
- appendTo(RichTextBuilder) - Method in class com.dua3.utility.text.RichText
- appendTo(RichTextBuilder) - Method in class com.dua3.utility.text.RichTextBuilder
- appendTo(RichTextBuilder) - Method in interface com.dua3.utility.text.ToRichText
-
Append this object's rich text representation to a buffer.
- appendTo(Appendable) - Method in class com.dua3.utility.logging.LogBuffer
-
Appends all LogEntries in this LogBuffer to the specified Appendable.
- applicationName(String) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the name to be used in the AboutDialog.
- apply(T, Consumer<T>) - Static method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Applies a value to the provided consumer if the value is not null.
- apply(Style) - Method in class com.dua3.utility.text.RichText
-
Gat styled copy of this instance.
- apply(String) - Method in enum class com.dua3.utility.text.StandardFontMapper
- apply(Map<String, Pair<Object, Object>>) - Method in class com.dua3.utility.text.AnsiConverter.AnsiConverterImpl
- apply(Map<String, Pair<Object, Object>>) - Method in class com.dua3.utility.text.AttributeBasedConverter.AttributeBasedConverterImpl
-
Apply new font.
- apply(ObservableValue<? extends T>, Property<? super T>) - Static method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Binds the given
ObservableValue
to the specifiedProperty
. - apply(T) - Method in interface com.dua3.utility.lang.LangUtil.FunctionThrows
-
Applies this function to the given argument.
- apply(T) - Method in record class com.dua3.utility.lang.NamedFunction
- applyFontChanges(FontDef) - Method in class com.dua3.utility.text.AnsiConverter.AnsiConverterImpl
-
Applies font changes to the ANSI conversion buffer based on the given font definition.
- applyIfNotNull(BiConsumer<C, D>, C, D) - Static method in class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Applies the given
BiConsumer
to the specified inputs if both inputs are non-null. - applyTo(Tooltip) - Method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Apply this configuration to a tooltip.
- approximateArc(Arc2f, Consumer<Vector2f>, Consumer<Vector2f[]>) - Static method in interface com.dua3.utility.ui.Graphics
-
Approximates an elliptical arc using Bézier curves and processes each segment using the provided consumer function.
- approximateArc(Vector2f, Vector2f, Vector2f, float, boolean, boolean, Consumer<Vector2f>, Consumer<Vector2f[]>) - Static method in interface com.dua3.utility.ui.Graphics
-
Approximates an elliptical arc using Bézier curves.
- AQUA - Static variable in interface com.dua3.utility.data.Color
-
The color AQUA.
- AQUAMARINE - Static variable in interface com.dua3.utility.data.Color
-
The color AQUAMARINE.
- Arc2f - Class in com.dua3.utility.math.geometry
-
Represents a 2-dimensional arc curve.
- arcRel(Vector2f, Vector2f, float, boolean, boolean) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Adds an arc segment to the path defined by a relative endpoint, radii, angle, and arc flags from the current position of the path.
- arcTo(Vector2f, Vector2f, float, boolean, boolean) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Adds an arc segment to the path, defined by the endpoint, radii, angle, and arc flags.
- area() - Method in record class com.dua3.utility.fx.controls.PinBoard.Item
-
Returns the value of the
area
record component. - areaProperty() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Returns the read-only property that represents the area of the PinBoard.
- argb() - Method in interface com.dua3.utility.data.Color
-
Get the color value as an integer in ARGB order.
- argb() - Method in record class com.dua3.utility.data.HSVColor
- argb() - Method in record class com.dua3.utility.data.RGBColor
-
Returns the value of the
argb
record component. - argb(int) - Static method in interface com.dua3.utility.data.Color
-
Create color from ARGB packed integer value.
- argb(int) - Static method in record class com.dua3.utility.data.RGBColor
-
Create color from ARGB value.
- argName() - Method in record class com.dua3.utility.options.Param
-
Returns the value of the
argName
record component. - argRepetitions() - Method in record class com.dua3.utility.options.Param
-
Returns the value of the
argRepetitions
record component. - argsDescription(String) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Sets the arguments description to show below the command line in help for the ArgumentsParserBuilder instance being built.
- Arguments - Class in com.dua3.utility.options
-
Class holding options and arguments; use for parsing and passing command line arguments and configuration options.
- Arguments(Collection<Arguments.Entry<?>>, Collection<String>) - Constructor for class com.dua3.utility.options.Arguments
-
Constructor.
- Arguments(Collection<Arguments.Entry<?>>, Collection<String>, int, int) - Constructor for class com.dua3.utility.options.Arguments
-
Constructor.
- Arguments.Entry<T> - Class in com.dua3.utility.options
-
An entry represents a single option given on the command line together with the parameters given in that option invocation, converted to the option's argument type.
- ArgumentsDialog - Class in com.dua3.utility.swing
-
Represents a dialog that allows users to input arguments for a command-line program.
- ArgumentsDialog(Window, ArgumentsParser, String) - Constructor for class com.dua3.utility.swing.ArgumentsDialog
-
Creates a new ArgumentsDialog with the specified owner, parser, and title.
- ArgumentsDialog.ArgumentsPanel - Class in com.dua3.utility.swing
-
A custom extension of JPanel that displays input fields for options defined by an ArgumentsParser.
- ArgumentsDialog.ArgumentsPanel.OptionInput - Record Class in com.dua3.utility.swing
-
Represents an input component that consists of an
Option
, a UIJComponent
, and getter and setter functionality for parameter management. - ArgumentsException - Exception Class in com.dua3.utility.options
-
Exception thrown when argument processing fails.
- ArgumentsException() - Constructor for exception class com.dua3.utility.options.ArgumentsException
-
Constructs an ArgumentsException with no detail message.
- ArgumentsException(String) - Constructor for exception class com.dua3.utility.options.ArgumentsException
-
Constructs an ArgumentsException with the specified detail message.
- ArgumentsException(String, Throwable) - Constructor for exception class com.dua3.utility.options.ArgumentsException
-
Constructs a new ArgumentsException with the specified detail message and cause.
- ArgumentsException(Throwable) - Constructor for exception class com.dua3.utility.options.ArgumentsException
-
Constructs a new ArgumentsException with the specified cause.
- ArgumentsPanel(ArgumentsParser, Runnable, Runnable) - Constructor for class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel
-
Constructs a new ArgumentsPanel with the specified arguments.
- ArgumentsParser - Class in com.dua3.utility.options
-
A parser that parses command line args into an
Arguments
instance. - ArgumentsParserBuilder - Class in com.dua3.utility.options
-
The ArgumentsParserBuilder class is used to construct an instance of ArgumentsParser with the desired configuration.
- ascent() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
ascent
record component. - asFunction(Map<? super T, ? extends U>) - Static method in class com.dua3.utility.lang.LangUtil
-
Decorate a
Map<T,U>
as aFunction<T,U>
. - asFunction(Map<? super T, V>, V) - Static method in class com.dua3.utility.lang.LangUtil
-
Decorate a
Map<T,U>
as aFunction<T,U>
. - asFunction(Map<K, V>, V) - Static method in class com.dua3.utility.data.DataUtil
- askBeforeRemoveSelectedItem(ComboBoxEx<T>, T) - Static method in class com.dua3.utility.swing.ComboBoxEx
-
Method to be passed as a method reference in the
remove
parameter to the ComboBoxEx construvtor. - askBeforeRemoveSelectedItem(T) - Method in class com.dua3.utility.fx.controls.ComboBoxEx
-
Prompts the user with a confirmation dialogue to verify whether to remove the selected item.
- assureInitialized() - Static method in class com.dua3.utility.logging.LogUtil
-
Checks if the globalDispatcher variable is null and initializes it by calling the init() method if necessary.
- asUnmodifiableList(T...) - Static method in class com.dua3.utility.lang.LangUtil
-
Creates an unmodifiable view of the list passed.
- asUnmodifiableSortedListSet(T...) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns an unmodifiable
ImmutableSortedListSet
containing the specified elements. - AsymmetricAlgorithm - Enum Class in com.dua3.utility.crypt
-
Enum representing asymmetric encryption algorithms and their transformations.
- atLeast(int) - Static method in record class com.dua3.utility.options.Repetitions
-
Creates a
Repetitions
instance representing a range of repetitions with no upper limit and a specified minimum number of repetitions. - atMost(int) - Static method in record class com.dua3.utility.options.Repetitions
-
Creates a
Repetitions
instance representing a range with a maximum ofn
repetitions and a minimum of zero repetitions. - attribute() - Method in record class com.dua3.utility.text.TagBasedConverter.AttributeChange
-
Returns the value of the
attribute
record component. - AttributeBasedConverter<T> - Class in com.dua3.utility.text
-
Base class for attribute-based converters.
- AttributeBasedConverter() - Constructor for class com.dua3.utility.text.AttributeBasedConverter
-
Constructor for the
AttributeBasedConverter
class. - AttributeBasedConverter.AttributeBasedConverterImpl<T> - Class in com.dua3.utility.text
-
Abstract base class for the attribute-based converter implementation classes.
- AttributeBasedConverterImpl(Map<String, Object>) - Constructor for class com.dua3.utility.text.AttributeBasedConverter.AttributeBasedConverterImpl
-
Create a new instance.
- AttributeChange(String, Object, Object) - Constructor for record class com.dua3.utility.text.TagBasedConverter.AttributeChange
-
Creates an instance of a
AttributeChange
record class. - AttributedCharacter - Interface in com.dua3.utility.text
-
A styled character interface.
- attributedCharAt(int) - Method in interface com.dua3.utility.text.AttributedCharSequence
-
Returns the
AttributedCharacter
value at the specified index. - attributedCharAt(int) - Method in class com.dua3.utility.text.RichText
- attributedCharAt(int) - Method in class com.dua3.utility.text.Run
- attributedChars() - Method in interface com.dua3.utility.text.AttributedCharSequence
-
Returns a stream of
AttributedCharacter
values from this sequence. - AttributedCharSequence - Interface in com.dua3.utility.text
-
Interface for an attributed
CharSequence
. - attributes() - Method in interface com.dua3.utility.text.AttributedCharacter
-
Get text attributes.
- attributes() - Method in class com.dua3.utility.text.Run
-
Get text attributes
- AutoCloseableStopWatch(String, Consumer<? super Stopwatch>) - Constructor for class com.dua3.utility.lang.Stopwatch.AutoCloseableStopWatch
-
Constructs an AutoCloseableStopWatch with the given name and a Consumer invoked upon closing.
- AutoCloseableStopWatch(Supplier<String>, Consumer<? super Stopwatch>) - Constructor for class com.dua3.utility.lang.Stopwatch.AutoCloseableStopWatch
-
Constructs an AutoCloseableStopWatch with the given name supplier and a Consumer invoked upon closing.
- AutoLock - Class in com.dua3.utility.concurrent
-
The
AutoLock
class is a utility designed for safely managing locks using the auto-closeable pattern. - AwtFontUtil - Class in com.dua3.utility.awt
-
Utility class for getting font properties through AWT.
- AwtImage - Class in com.dua3.utility.awt
-
A class that represents an image using the Swing BufferedImage API.
- AwtImageUtil - Class in com.dua3.utility.awt
-
An implementation of the ImageUtil interface for working with awt images.
- AZURE - Static variable in interface com.dua3.utility.data.Color
-
The color AZURE.
B
- b() - Method in record class com.dua3.utility.data.RGBColor
-
Get blue component of color.
- b() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Returns the value of the
b
record component. - b2a() - Method in interface com.dua3.utility.data.Converter
-
Provides a function for converting an object of type B to an object of type A.
- background(Color) - Static method in class com.dua3.utility.fx.controls.Controls
-
Creates a Background object based on the given Color.
- BACKGROUND_COLOR - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: start background color sequence.
- BACKGROUND_COLOR - Static variable in class com.dua3.utility.text.Style
-
background color
- base64Decode(char[]) - Static method in class com.dua3.utility.text.TextUtil
-
Base64-decode data.
- base64Decode(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Base64-decode data.
- base64Encode(byte[]) - Static method in class com.dua3.utility.text.TextUtil
-
Base64-encode data.
- baseLine() - Method in record class com.dua3.utility.text.FragmentedText
-
Returns the value of the
baseLine
record component. - baseLine() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns the value of the
baseLine
record component. - BASELINE - Enum constant in enum class com.dua3.utility.ui.Graphics.VAnchor
-
Aligns the baseline of the element.
- BatchCollector<T,
K> - Class in com.dua3.utility.lang -
A collector that puts subsequent items into batches.
- BatchCollector(Function<? super T, ? extends K>, K) - Constructor for class com.dua3.utility.lang.BatchCollector
-
Create a new BatchCollector that uses a default key value for items where the key mapper returns
null
. - BatchCollector(Function<? super T, ? extends K>) - Constructor for class com.dua3.utility.lang.BatchCollector
-
Create a new BatchCollector.
- Bearer<T> - Interface in com.dua3.utility.data
- BEIGE - Static variable in interface com.dua3.utility.data.Color
-
The color BEIGE.
- between(int, int) - Static method in record class com.dua3.utility.options.Repetitions
-
Creates a
Repetitions
instance with the specified minimum and maximum values. - bf() - Method in record class com.dua3.utility.data.RGBColor
-
Get blue component of color.
- bg(int, int, int) - Static method in class com.dua3.utility.io.AnsiCode
-
Set background color.
- bg(RGBColor) - Static method in class com.dua3.utility.io.AnsiCode
-
Set background color.
- bind(Property<Number>) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Binds the slider's value property bidirectionally with the specified number property.
- bindAction(ObservableValue<? extends Runnable>) - Method in class com.dua3.utility.fx.controls.abstract_builders.ButtonBaseBuilder
-
Set action for the button.
- bindDisabled(ObservableBooleanValue) - Method in class com.dua3.utility.fx.controls.TextFieldBuilder
-
Bind the control's disabled state to an
ObservableValue
. - bindDisabled(ObservableValue<Boolean>) - Method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Bind the node's disabled state to an
ObservableValue
. - bindEnabled(ObservableValue<Boolean>) - Method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Bind the button's enabled state to an
ObservableValue
. - bindFill(ObservableValue<Color>) - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Binds the given
ObservableValue
to the fill property of the node being built. - bindFill(ObservableValue<Color>) - Method in class com.dua3.utility.fx.controls.TextBuilder
-
Binds the given
ObservableValue
to the fill property of the node being built. - bindFillFx(ObservableValue<Paint>) - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Binds the given
ObservableValue
to the fill property of the node being built. - bindFillFx(ObservableValue<Paint>) - Method in class com.dua3.utility.fx.controls.TextBuilder
-
Binds the given
ObservableValue
to the fill property of the node being built. - bindFont(ObservableValue<Font>) - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
- bindFont(ObservableValue<Font>) - Method in class com.dua3.utility.fx.controls.LabelBuilder
- bindFont(ObservableValue<Font>) - Method in class com.dua3.utility.fx.controls.TextBuilder
- bindFontFx(ObservableValue<Font>) - Method in class com.dua3.utility.fx.controls.LabelBuilder
- bindFontFx(ObservableValue<Font>) - Method in class com.dua3.utility.fx.controls.TextBuilder
- bindFxFont(ObservableValue<Font>) - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
- bindMax(ObservableNumberValue) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Binds the maximum value of the slider to the given observable number value.
- bindMin(ObservableNumberValue) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Binds the minimum value of the slider to the given
ObservableNumberValue
. - bindSelected(Property<Boolean>) - Method in class com.dua3.utility.fx.controls.CheckBoxButtonBuilder
-
Bind the button's selected state to an
javafx.beans.property.Property<Boolean>
. - bindSelected(Property<Boolean>) - Method in class com.dua3.utility.fx.controls.ToggleButtonBuilder
-
Bind the button's selected state to an
javafx.beans.property.Property<Boolean>
. - bindStroke(ObservableValue<Color>) - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Binds the stroke property of the node being built to the specified
ObservableValue
. - bindStrokeFx(ObservableValue<Paint>) - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Binds the stroke property of the node being built to the specified
ObservableValue
. - bindText(ObservableValue<String>) - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
-
Set text for the Labeled.
- bindTooltip(ObservableValue<String>) - Method in class com.dua3.utility.fx.controls.abstract_builders.ControlBuilder
-
Set the tooltip for the control.
- BISQUE - Static variable in interface com.dua3.utility.data.Color
-
The color BISQUE.
- BLACK - Static variable in interface com.dua3.utility.data.Color
-
The color BLACK.
- BLACK - Static variable in class com.dua3.utility.text.Style
-
Black text.
- BLANCHEDALMOND - Static variable in interface com.dua3.utility.data.Color
-
The color BLANCHEDALMOND.
- blockIncrement(double) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the block increment value for the slider.
- BLUE - Static variable in interface com.dua3.utility.data.Color
-
The color BLUE.
- BLUE - Static variable in class com.dua3.utility.text.Style
-
Blue text.
- BLUEVIOLET - Static variable in interface com.dua3.utility.data.Color
-
The color BLUEVIOLET.
- BoardPosition(double, double) - Constructor for record class com.dua3.utility.fx.controls.PinBoard.BoardPosition
-
Creates an instance of a
BoardPosition
record class. - bold() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
bold
record component. - bold(boolean) - Static method in class com.dua3.utility.io.AnsiCode
-
Set bold output.
- bold(boolean) - Static method in class com.dua3.utility.text.FontDef
-
Create FontDef instance with only the bold field set.
- BOLD - Static variable in class com.dua3.utility.text.Style
-
Bold style.
- BOLD_OFF - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: disable BOLD output.
- BOLD_ON - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: enable BOLD output.
- BOTTOM - Enum constant in enum class com.dua3.utility.fx.controls.Position
-
The bottom position.
- BOTTOM - Enum constant in enum class com.dua3.utility.text.VerticalAlignment
-
Align bottom.
- BOTTOM - Enum constant in enum class com.dua3.utility.ui.Graphics.VAnchor
-
Align the bottom of the element.
- BouncyCastle - Class in com.dua3.utility.crypt
-
The
BouncyCastleInitializer
class provides functionality to ensure that the BouncyCastle security provider is registered and available in the Java security environment. - brighter() - Method in interface com.dua3.utility.data.Color
-
Get a brighter color.
- brighter() - Method in record class com.dua3.utility.data.HSVColor
- brighter() - Method in record class com.dua3.utility.data.RGBColor
- BROWN - Static variable in interface com.dua3.utility.data.Color
-
The color BROWN.
- BufferState(LogEntry[], long, long) - Constructor for record class com.dua3.utility.logging.LogBuffer.BufferState
-
Creates an instance of a
BufferState
record class. - build() - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Constructs and configures an instance of AboutDialog based on the properties set in the AboutDialogBuilder.
- build() - Method in class com.dua3.utility.fx.controls.abstract_builders.ButtonBaseBuilder
-
Build the button.
- build() - Method in class com.dua3.utility.fx.controls.abstract_builders.ControlBuilder
-
Build the Control.
- build() - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogBuilder
-
Create Dialog instance.
- build() - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Create Alert instance.
- build() - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
-
Build the Labeled.
- build() - Method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Builds and returns a new instance of the node type specified by the builder.
- build() - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Build the Control.
- build() - Method in class com.dua3.utility.fx.controls.AlertBuilder
-
Create Alert instance.
- build() - Method in class com.dua3.utility.fx.controls.AlertPaneBuilder
- build() - Method in class com.dua3.utility.fx.controls.CheckBoxButtonBuilder
- build() - Method in class com.dua3.utility.fx.controls.FileInputBuilder
-
Builds a
FileInput
object using the properties specified in theFileInputBuilder
. - build() - Method in class com.dua3.utility.fx.controls.InputGridBuilder
-
Builds and returns an InputGrid with the current data and column configuration.
- build() - Method in class com.dua3.utility.fx.controls.LabelBuilder
- build() - Method in class com.dua3.utility.fx.controls.OptionsDialogBuilder
- build() - Method in class com.dua3.utility.fx.controls.PromptBuilder
- build() - Method in class com.dua3.utility.fx.controls.PromptPaneBuilder
- build() - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Builds the configured
SliderWithButtons
instance. - build() - Method in class com.dua3.utility.fx.controls.TextBuilder
- build() - Method in class com.dua3.utility.fx.controls.TextFieldBuilder
-
Constructs and returns a customized TextField based on the configurations set in the builder.
- build() - Method in class com.dua3.utility.fx.controls.ToggleButtonBuilder
- build() - Method in class com.dua3.utility.fx.controls.WizardDialogBuilder
-
Constructs and returns a new instance of
WizardDialog
with the configured title and pages. - build() - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Builds a
Path2f
instance using the current state of thePathBuilder2f
. - build() - Method in class com.dua3.utility.spi.SpiLoader.LoaderBuilder
-
Constructs and returns a new instance of SpiLoader configured with the specified type, class loader, predicate, and default supplier.
- build() - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Builds the ComparisonSettings object with the specified fontMapper and ignore settings.
- build(Option<?>...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Builds the parser and returns a new instance of ArgumentsParser.
- build(String, String...) - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Builds and returns an
Option
with the specified switches and configurations. - build(KeyPair) - Method in interface com.dua3.utility.crypt.X509CertificateBuilder
-
Builds an array of X.509 certificates based on the current configuration of the builder.
- builder() - Static method in class com.dua3.utility.math.geometry.Path2f
-
Creates a new instance of
PathBuilder2f
. - builder() - Static method in class com.dua3.utility.options.ArgumentsParser
-
Returns a new instance of ArgumentsParserBuilder.
- builder() - Static method in record class com.dua3.utility.text.ComparisonSettings
-
Returns a new instance of the Builder class, allowing the creation of custom comparison settings.
- builder(Class<T>) - Static method in class com.dua3.utility.spi.SpiLoader
-
Creates a new instance of LoaderBuilder for the specified type.
- BuildInfo - Record Class in com.dua3.utility.lang
-
A record class representing build information, including build time and version components.
- BuildInfo(Version, ZonedDateTime, String, String, String) - Constructor for record class com.dua3.utility.lang.BuildInfo
-
Creates an instance of a
BuildInfo
record class. - buildTime() - Method in record class com.dua3.utility.lang.BuildInfo
-
Returns the value of the
buildTime
record component. - BURLYWOOD - Static variable in interface com.dua3.utility.data.Color
-
The color BURLYWOOD.
- button() - Static method in class com.dua3.utility.fx.controls.Controls
-
Create
ButtonBuilder
instance for standard buttons. - button(InputDialogPane.ButtonDef<R>) - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Adds a button definition to the dialog pane builder.
- ButtonBaseBuilder<B,
BB> - Class in com.dua3.utility.fx.controls.abstract_builders -
An abstract base builder class for creating instances of ButtonBase subclasses.
- ButtonBaseBuilder(Supplier<? extends B>) - Constructor for class com.dua3.utility.fx.controls.abstract_builders.ButtonBaseBuilder
-
Constructor.
- ButtonBuilder<B> - Class in com.dua3.utility.fx.controls
-
The ButtonBuilder class is a utility class used to build Button instances in a fluent way.
- ButtonDef(ButtonType, DialogPaneBuilder.ResultHandler<R>, Consumer<InputDialogPane<R>>, BooleanExpression) - Constructor for record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Creates an instance of a
ButtonDef
record class. - buttons - Variable in class com.dua3.utility.fx.controls.InputDialogPane
-
A collection of button definitions used to configure actions and behavior within an
InputDialogPane
. - buttons() - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Retrieves the list of button definitions associated with this dialog pane builder.
- buttons(ButtonType...) - Method in class com.dua3.utility.fx.controls.AlertBuilder
-
Define Alert Buttons.
C
- c() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Returns the value of the
c
record component. - cache(Supplier<? extends T>, Consumer<? super T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Create a lazy, caching, and auto-closable Supplier.
- cache(Supplier<T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Create a lazy, caching Supplier.
- Cache<K,
V> - Class in com.dua3.utility.data -
A simple cache implementation.
- Cache(Cache.ReferenceType, Function<? super K, ? extends V>) - Constructor for class com.dua3.utility.data.Cache
-
Constructs a new Cache object with the given type and compute function.
- Cache.ReferenceType - Enum Class in com.dua3.utility.data
-
Enum representing the different types of reference to be used in the Cache class.
- CADETBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color CADETBLUE.
- callMethod(JSObject, String, Object[]) - Static method in class com.dua3.utility.fx.web.WebViews
-
Calls a method on a JSObject with the specified arguments.
- cancel() - Static method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Creates and returns a
ButtonDef
instance configured as a cancel button. - cancelEdit() - Method in class com.dua3.utility.fx.controls.TableCellAutoCommit
- capacity() - Method in class com.dua3.utility.lang.RingBuffer
-
Get collection's capacity.
- center() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns the center of the rectangle as a new
Vector2f
object. - CENTER - Enum constant in enum class com.dua3.utility.text.Alignment
-
Center aligned.
- CENTER - Enum constant in enum class com.dua3.utility.ui.Graphics.HAnchor
-
Centers element text horizontally.
- CertificateUtil - Class in com.dua3.utility.crypt
-
Utility class for certificate operations.
- changedUpdate(DocumentEvent) - Method in interface com.dua3.utility.swing.SwingDocumentListener
- changes(Map<? extends U, ? extends V>, Map<? extends U, ? extends V>) - Static method in class com.dua3.utility.data.DataUtil
-
Compute the change of mappings between two maps.
- character() - Method in interface com.dua3.utility.text.AttributedCharacter
-
Get character.
- characteristics() - Method in class com.dua3.utility.lang.BatchCollector
- characteristics() - Method in class com.dua3.utility.text.RichTextJoiner
- charAt(int) - Method in class com.dua3.utility.text.RichText
- charAt(int) - Method in class com.dua3.utility.text.RichTextBuilder
- charAt(int) - Method in class com.dua3.utility.text.Run
- charAt(int) - Method in class com.dua3.utility.text.SharableString
- charAt(int) - Method in class com.dua3.utility.text.SharedString
- charset(Supplier<Charset>) - Static method in class com.dua3.utility.io.IoOptions
-
Creates an option for character encoding selection.
- CHARTREUSE - Static variable in interface com.dua3.utility.data.Color
-
The color CHARTREUSE.
- check(boolean) - Static method in class com.dua3.utility.lang.LangUtil
-
Check that condition is fulfilled.
- check(boolean, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Check that condition is fulfilled.
- check(boolean, Supplier<E>) - Static method in class com.dua3.utility.lang.LangUtil
-
Check that condition is fulfilled.
- checkApplicationThread() - Static method in class com.dua3.utility.fx.PlatformHelper
-
Checks if the current thread is the FX Application Thread.
- checkArg(boolean, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks a condition and throws an
IllegalArgumentException
with a formatted message if the condition is false. - checkArg(boolean, Supplier<String>) - Static method in class com.dua3.utility.lang.LangUtil
-
Validates the provided boolean condition and throws an IllegalArgumentException with the specified message if the condition is false.
- checkArg(String, Predicate<T>, T) - Static method in class com.dua3.utility.lang.LangUtil
-
Validates the provided argument based on the specified condition.
- checkbox() - Static method in class com.dua3.utility.fx.controls.Controls
-
Create
ButtonBuilder
instance for checkboxes. - checkbox(boolean) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create
ButtonBuilder
instance for checkboxes. - checkBox(String, String, Supplier<Boolean>, String) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled checkbox.
- checkBox(String, String, Supplier<Boolean>, String, Function<Boolean, Optional<String>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Creates a checkbox with the given parameters.
- checkBox(String, String, Supplier<Boolean>, String, Function<Boolean, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- checkBox(String, String, Supplier<Boolean>, String, Function<Boolean, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- checkBox(String, String, Supplier<Boolean>, String, Function<Boolean, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- CheckBoxButtonBuilder - Class in com.dua3.utility.fx.controls
-
The CheckBoxButtonBuilder class is a utility class for constructing CheckBox instances with properties configured using a fluent API.
- checkBoxInput(Supplier<Boolean>, String, Function<Boolean, Optional<String>>) - Static method in interface com.dua3.utility.fx.controls.InputControl
-
Creates a
SimpleInputControl
for aCheckBox
with a default value, text, and validation function. - checkMenuItem(String, Node, Consumer<Boolean>, boolean) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
CheckMenuItem
. - checkMenuItem(String, Node, Property<Boolean>) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
CheckMenuItem
. - checkMenuItem(String, Node, Property<Boolean>, boolean) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
CheckMenuItem
. - checkMenuItem(String, Node, Property<Boolean>, ObservableBooleanValue) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
CheckMenuItem
. - checkMenuItem(String, Consumer<Boolean>, boolean) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
CheckMenuItem
. - checkMenuItem(String, Property<Boolean>) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
CheckMenuItem
. - checkMenuItem(String, Property<Boolean>, boolean) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
CheckMenuItem
. - checkMenuItem(String, Property<Boolean>, ObservableBooleanValue) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
CheckMenuItem
. - children() - Method in class com.dua3.utility.data.FileTreeNode
- children() - Method in interface com.dua3.utility.data.TreeNode
-
Get iterator over this node's children.
- children(Node) - Method in class com.dua3.utility.xml.XmlUtil
-
Get stream of child nodes.
- CHOCOLATE - Static variable in interface com.dua3.utility.data.Color
-
The color CHOCOLATE.
- ChoiceInputControl<T> - Class in com.dua3.utility.fx.controls
-
Interface for an input field.
- ChoiceInputControl(Param<T>, Supplier<? extends T>) - Constructor for class com.dua3.utility.fx.controls.ChoiceInputControl
-
Constructs a ChoiceInputControl, which represents an input control that allows for selecting one option from a predefined list of choices.
- chooseDirectory() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new DirectoryChooser.
- chooseFile() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new FileChooser.
- chooseFile(String, String, Supplier<Path>, FileDialogMode, boolean, Collection<FileChooser.ExtensionFilter>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a file chooser.
- chooseFile(String, String, Supplier<Path>, FileDialogMode, boolean, Collection<FileChooser.ExtensionFilter>, Function<Path, Optional<String>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a file chooser dialog to allow the user to select a file.
- chooseFile(String, String, Supplier<Path>, FileDialogMode, boolean, Collection<FileChooser.ExtensionFilter>, Function<Path, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- chooseFile(String, String, Supplier<Path>, FileDialogMode, boolean, Collection<FileChooser.ExtensionFilter>, Function<Path, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- chooseFile(String, String, Supplier<Path>, FileDialogMode, boolean, Collection<FileChooser.ExtensionFilter>, Function<Path, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- chooseFile(Supplier<Path>, FileDialogMode, boolean, Collection<FileChooser.ExtensionFilter>, Function<Path, Optional<String>>) - Static method in interface com.dua3.utility.fx.controls.InputControl
-
Provides a file chooser input control.
- classLoader(ClassLoader) - Method in class com.dua3.utility.spi.SpiLoader.LoaderBuilder
-
Sets the class loader for this LoaderBuilder.
- className - Variable in class com.dua3.utility.db.JdbcDriverInfo
-
The driver's class name.
- clear() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Clears the PinBoard by removing all items and refreshes the skin.
- clear() - Method in class com.dua3.utility.lang.CompactableSortedMap
- clear() - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- clear() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- clear() - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- clear() - Method in class com.dua3.utility.lang.RingBuffer
-
Remove all elements.
- clear() - Method in class com.dua3.utility.logging.LogBuffer
-
Clear the LogBuffer.
- clear() - Method in interface com.dua3.utility.logging.LogBuffer.LogBufferListener
-
Called after the buffer has been cleared.
- clear(boolean) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Clears the PinBoard by removing all items and optionally refreshes the skin.
- clear(TableView<T>) - Static method in class com.dua3.utility.fx.TableViews
-
Clear TableView.
- CLEAR_AFTER_USE - Enum constant in enum class com.dua3.utility.crypt.InputBufferHandling
-
Clear (overwrite with zeros) the input buffer after use to prevent sensitive data from remaining in memory.
- clearBuffer() - Method in class com.dua3.utility.swing.SwingLogPane
-
Clear the log buffer.
- clearDecorations() - Method in class com.dua3.utility.fx.controls.Validator
-
Remove all validation decorations from controls.
- clip(Path2f) - Method in class com.dua3.utility.fx.FxGraphics
- clip(Path2f) - Method in class com.dua3.utility.swing.SwingGraphics
- clip(Path2f) - Method in interface com.dua3.utility.ui.Graphics
-
Intersects the clip area with the specified path.
- clip(Rectangle2f) - Method in class com.dua3.utility.fx.FxGraphics
- clip(Rectangle2f) - Method in class com.dua3.utility.swing.SwingGraphics
- clip(Rectangle2f) - Method in interface com.dua3.utility.ui.Graphics
-
Intersects the clip area with the specified rectangle.
- close() - Method in class com.dua3.utility.concurrent.AutoLock
-
Releases the lock managed by this
AutoLock
instance. - close() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Closes the statement.
- close() - Method in class com.dua3.utility.fx.FxGraphics
- close() - Method in class com.dua3.utility.io.CsvReader
- close() - Method in class com.dua3.utility.io.CsvWriter
- close() - Method in class com.dua3.utility.io.FileSystemView
- close() - Method in class com.dua3.utility.io.LineOutputStream
- close() - Method in class com.dua3.utility.io.SoftResource.ResourceHolder
- close() - Method in class com.dua3.utility.io.TeeOutputStream
- close() - Method in class com.dua3.utility.io.Zip
- close() - Method in interface com.dua3.utility.lang.LangUtil.AutoCloseableSupplier
- close() - Method in class com.dua3.utility.lang.Stopwatch.AutoCloseableStopWatch
- close() - Method in class com.dua3.utility.swing.SwingGraphics
- close() - Method in interface com.dua3.utility.text.HtmlTag
-
Get text for the closing tag.
- close() - Method in interface com.dua3.utility.ui.Graphics
- CLOSE_TAG - Enum constant in enum class com.dua3.utility.text.HtmlTag.TagType
-
Identifies a closing HTML tag.
- closeAll(AutoCloseable...) - Static method in class com.dua3.utility.io.IoUtil
-
Closes all provided AutoCloseable resources.
- closeAll(Collection<? extends AutoCloseable>) - Static method in class com.dua3.utility.io.IoUtil
-
Closes all the AutoCloseable resources provided in the Iterable.
- closePath() - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Close the current path by appending a line from the current position to the path's starting position.
- ClosePath2f - Class in com.dua3.utility.math.geometry
-
Close path with line segment.
- Codec<T> - Interface in com.dua3.utility.io
-
Codec interface for reading/writing objects to/from
DataInputStream
/DataOutputStream
. - Codecs - Class in com.dua3.utility.io
-
A registry for
Codec
instances. - Codecs() - Constructor for class com.dua3.utility.io.Codecs
-
Constructor.
- collect(Iterable<? extends T>) - Static method in class com.dua3.utility.data.DataUtil
-
Collect items obtained from an iterable into a List.
- collect(Iterator<? extends T>) - Static method in class com.dua3.utility.data.DataUtil
-
Collect items from an iterator into a List.
- collectArray(Iterable<T>) - Static method in class com.dua3.utility.data.DataUtil
-
Collect items obtained from an iterable into an array.
- collectArray(Iterator<T>) - Static method in class com.dua3.utility.data.DataUtil
-
Collect items from an iterator into an array.
- collectAttributes(Run) - Static method in class com.dua3.utility.text.AttributeBasedConverter.AttributeBasedConverterImpl
-
Collect all style attributes into a single map.
- collectChildren() - Method in class com.dua3.utility.data.FileTreeNode
-
Collects the children of the current node.
- collectionCodec(String, Codec<T>, IntFunction<? extends C>) - Static method in class com.dua3.utility.io.Codecs
-
Get
Codec
for aCollection
. - collectNamespaces(Element) - Static method in class com.dua3.utility.xml.XmlUtil
-
Collects all namespace declarations from the given XML element and its descendants.
- color(Color) - Static method in class com.dua3.utility.text.FontDef
-
Create FontDef instance with only the color attribute set.
- Color - Interface in com.dua3.utility.data
-
A common interface for different color implementations.
- COLOR - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: start color sequence.
- COLOR - Static variable in class com.dua3.utility.text.Style
-
foreground color
- colorConverter() - Static method in class com.dua3.utility.fx.FxUtil
-
Creates and returns a converter between com.dua3.utility.data.Color and javafx.scene.paint.Color.
- columns(int) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Set the number of columns for layout (default is 1).
- columns(int) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- columns(int) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- columns(int) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- com.dua3.utility.awt - package com.dua3.utility.awt
-
This package contains AWT related classes.
- com.dua3.utility.concurrent - package com.dua3.utility.concurrent
-
Classes for tracking progress of tasks that are executed asynchronously.
- com.dua3.utility.crypt - package com.dua3.utility.crypt
-
This package contains cryptographic utilities and related class.
- com.dua3.utility.data - package com.dua3.utility.data
-
This package contains utility classes for data conversion and some common data structures.
- com.dua3.utility.db - package com.dua3.utility.db
-
Database related classes and utilities for JDBC database access.
- com.dua3.utility.fx - package com.dua3.utility.fx
-
JavaFX related classes and utilities.
- com.dua3.utility.fx.controls - package com.dua3.utility.fx.controls
-
This package contains custom JavaFX controls.
- com.dua3.utility.fx.controls.abstract_builders - package com.dua3.utility.fx.controls.abstract_builders
-
This package contains abstract builder classes for JavaFX controls.
- com.dua3.utility.fx.db - package com.dua3.utility.fx.db
-
This package contains database related classes for working with JavaFX.
- com.dua3.utility.fx.icons - package com.dua3.utility.fx.icons
-
This package contains classes for working with icons in JavaFX.
- com.dua3.utility.fx.icons.ikonli - package com.dua3.utility.fx.icons.ikonli
-
This package adds Ikonli icon support.
- com.dua3.utility.fx.web - package com.dua3.utility.fx.web
-
This package contains classes for working with JavaFX Web views.
- com.dua3.utility.i18n - package com.dua3.utility.i18n
-
This package contains classes for international applications.
- com.dua3.utility.io - package com.dua3.utility.io
-
Utility classes related to I/O operations.
- com.dua3.utility.lang - package com.dua3.utility.lang
-
This package provides some general utility classes.
- com.dua3.utility.logging - package com.dua3.utility.logging
-
Classes and utilities related to logging.
- com.dua3.utility.logging.log4j - package com.dua3.utility.logging.log4j
-
Classes and utilities related to logging (LOG4J).
- com.dua3.utility.logging.slf4j - package com.dua3.utility.logging.slf4j
-
Classes and utilities related to logging (SLF4J).
- com.dua3.utility.math - package com.dua3.utility.math
-
This package defines a set of classes related to mathematics.
- com.dua3.utility.math.geometry - package com.dua3.utility.math.geometry
-
This package defines a set of classes to define geometric shapes and transformations.
- com.dua3.utility.options - package com.dua3.utility.options
-
This package contains a set of options classes to facilitate command line handling and configuration.
- com.dua3.utility.spi - package com.dua3.utility.spi
-
This package contains a set of options classes to facilitate command line handling and configuration.
- com.dua3.utility.swing - package com.dua3.utility.swing
-
Classes and utilities for creating Swing-based user interfaces.
- com.dua3.utility.text - package com.dua3.utility.text
-
This package contains utilities for handling java.lang.String and to create, manipulate and convert rich text.
- com.dua3.utility.ui - package com.dua3.utility.ui
-
This package contains user interface related classes.
- com.dua3.utility.xml - package com.dua3.utility.xml
-
This package contains classes to work with XML data.
- combine(AffineTransformation2f...) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Combines multiple affine transformations together.
- combiner() - Method in class com.dua3.utility.lang.BatchCollector
- combiner() - Method in class com.dua3.utility.text.RichTextJoiner
- combineTags(HtmlTag...) - Static method in interface com.dua3.utility.text.HtmlTag
-
Combines multiple
HtmlTag
instances into a singleHtmlTag
. - comboBox(String, String, Supplier<T>, Class<T>, Collection<T>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled combobox.
- comboBox(String, String, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Creates a comboBox widget with the given parameters.
- comboBox(String, String, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- comboBox(String, String, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- comboBox(String, String, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- comboBoxEx(String, String, UnaryOperator<T>, Supplier<T>, BiPredicate<ComboBoxEx<T>, T>, Function<T, String>, Supplier<T>, Class<T>, Collection<T>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Adds a labeled combo box control with extended functionality.
- comboBoxEx(String, String, UnaryOperator<T>, Supplier<T>, BiPredicate<ComboBoxEx<T>, T>, Function<T, String>, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Returns a custom combo box with the specified parameters.
- comboBoxEx(String, String, UnaryOperator<T>, Supplier<T>, BiPredicate<ComboBoxEx<T>, T>, Function<T, String>, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- comboBoxEx(String, String, UnaryOperator<T>, Supplier<T>, BiPredicate<ComboBoxEx<T>, T>, Function<T, String>, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- comboBoxEx(String, String, UnaryOperator<T>, Supplier<T>, BiPredicate<ComboBoxEx<T>, T>, Function<T, String>, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- ComboBoxEx<T> - Class in com.dua3.utility.fx.controls
-
A custom ComboBox control that supports additional features like editing, adding, and removing items.
- ComboBoxEx<T> - Class in com.dua3.utility.swing
-
A custom JPanel-based ComboBox component with additional functionality for editing, adding, and removing items.
- ComboBoxEx(Function<T, T>, Supplier<T>, BiPredicate<ComboBoxEx<T>, T>, Supplier<T>, Function<T, String>, Collection<T>) - Constructor for class com.dua3.utility.fx.controls.ComboBoxEx
-
Constructs a ComboBoxEx with the specified edit, add, remove, format, and items.
- ComboBoxEx(UnaryOperator<T>, Supplier<? extends T>, BiPredicate<ComboBoxEx<T>, T>, Function<T, String>, T...) - Constructor for class com.dua3.utility.swing.ComboBoxEx
-
Constructs a ComboBoxEx with optional editing, adding, and removing functionality.
- ComboBoxEx(UnaryOperator<T>, Supplier<T>, BiPredicate<ComboBoxEx<T>, T>, Supplier<T>, Function<T, String>, T...) - Constructor for class com.dua3.utility.fx.controls.ComboBoxEx
-
Constructs a ComboBoxEx with the specified edit, add, remove, format, and items.
- comboBoxExInput(Collection<T>, Supplier<T>, UnaryOperator<T>, Supplier<T>, BiPredicate<ComboBoxEx<T>, T>, Function<T, String>, Function<T, Optional<String>>) - Static method in interface com.dua3.utility.fx.controls.InputControl
-
Creates a new
SimpleInputControl
for aComboBoxEx
with the specified parameters. - comboBoxInput(Collection<? extends T>, Supplier<T>, Function<T, Optional<String>>) - Static method in interface com.dua3.utility.fx.controls.InputControl
- commit() - Method in record class com.dua3.utility.lang.BuildInfo
-
Returns the value of the
commit
record component. - commitEdit(T) - Method in class com.dua3.utility.fx.controls.TableCellAutoCommit
- compact() - Method in class com.dua3.utility.lang.CompactableSortedMap
-
Transitions the current state of the map from mutable to immutable.
- CompactableSortedMap<K,
V> - Class in com.dua3.utility.lang -
A
CompactableSortedMap
is a specialized implementation of theSortedMap
interface that supports an optional "compact" mode. - CompactableSortedMap() - Constructor for class com.dua3.utility.lang.CompactableSortedMap
-
Constructs an instance of CompactableSortedMap with an initially empty TreeMap as its backing map.
- CompactableSortedMap(Map<K, V>) - Constructor for class com.dua3.utility.lang.CompactableSortedMap
-
Constructs a new instance of CompactableSortedMap and fills it with the content of the provided map.
- comparator() - Method in class com.dua3.utility.lang.CompactableSortedMap
- comparator() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- comparator() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- compareMajorTo(Version) - Method in record class com.dua3.utility.lang.Version
-
Compares the major version of this object with the major version of the specified Version object.
- compareTo(Counter) - Method in class com.dua3.utility.data.Counter
-
Compares this Counter instance with the specified Counter instance for order.
- compareTo(FileType) - Method in class com.dua3.utility.io.FileType
- compareTo(Version) - Method in record class com.dua3.utility.lang.Version
- ComparisonSettings - Record Class in com.dua3.utility.text
-
Settings for comparing
RichText
instances. - ComparisonSettings(Function<String, String>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for record class com.dua3.utility.text.ComparisonSettings
-
Creates an instance of a
ComparisonSettings
record class. - ComparisonSettings.Builder - Class in com.dua3.utility.text
-
A builder class for creating instances of ComparisonSettings.
- COMPLETED_FAILURE - Enum constant in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
The state indicating that the task has completed but encountered a failure.
- COMPLETED_SUCCESS - Enum constant in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
Represents a task state where the task has completed successfully.
- component() - Method in record class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel.OptionInput
-
Returns the value of the
component
record component. - compose(String, BiFunction<String, Object, Object>) - Method in class com.dua3.utility.text.RichTextBuilder
-
Compose new attribute value.
- composedClose(AutoCloseable...) - Static method in class com.dua3.utility.io.IoUtil
-
Create a Runnable that closes multiple
AutoCloseable
instances. - composedClose(Collection<? extends AutoCloseable>) - Static method in class com.dua3.utility.io.IoUtil
-
Create a Runnable that closes multiple
AutoCloseable
instances. - compress(byte[]) - Static method in class com.dua3.utility.data.CompressedBytes
-
Compresses the given byte array using the Deflate compression algorithm.
- compress(InputStream) - Static method in class com.dua3.utility.data.CompressedBytes
-
Compresses the data from the given InputStream using the Deflate compression algorithm and returns a
CompressedBytes
instance containing the compressed data. - compress(Reader) - Static method in class com.dua3.utility.data.CompressedCharacters
-
Compresses the content provided by the given
Reader
into aCompressedCharacters
object. - compress(CharSequence) - Static method in class com.dua3.utility.data.CompressedCharacters
-
Compresses the given
CharSequence
into aCompressedCharacters
instance. - CompressedBytes - Class in com.dua3.utility.data
-
The
CompressedBytes
class provides functionality to compress and decompress byte arrays or input streams using the Deflate compression algorithm. - CompressedCharacters - Class in com.dua3.utility.data
-
The
CompressedCharacters
class provides functionality to compress and decompress textual data efficiently. - computeMaxHeight(double) - Method in class com.dua3.utility.fx.controls.CustomControl
- computeMaxWidth(double) - Method in class com.dua3.utility.fx.controls.CustomControl
- computeMinHeight(double) - Method in class com.dua3.utility.fx.controls.CustomControl
- computeMinWidth(double) - Method in class com.dua3.utility.fx.controls.CustomControl
- computePrefHeight(double) - Method in class com.dua3.utility.fx.controls.CustomControl
- computePrefWidth(double) - Method in class com.dua3.utility.fx.controls.CustomControl
- concat(Stream<T>...) - Static method in class com.dua3.utility.lang.StreamUtil
-
Concat multiple streams.
- confirmation(Window) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new Confirmation dialog.
- confirmationPane() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new Confirmation pane.
- ConsoleHandler - Class in com.dua3.utility.logging
-
The ConsoleHandler class is an implementation of the LogEntryHandler interface.
- ConsoleHandler(PrintStream, boolean) - Constructor for class com.dua3.utility.logging.ConsoleHandler
-
Constructs a ConsoleHandler with the specified PrintStream and colored flag.
- constant(boolean) - Static method in class com.dua3.utility.fx.FxUtil
-
Returns an ObservableBooleanValue that represents the specified boolean constant.
- constant(String, String, Supplier<T>, Class<T>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Creates a disabled input field with the specified configurations.
- constant(String, String, Supplier<T>, Class<T>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- constant(String, String, Supplier<T>, Class<T>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- constant(String, String, Supplier<T>, Class<T>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- constant(String, String, T) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Configures a non-editable input field with the specified parameters.
- constant(String, String, T) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- constant(String, String, T) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- constant(String, String, T) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- consumeIfPresent(Map<K, V>, K, BiConsumer<? super K, ? super V>) - Static method in class com.dua3.utility.lang.LangUtil
-
Consume value if mapping exists.
- consumeIfPresent(Map<K, V>, K, Consumer<? super V>) - Static method in class com.dua3.utility.lang.LangUtil
-
Consume value if mapping exists.
- container - Variable in class com.dua3.utility.fx.controls.CustomControl
-
The container holding child controls for the custom control.
- contains(Vector2f) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Determines if the specified point is contained within the rectangle.
- contains(Object) - Method in class com.dua3.utility.lang.RingBuffer
- contains(CharSequence) - Method in class com.dua3.utility.text.RichText
-
Test if CharSequence is contained.
- contains(CharSequence, CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Test if
CharSequence
is contained- - contains(Object) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- contains(Object) - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- containsAll(Collection<?>) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- containsAll(Collection<?>) - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- containsAll(Collection<?>) - Method in class com.dua3.utility.lang.RingBuffer
- containsAnyOf(CharSequence, char...) - Static method in class com.dua3.utility.text.TextUtil
-
Test if string contains any of the given characters.
- containsAnyOf(CharSequence, String) - Static method in class com.dua3.utility.text.TextUtil
-
Test if string contains any of the given characters.
- containsKey(Object) - Method in class com.dua3.utility.lang.CompactableSortedMap
- containsKey(Object) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- containsKey(String) - Method in class com.dua3.utility.i18n.I18N
-
Checks if the given key is present in the bundleMap.
- containsKey(KeyStore, String) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Checks if the KeyStore contains an entry with the specified alias.
- containsNoneOf(CharSequence, char...) - Static method in class com.dua3.utility.text.TextUtil
-
Test if string contains none of the given characters.
- containsNoneOf(CharSequence, String) - Static method in class com.dua3.utility.text.TextUtil
-
Test if string contains none of the given characters.
- containsValue(Object) - Method in class com.dua3.utility.lang.CompactableSortedMap
- containsValue(Object) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- contentEquals(CharSequence, CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Compare two character sequences for content equality.
- control() - Method in record class com.dua3.utility.fx.ValidationResult
-
Returns the value of the
control
record component. - control(int) - Method in class com.dua3.utility.math.geometry.AbstractCurve2f
-
Get control point by index
- ControlBuilder<C,
B> - Class in com.dua3.utility.fx.controls.abstract_builders -
An abstract base class for building nodes, providing a fluent API for configuring and creating instances of the node type specified by the generic parameter
N
. - ControlBuilder(Supplier<? extends C>) - Constructor for class com.dua3.utility.fx.controls.abstract_builders.ControlBuilder
-
Constructs a new instance of the ControlBuilder class using the specified factory.
- Controls - Class in com.dua3.utility.fx.controls
-
Utility class for creating and managing UI controls.
- ConversionException - Exception Class in com.dua3.utility.data
-
This exception is thrown to indicate that an error occurred during a conversion process.
- ConversionException(String) - Constructor for exception class com.dua3.utility.data.ConversionException
-
Constructs a new
ConversionException
with the specified detail message. - ConversionException(String, Throwable) - Constructor for exception class com.dua3.utility.data.ConversionException
-
Constructs a new
ConversionException
with the specified detail message and cause. - ConversionException(Throwable) - Constructor for exception class com.dua3.utility.data.ConversionException
-
Constructs a new
ConversionException
with the specified cause. - convert(A) - Method in interface com.dua3.utility.data.Converter
-
Converts an object of type A to type B using the conversion function defined in a2b().
- convert(AwtImage) - Method in class com.dua3.utility.awt.AwtImageUtil
- convert(Color) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert
Color
toColor
. - convert(Color) - Static method in class com.dua3.utility.swing.SwingUtil
-
Convert Color to java.awt.Color.
- convert(Image) - Method in class com.dua3.utility.awt.AwtImageUtil
- convert(Image) - Method in interface com.dua3.utility.data.ImageUtil
-
Convert
Image
instance to underlying implementation. - convert(Image) - Method in class com.dua3.utility.fx.FxImageUtil
- convert(AffineTransformation2f) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert
AffineTransformation2f
to JavaFXAffine
. - convert(AffineTransformation2f) - Static method in class com.dua3.utility.swing.SwingGraphics
-
Convert an AffineTransformation2f object to an AffineTransform object.
- convert(Dimension2f) - Static method in class com.dua3.utility.fx.FxUtil
-
Converts a Dimension2f object to a Dimension2D object.
- convert(FillRule) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert
FillRule
to JavaFXFillRule
. - convert(Path2f) - Static method in class com.dua3.utility.fx.FxUtil
-
Converts a
Path2f
object to aPath
object. - convert(Rectangle2f) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert a
Rectangle2f
object to a JavaFXRectangle
object. - convert(Rectangle2f) - Static method in class com.dua3.utility.swing.SwingGraphics
-
Converts a
Rectangle
object to aRectangle2f
object. - convert(Font) - Method in class com.dua3.utility.awt.AwtFontUtil
- convert(Font) - Method in class com.dua3.utility.fx.FxFontUtil
-
Converts a com.dua3.utility.text.Font object to a JavaFX Font object.
- convert(Font) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert
Font
to JavaFXFont
. - convert(Font) - Method in interface com.dua3.utility.text.FontUtil
-
Convert font.
- convert(RichText) - Method in class com.dua3.utility.text.AttributeBasedConverter
-
Convert
RichText
instance to the target class. - convert(RichText) - Method in class com.dua3.utility.text.HtmlConverter
- convert(RichText) - Method in interface com.dua3.utility.text.RichTextConverter
-
Convert
RichText
to the target type. - convert(RichText) - Method in class com.dua3.utility.text.TagBasedConverter
- convert(F) - Method in interface com.dua3.utility.text.FontUtil
-
Convert font.
- convert(I) - Method in interface com.dua3.utility.data.ImageUtil
-
Convert image from underlying implementation to
Image
instance. - convert(Color) - Static method in class com.dua3.utility.swing.SwingUtil
-
Convert java.awt.Color to Color.
- convert(Font) - Method in class com.dua3.utility.awt.AwtFontUtil
- convert(AffineTransform) - Method in class com.dua3.utility.swing.SwingGraphics
-
Converts an instance of
AffineTransform
to an instance ofAffineTransformation2f
. - convert(BufferedImage) - Method in class com.dua3.utility.awt.AwtImageUtil
-
Converts a
BufferedImage
to anAwtImage
. - convert(Rectangle) - Method in class com.dua3.utility.swing.SwingGraphics
-
Convert a
Rectangle
object to aRectangle2f
object. - convert(Object, Class<T>) - Static method in class com.dua3.utility.data.DataUtil
-
Convert an object to a different class.
- convert(Object, Class<T>, boolean) - Static method in class com.dua3.utility.data.DataUtil
-
Convert an object to a different class.
- convert(Collection<T>, Class<U>) - Static method in class com.dua3.utility.data.DataUtil
-
Convert Collection to List.
- convert(Collection<T>, Class<U>, boolean) - Static method in class com.dua3.utility.data.DataUtil
-
Convert Collection to list.
- convert(Collection<T>, Function<? super T, ? extends U>) - Static method in class com.dua3.utility.data.DataUtil
-
Convert Collection to list.
- convert(DoubleProperty) - Static method in class com.dua3.utility.fx.PropertyConverter
-
Converts a given
DoubleProperty
to aProperty<Double>
by performing a type-safe cast. - convert(Bounds) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert a JavaFX
Bounds
object to aRectangle2f
object. - convert(Dimension2D) - Static method in class com.dua3.utility.fx.FxUtil
-
Converts a Dimension2D object to a Dimension2f object.
- convert(Rectangle2D) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert a JavaFX
Rectangle
object to aRectangle2f
object. - convert(Image) - Method in class com.dua3.utility.fx.FxImageUtil
- convert(Color) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert
to
Color
. - convert(FillRule) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert
FillRule
to JavaFXFillRule
. - convert(Font) - Method in class com.dua3.utility.fx.FxFontUtil
-
Converts a JavaFX Font object to a com.dua3.utility.text.Font object.
- convert(Font) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert JavaFX
Font
toFont
. - convert(Affine) - Static method in class com.dua3.utility.fx.FxUtil
-
Convert JavaFX
Affine
toAffineTransformation2f
. - convert(P, Converter<A, B>) - Static method in class com.dua3.utility.fx.PropertyConverter
-
Converts a property of one type to another type using the provided converter, maintaining bidirectional synchronization between the original and converted properties.
- convertBack(B) - Method in interface com.dua3.utility.data.Converter
-
Converts the target object of type B back to a source object of type A using the provided conversion function.
- convertCollection(Collection<T>, Class<U>, Supplier<C>) - Static method in class com.dua3.utility.data.DataUtil
-
Convert Collection.
- convertCollection(Collection<T>, Class<U>, Supplier<C>, boolean) - Static method in class com.dua3.utility.data.DataUtil
-
Convert Collection to list.
- convertCovering(Rectangle2f) - Static method in class com.dua3.utility.swing.SwingGraphics
-
Converts a
Rectangle2f
object to a Rectangle object. - converter() - Method in record class com.dua3.utility.options.Param
-
Returns the value of the
converter
record component. - Converter<A,
B> - Interface in com.dua3.utility.data -
An interface for converting between two types, A and B.
- convertReadOnly(V, Converter<A, B>) - Static method in class com.dua3.utility.fx.PropertyConverter
-
Converts a given read/write property of type A to a read-only property of type B using the specified converter.
- convertReadOnly(V, Function<A, B>) - Static method in class com.dua3.utility.fx.PropertyConverter
-
Converts a given read/write property of type A to a read-only property of type B using the specified converter.
- convertToArray(Collection<T>, Class<? extends U>) - Static method in class com.dua3.utility.data.DataUtil
-
Convert Collection to array.
- convertToArray(Collection<T>, Class<U>, boolean) - Static method in class com.dua3.utility.data.DataUtil
-
Convert Collection to array.
- convertToDoubleReadOnly(V, Function<A, Double>) - Static method in class com.dua3.utility.fx.PropertyConverter
-
Converts a given property of type A to a read-only property of type Double using the specified converter.
- convertToJavaFxPath(Path2f) - Static method in class com.dua3.utility.fx.FxUtil
-
Converts a Path2f object to a JavaFX Path.
- convertToStringReadOnly(V, Function<A, String>) - Static method in class com.dua3.utility.fx.PropertyConverter
-
Converts a given property of type A to a read-only property of type String using the specified converter.
- convertToSwingPath(Path2f) - Static method in class com.dua3.utility.swing.SwingUtil
- copy() - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Creates a copy of the DefaultLogEntryFilter with the same log level and filter.
- copy() - Method in class com.dua3.utility.text.FontDef
-
Creates and returns a deep copy of this FontDef instance.
- copyBuffer() - Method in class com.dua3.utility.swing.SwingLogPane
-
Copy contents of log buffer to clipboard.
- copyright(String) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the copyright information for the About dialog.
- copyToClipboard(Image) - Static method in class com.dua3.utility.fx.FxUtil
-
Copy image to clipboard.
- copyToClipboard(RichText) - Static method in class com.dua3.utility.fx.FxUtil
-
Copy text to clipboard.
- copyToClipboard(String) - Static method in class com.dua3.utility.fx.FxUtil
-
Copy text to clipboard.
- copyToClipboard(Path) - Static method in class com.dua3.utility.fx.FxUtil
-
Copy file/folder to clipboard.
- copyToClipboard(Collection<? extends Path>) - Static method in class com.dua3.utility.fx.FxUtil
-
Copy files/folders to clipboard.
- copyToClipboard(Image) - Static method in class com.dua3.utility.fx.FxUtil
-
Copy image to clipboard.
- CORAL - Static variable in interface com.dua3.utility.data.Color
-
The color CORAL.
- CORNFLOWERBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color CORNFLOWERBLUE.
- CORNSILK - Static variable in interface com.dua3.utility.data.Color
-
The color CORNSILK.
- count() - Method in record class com.dua3.utility.data.Histogram.Entry
-
Returns the value of the
count
record component. - counter() - Method in record class com.dua3.utility.text.RichTextJoiner.AccumulationType
-
Returns the value of the
counter
record component. - Counter - Class in com.dua3.utility.data
-
A Counter class that maintains a numerical value and provides methods to manipulate and retrieve that value.
- Counter() - Constructor for class com.dua3.utility.data.Counter
-
Constructs a new
Counter
instance with an initial value of 0. - create(char, TextAttributes) - Static method in interface com.dua3.utility.text.AttributedCharacter
-
Create instance.
- create(int, int) - Static method in class com.dua3.utility.awt.AwtImage
-
Creates a SwingImage object with the given width, height, and pixel data.
- create(int, int, int[]) - Static method in class com.dua3.utility.awt.AwtImage
-
Creates a SwingImage object with the given width, height, and pixel data.
- create(int, int, int[]) - Method in class com.dua3.utility.awt.AwtImageUtil
- create(int, int, int[]) - Method in interface com.dua3.utility.data.ImageUtil
-
Create image from pixel data.
- create(int, int, int[]) - Method in class com.dua3.utility.fx.FxImageUtil
- create(CsvReader.RowBuilder, BufferedReader, Arguments) - Static method in class com.dua3.utility.io.CsvReader
-
Creates a new instance of `CsvReader`.
- create(CsvReader.RowBuilder, InputStream, Arguments) - Static method in class com.dua3.utility.io.CsvReader
-
Creates a new instance of `CsvReader`.
- create(CsvReader.RowBuilder, Path, Arguments) - Static method in class com.dua3.utility.io.CsvReader
-
Creates a new instance of `CsvReader`.
- create(Option<U>, U) - Static method in class com.dua3.utility.options.Arguments.Entry
-
Creates a new entry that represents an option and its associated value.
- create(StyledDocumentConversionOption...) - Static method in class com.dua3.utility.swing.StyledDocumentConverter
-
Create a new converter instance.
- create(AnsiConversionOption...) - Static method in class com.dua3.utility.text.AnsiConverter
-
Create a converter.
- create(Font) - Static method in class com.dua3.utility.text.Style
-
Create a style for the given font.
- create(Font, Color, Color) - Static method in class com.dua3.utility.text.Style
-
Creates a new style with the specified font, foreground color, and background color.
- create(HtmlConversionOption...) - Static method in class com.dua3.utility.text.HtmlConverter
-
Create a converter with default mappings.
- create(BufferedWriter, Arguments) - Static method in class com.dua3.utility.io.CsvWriter
-
Creates a new CsvWriter by using the provided BufferedWriter and Arguments options.
- create(OutputStream, Arguments) - Static method in class com.dua3.utility.io.CsvWriter
-
Creates a new CsvWriter by using the provided OutputStream and Arguments options.
- create(CharSequence, CharSequence, String) - Static method in record class com.dua3.utility.lang.BuildInfo
-
Creates a new instance of
BuildInfo
using the provided version string, build timestamp, and key. - create(CharSequence, CharSequence, String, String, String) - Static method in record class com.dua3.utility.lang.BuildInfo
-
Creates a new instance of
BuildInfo
using the provided version string, build timestamp, key, commit, and system. - create(Class<?>, String) - Static method in record class com.dua3.utility.lang.BuildInfo
-
Load properties from resource and return BuildInfo.
- create(String) - Static method in class com.dua3.utility.lang.Stopwatch
-
Create new instance.
- create(String, Runnable) - Static method in class com.dua3.utility.fx.FxRefresh
-
Create new instance.
- create(String, Runnable, boolean) - Static method in class com.dua3.utility.fx.FxRefresh
-
Create new instance.
- create(String, Runnable, Node) - Static method in class com.dua3.utility.fx.FxRefresh
-
Create a refresher instance for a JavaFX
Node
. - create(String, Runnable, Node, boolean) - Static method in class com.dua3.utility.fx.FxRefresh
-
Create a refresher instance for a JavaFX
Node
. - create(String, Consumer<? super Stopwatch>) - Static method in class com.dua3.utility.lang.Stopwatch
-
Create new instance.
- create(String, Locale) - Static method in class com.dua3.utility.i18n.I18N
-
Creates an instance of the I18N class.
- create(String, Map.Entry<String, Object>...) - Static method in class com.dua3.utility.text.Style
-
Create a new Style.
- create(String, Map<String, Object>) - Static method in class com.dua3.utility.text.Style
-
Create a new Style.
- create(Path, FileSystemView.Flags...) - Static method in class com.dua3.utility.io.FileSystemView
-
Create FileSystemView.
- create(Path, Arguments) - Static method in class com.dua3.utility.io.CsvWriter
-
Creates a new CsvWriter by using the provided file path, Arguments options.
- create(Collection<StyledDocumentConversionOption>) - Static method in class com.dua3.utility.swing.StyledDocumentConverter
-
Create a new converter instance.
- create(Collection<AnsiConversionOption>) - Static method in class com.dua3.utility.text.AnsiConverter
-
Create a converter.
- create(Collection<HtmlConversionOption>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Create a converter with default mappings.
- create(Function<A, B>, Function<B, A>) - Static method in interface com.dua3.utility.data.Converter
-
Creates a bidirectional converter between two types A and B.
- create(Supplier<? extends T>, Consumer<? super T>) - Static method in interface com.dua3.utility.data.Bearer
-
Create Bearer.
- create(Supplier<String>) - Static method in class com.dua3.utility.lang.Stopwatch
-
Create new instance.
- create(Supplier<String>, Consumer<? super Stopwatch>) - Static method in class com.dua3.utility.lang.Stopwatch
-
Create new instance.
- create(Properties) - Static method in record class com.dua3.utility.lang.BuildInfo
-
Create instance from properties.
- create(ResourceBundle) - Static method in class com.dua3.utility.i18n.I18N
-
Creates an instance of the I18N class with the provided resource bundle.
- create(ButtonType, DialogPaneBuilder.ResultHandler<Q>, Consumer<InputDialogPane<Q>>, BooleanExpression) - Static method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Creates a new
ButtonDef
instance with the specified parameters. - create(T) - Static method in interface com.dua3.utility.concurrent.Value
-
Creates a new Value object with the initial value.
- CREATE_IF_MISSING - Enum constant in enum class com.dua3.utility.io.FileSystemView.Flags
-
The CREATE_IF_MISSING flag is used in the FileSystemView class to indicate whether a new file or directory should be created if it does not already exist.
- createAction(String, Runnable) - Static method in class com.dua3.utility.swing.SwingUtil
-
Create an action to be used in menus.
- createAction(String, Consumer<? super ActionEvent>) - Static method in class com.dua3.utility.swing.SwingUtil
-
Create an action to be used in menus.
- createAppender(String, boolean, Layout<? extends Serializable>, Filter) - Static method in class com.dua3.utility.logging.log4j.LogAppenderLog4j
-
Creates a LogAppenderLog4j object with the specified parameters.
- createArgumentsParser() - Method in class com.dua3.utility.db.JdbcDriverInfo
-
Creates and configures an instance of
ArgumentsParser
tailored for JDBC Driver arguments. - createBlank(HtmlConversionOption...) - Static method in class com.dua3.utility.text.HtmlConverter
-
Create a converter without any mappings.
- createBlank(Collection<HtmlConversionOption>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Create a converter without any mappings.
- createBufferedImage(int, int) - Method in class com.dua3.utility.awt.AwtImageUtil
- createBufferedImage(int, int) - Method in interface com.dua3.utility.data.ImageUtil
-
Create an empty
BufferedImage
. - createBufferedImage(int, int) - Method in class com.dua3.utility.fx.FxImageUtil
- createButton(ButtonType) - Method in class com.dua3.utility.fx.controls.InputDialogPane
- createCodec(String, Encoder<? super T>, Decoder<? extends T>) - Static method in class com.dua3.utility.io.Codecs
- createConverter(RichText) - Method in class com.dua3.utility.swing.StyledDocumentConverter
- createConverter(RichText) - Method in class com.dua3.utility.text.AnsiConverter
- createConverter(RichText) - Method in class com.dua3.utility.text.AttributeBasedConverter
-
Factory method to create a compatible converter implementation instance for this converter.
- createConverter(RichText) - Method in class com.dua3.utility.text.HtmlConverter
- createConverter(RichText) - Method in class com.dua3.utility.text.TagBasedConverter
-
Create a converter for the given argument.
- createDataSource(Driver, String, String, String) - Static method in class com.dua3.utility.db.DbUtil
-
Create DataSource.
- createDefaultSkin() - Method in class com.dua3.utility.fx.controls.CustomControl
- createDefaultSkin() - Method in class com.dua3.utility.fx.controls.PinBoard
- createDefaultSkin() - Method in class com.dua3.utility.fx.icons.IconView
- createEntry(Option<T>, T) - Static method in class com.dua3.utility.options.Arguments
-
Create an argument entry intended to be passed to
Arguments.of(Entry[])
. - createEnumOption(String, String, Class<E>, String, Supplier<E>, String, String...) - Static method in class com.dua3.utility.options.Option
-
Creates an
Option
for handling enum-type parameters. - createExtensionFilter(FileType<? extends T>) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Creates a new
FileChooser.ExtensionFilter
instance based on the providedFileType
. - createFlag(String, String, String, String...) - Static method in class com.dua3.utility.options.Option
-
Creates an
Option
representing a flag, which is a boolean option that can either be enabled or disabled. - createHashBased() - Static method in class com.dua3.utility.data.Histogram
-
Creates a new instance of
Histogram
backed by aHashMap
as the underlying storage for counting occurrences of items. - createIdentityBased() - Static method in class com.dua3.utility.data.Histogram
-
Creates a new instance of a
Histogram
that backed by anIdentityHashMap
to count occurrences. - createJScrollPane(int) - Static method in class com.dua3.utility.swing.SwingUtil
-
Create JScrollPane with unit increment set.
- createJScrollPane(int, int, int) - Static method in class com.dua3.utility.swing.SwingUtil
-
Create JScrollPane with unit increment set.
- createJScrollPane(int, Component) - Static method in class com.dua3.utility.swing.SwingUtil
-
Create JScrollPane with unit increment set.
- createJScrollPane(int, Component, int, int) - Static method in class com.dua3.utility.swing.SwingUtil
-
Create JScrollPane with unit increment set.
- createKeyStore(char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Creates a new empty KeyStore using the default type (PKCS12).
- createKeyStore(String, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Creates a new empty KeyStore of the specified type.
- createReadOnly(T) - Static method in interface com.dua3.utility.concurrent.Value
-
Creates a new ReadOnlyValue object with the initial value.
- createSecureTempDirectory(String) - Static method in class com.dua3.utility.io.IoUtil
-
Creates a secure temporary directory with the given prefix.
- createSecureTempDirectory(Path, String) - Static method in class com.dua3.utility.io.IoUtil
-
Creates a secure temporary directory with specified permissions depending on the operating system.
- createSecureTempDirectoryAndDeleteOnExit(String) - Static method in class com.dua3.utility.io.IoUtil
-
Creates a secure temporary directory and schedules it for deletion upon JVM exit.
- createSecureTempDirectoryAndDeleteOnExit(Path, String) - Static method in class com.dua3.utility.io.IoUtil
-
Creates a secure temporary directory and schedules it for deletion upon JVM exit.
- createSelectionOption(String, String, Class<T>, String, List<T>, Converter<String, T>, Supplier<T>, String, String...) - Static method in class com.dua3.utility.options.Option
-
Creates a selection option that associates display attributes, type information, allowed values, a converter for parsing input, and default supplier logic.
- createSelfSignedX509Certificate(KeyPair, String, int, boolean) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Creates a self-signed X.509 certificate using the provided key pair, subject distinguished name, validity duration, and a flag to enable Certificate Authority (CA) settings.
- createSignedData(PrivateKey, X509Certificate, byte[]) - Static method in class com.dua3.utility.crypt.SignatureUtil
-
Creates a CMSSignedData object by signing the input data (certificate bytes) using the provided private key and certificate.
- createSimpleOption(String, String, Param<T>, Supplier<T>, String, String...) - Static method in class com.dua3.utility.options.Option
-
Creates an
Option
representing a customizable and reusable parameter with an associated name, description, and default value. - createTask() - Method in class com.dua3.utility.fx.FxService
- createX509Certificate(KeyPair, String, int, boolean, PrivateKey, X509Certificate...) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Creates an X.509 certificate using the provided key pair, subject distinguished name, validity period, and a parent certificate.
- CRIMSON - Static variable in interface com.dua3.utility.data.Color
-
The color CRIMSON.
- CryptUtil - Class in com.dua3.utility.crypt
-
Cryptographic utilities.
- css(String) - Method in class com.dua3.utility.fx.controls.AlertBuilder
-
Set supplemental CSS.
- css(URL) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the CSS file to be used for styling the dialog.
- cssStyle() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
cssStyle
record component. - CsvFormatException - Exception Class in com.dua3.utility.io
-
Exception class for reporting CSV format violations.
- CsvFormatException(String, URI, int) - Constructor for exception class com.dua3.utility.io.CsvFormatException
-
Construct a new CsvFormatException.
- CsvIo - Class in com.dua3.utility.io
-
Base class for CSV-input/output classes.
- CsvIo(Arguments) - Constructor for class com.dua3.utility.io.CsvIo
-
Constructor for creating a CsvIo object.
- CsvReader - Class in com.dua3.utility.io
-
A class that reads data from CSV files.
- CsvReader(CsvReader.RowBuilder, BufferedReader, URI, Arguments) - Constructor for class com.dua3.utility.io.CsvReader
-
A utility class for reading CSV files.
- CsvReader.ListRowBuilder - Class in com.dua3.utility.io
-
A
CsvReader.RowBuilder
implementation that creates a list of Strings for the cells contained in each row read. - CsvReader.RowBuilder - Interface in com.dua3.utility.io
-
Interface used to build rows when reading CSV files.
- CsvWriter - Class in com.dua3.utility.io
-
A class that writes data in CSV format.
- CsvWriter(BufferedWriter, Arguments) - Constructor for class com.dua3.utility.io.CsvWriter
-
Constructs a new CsvWriter.
- current() - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Get the current (last added) vertex.
- currentPlatform() - Static method in enum class com.dua3.utility.lang.Platform
-
Get the detected platform that the program runs on.
- currentValues(Arguments) - Method in class com.dua3.utility.fx.controls.OptionsDialogBuilder
-
Set current values.
- Curve2f - Class in com.dua3.utility.math.geometry
-
Bézier curve Path segment.
- curveTo(Vector2f, Vector2f) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Add a quadratic Bézier curve from the current position to a new position.
- curveTo(Vector2f, Vector2f, Vector2f) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Add a cubic Bézier curve from the current position to a new position.
- CustomControl<C> - Class in com.dua3.utility.fx.controls
-
Base class for simple custom controls composed of different child controls.
- CustomControl(C) - Constructor for class com.dua3.utility.fx.controls.CustomControl
-
Constructor.
D
- d() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Returns the value of the
d
record component. - DARKBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color DARKBLUE.
- DARKCYAN - Static variable in interface com.dua3.utility.data.Color
-
The color DARKCYAN.
- darker() - Method in interface com.dua3.utility.data.Color
-
Get a darker color.
- darker() - Method in record class com.dua3.utility.data.HSVColor
- darker() - Method in record class com.dua3.utility.data.RGBColor
- DARKGOLDENROD - Static variable in interface com.dua3.utility.data.Color
-
The color DARKGOLDENROD.
- DARKGRAY - Static variable in interface com.dua3.utility.data.Color
-
The color DARKGRAY.
- DARKGRAY - Static variable in class com.dua3.utility.text.Style
-
Darkgray text.
- DARKGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color DARKGREEN.
- DARKGREY - Static variable in interface com.dua3.utility.data.Color
-
The color DARKGREY.
- DARKKHAKI - Static variable in interface com.dua3.utility.data.Color
-
The color DARKKHAKI.
- DARKMAGENTA - Static variable in interface com.dua3.utility.data.Color
-
The color DARKMAGENTA.
- DARKOLIVEGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color DARKOLIVEGREEN.
- DARKORANGE - Static variable in interface com.dua3.utility.data.Color
-
The color DARKORANGE.
- DARKORCHID - Static variable in interface com.dua3.utility.data.Color
-
The color DARKORCHID.
- DARKRED - Static variable in interface com.dua3.utility.data.Color
-
The color DARKRED.
- DARKSALMON - Static variable in interface com.dua3.utility.data.Color
-
The color DARKSALMON.
- DARKSEAGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color DARKSEAGREEN.
- DARKSLATEBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color DARKSLATEBLUE.
- DARKSLATEGRAY - Static variable in interface com.dua3.utility.data.Color
-
The color DARKSLATEGRAY.
- DARKSLATEGREY - Static variable in interface com.dua3.utility.data.Color
-
The color DARKSLATEGREY.
- DARKTURQUOISE - Static variable in interface com.dua3.utility.data.Color
-
The color DARKTURQUOISE.
- DARKVIOLET - Static variable in interface com.dua3.utility.data.Color
-
The color DARKVIOLET.
- data() - Method in record class com.dua3.utility.data.ImageBuffer
-
Returns the value of the
data
record component. - DataUtil - Class in com.dua3.utility.data
-
Utility class for data handling and conversion.
- dateFormat(Supplier<PredefinedDateTimeFormat>) - Static method in class com.dua3.utility.io.IoOptions
-
Creates an option for specifying the date format to be used in various operations.
- dateFormatter - Variable in class com.dua3.utility.io.CsvIo
-
The formatter used for formatting date objects.
- dateTimeFormatter - Variable in class com.dua3.utility.io.CsvIo
-
The formatter used for formatting date-time values.
- DbUtil - Class in com.dua3.utility.db
-
Database utility class.
- debug(JSObject) - Method in class com.dua3.utility.fx.web.WebViews.JSLogger
-
Logs a debug message with the provided JSObject argument.
- DEBUG - Enum constant in enum class com.dua3.utility.logging.LogLevel
-
DEBUG log level.
- decimal(String, String, Supplier<Double>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled decimal input.
- decimal(String, String, Supplier<Double>, Function<Double, Optional<String>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled decimal input.
- decimal(String, String, Supplier<Double>, Function<Double, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- decimal(String, String, Supplier<Double>, Function<Double, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- decimal(String, String, Supplier<Double>, Function<Double, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- decimalInput(Supplier<Double>, Function<Double, Optional<String>>) - Static method in interface com.dua3.utility.fx.controls.InputControl
-
Creates a
SimpleInputControl
for decimal input using aTextField
. - decode(DataInputStream) - Method in interface com.dua3.utility.io.Decoder
-
Read an object from the
DataInputStream
. - decode(DataInputStream, Decoder<? extends T>, IntFunction<? extends Collection<T>>) - Static method in interface com.dua3.utility.io.Decoder
-
Decode a collection of objects.
- decodeFontSize(String) - Static method in class com.dua3.utility.text.TextUtil
-
Get the font size in pt for a font size given as string.
- decodeOptional(DataInputStream) - Method in interface com.dua3.utility.io.Decoder
-
Decode an optional object.
- Decoder<T> - Interface in com.dua3.utility.io
-
Decoder interface for reading objects from
DataInputStream
. - decodeToString(byte[]) - Static method in class com.dua3.utility.text.TextUtil
-
Decodes the given byte array into a string using UTF-8 character encoding.
- decodeUnchecked(DataInputStream) - Method in interface com.dua3.utility.io.Decoder
-
Read an object from the
DataInputStream
. - decompose(String) - Method in class com.dua3.utility.text.RichTextBuilder
-
Reverts the change made by a previous
RichTextBuilder.compose(String, BiFunction)
call. - Decoration - Class in com.dua3.utility.fx.controls
-
The Decoration class provides static methods to manage decorations for JavaFX Nodes.
- decrementGraphic(Node) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets a graphical representation for the decrement button of the slider.
- decrementText(String) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the text for the decrement button of the slider.
- decrypt(String, char[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Decrypts the given input string using the specified password and input buffer handling strategy.
- decryptAsymmetric(PrivateKey, byte[]) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Asymmetrically decrypt data using a private key.
- decryptHybrid(PrivateKey, byte[]) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Decrypt hybrid encrypted data using the corresponding private key.
- decryptSymmetric(SymmetricAlgorithm, Key, byte[]) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Symmetrically decrypt data using a Key object with the specified algorithm.
- decryptSymmetric(Key, byte[]) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Symmetrically decrypt data using a Key object with the default algorithm.
- DEEPPINK - Static variable in interface com.dua3.utility.data.Color
-
The color DEEPPINK.
- DEEPSKYBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color DEEPSKYBLUE.
- DEFAULT_CAPACITY - Static variable in class com.dua3.utility.logging.LogBuffer
-
The default capacity.
- DEFAULT_MAX_BYTES - Static variable in class com.dua3.utility.io.IoUtil
-
Default maximum total bytes to extract from a zip archive
- DEFAULT_MAX_COMPRESSION_RATIO - Static variable in class com.dua3.utility.io.IoUtil
-
Default maximum compression ratio for zip extraction
- DEFAULT_MAX_FILES - Static variable in class com.dua3.utility.io.IoUtil
-
Default maximum number of files to extract from a zip archive
- defaultAttributes(Map<String, Object>) - Static method in class com.dua3.utility.swing.StyledDocumentConverter
-
Set default attributes.
- defaultButton(ButtonType) - Method in class com.dua3.utility.fx.controls.AlertBuilder
-
Define the default Buttons.
- defaultFont(Font) - Static method in class com.dua3.utility.swing.StyledDocumentConverter
-
Set default font.
- defaultInstance() - Static method in class com.dua3.utility.xml.XmlUtil
-
Get instance using the default implementation supplied by the JDK.
- DefaultLogEntryFilter - Class in com.dua3.utility.logging
-
The DefaultLogEntryFilter class is an implementation of the LogEntryFilter interface that filters log entries based on their log level and a user-defined filter.
- DefaultLogEntryFilter() - Constructor for class com.dua3.utility.logging.DefaultLogEntryFilter
-
Constructs a new DefaultLogEntryFilter with
LogLevel.TRACE
as the default log level and a looger name and message filters that let all log entries pass. - DefaultLogEntryFilter(LogLevel, BiPredicate<String, LogLevel>, BiPredicate<String, LogLevel>) - Constructor for class com.dua3.utility.logging.DefaultLogEntryFilter
-
Constructs a new DefaultLogEntryFilter with the specified log level and filter.
- defaultMapper(BiFunction<String, Object, HtmlTag>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Set the default mapper which is called when no mapper is registered for the style name.
- defaultSettings() - Static method in record class com.dua3.utility.text.ComparisonSettings
-
Default comparison settings; all ignore...
- defaultSupplier(Supplier<? extends T>) - Method in class com.dua3.utility.spi.SpiLoader.LoaderBuilder
-
Sets the default supplier for fallback instances.
- defaultSupplier(Supplier<T>) - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Sets the default supplier for the option.
- defaultSupplier(Supplier<T>) - Method in class com.dua3.utility.options.OptionBuilder
- defaultToString(Object) - Static method in class com.dua3.utility.lang.LangUtil
-
Get default toString() for object.
- defaultValidate(FileDialogMode, boolean) - Static method in class com.dua3.utility.fx.controls.FileInput
-
Returns a function object that validates the file selection based on the specified file dialog mode and whether only existing files or directories are allowed.
- defaultValue(String, Object...) - Method in class com.dua3.utility.fx.controls.PromptBuilder
-
Sets the default value for the prompt dialog.
- deg(double) - Static method in class com.dua3.utility.math.MathUtil
-
Converts an angle from radians to degrees.
- degf(float) - Static method in class com.dua3.utility.math.MathUtil
-
Converts an angle from radians to degrees.
- deleteCharAt(int) - Method in class com.dua3.utility.text.RichTextBuilder
-
Deletes the character at the specified index in the text being built and updates internal structures to maintain the consistency of text positions and attributes.
- deleteKey(KeyStore, String) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Deletes an entry from the KeyStore.
- deleteRecursive(Path) - Static method in class com.dua3.utility.io.IoUtil
-
Delete a file or directory recursively.
- deleteRecursiveOnExit(Path) - Static method in class com.dua3.utility.io.IoUtil
-
Schedules the deletion of the specified directory and its contents when the JVM exits.
- delimiter - Variable in class com.dua3.utility.io.CsvIo
-
This variable represents the delimiter character used in CSV (Comma-Separated Values) files.
- delta(FontData, FontData) - Static method in record class com.dua3.utility.text.FontData
-
Determine differences between two fonts.
- delta(Font, Font) - Static method in class com.dua3.utility.text.Font
-
Determine differences between two fonts.
- deltaX() - Method in class com.dua3.utility.math.geometry.Line2f
-
Get difference in x-coordinates.
- deltaY() - Method in class com.dua3.utility.math.geometry.Line2f
-
Get difference in y-coordinates.
- deriveFont(Font, FontDef) - Method in class com.dua3.utility.awt.AwtFontUtil
- deriveFont(Font, FontDef) - Method in class com.dua3.utility.fx.FxFontUtil
- deriveFont(Font, FontDef) - Method in interface com.dua3.utility.text.FontUtil
-
Derives a new Font object based on a given font and font definition specifications.
- deriveSecretKey(SymmetricAlgorithm, byte[], byte[], byte[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Derives a cryptographic key using the specified symmetric algorithm, salt, input data, and additional info.
- deriveSecretKeyWithRandomSalt(SymmetricAlgorithm, byte[], byte[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Derives a secret key for the specified symmetric algorithm using a randomly generated salt.
- descent() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
descent
record component. - descentSigned() - Method in record class com.dua3.utility.text.FontData
-
Returns the negative value of the descent attribute for the font.
- description() - Method in class com.dua3.utility.db.JdbcDriverInfo
-
Get driver description text.
- description() - Method in class com.dua3.utility.options.Option
-
Retrieves the description of this option.
- description() - Method in record class com.dua3.utility.options.Param
-
Returns the value of the
description
record component. - description(String) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Sets the description for the ArgumentsParserBuilder instance being built.
- DialogBuilder<D,
B, - Class in com.dua3.utility.fx.controls.abstract_buildersR> -
Abstract class for building dialog boxes.
- DialogBuilder(Window) - Constructor for class com.dua3.utility.fx.controls.abstract_builders.DialogBuilder
-
Constructs a DialogBuilder with an optional parent window.
- DialogPaneBuilder<D,
B, - Class in com.dua3.utility.fx.controls.abstract_buildersR> -
Abstract base class for DialogPane builders.
- DialogPaneBuilder(BiConsumer<? super D, ? super String>) - Constructor for class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Constructs an instance of DialogPaneBuilder with the specified header setter.
- DialogPaneBuilder.ResultHandler<R> - Interface in com.dua3.utility.fx.controls.abstract_builders
-
Dialog(Pane) result handler.
- Dialogs - Class in com.dua3.utility.fx.controls
-
Utility class for creating various types of dialogs and panes.
- Dialogs.UnsupportedFileTypeException - Exception Class in com.dua3.utility.fx.controls
-
Exception thrown to indicate that an unsupported file type was encountered.
- diff(Map<? extends U, ? extends V>, Map<? extends U, ? extends V>) - Static method in class com.dua3.utility.data.DataUtil
-
Compute the difference of mappings between two maps.
- diff(Map<? extends U, ? extends V>, Map<? extends U, ? extends V>, Supplier<? extends Map<U, V>>) - Static method in class com.dua3.utility.data.DataUtil
-
Compute the difference of mappings between two maps.
- digest() - Method in record class com.dua3.utility.lang.BuildInfo
-
Computes the SHA-256 hash of the concatenated string representation of the version and build time.
- Dimension2f - Record Class in com.dua3.utility.math.geometry
-
An immutable 2-dimensional dimension using float coordinates.
- Dimension2f(float, float) - Constructor for record class com.dua3.utility.math.geometry.Dimension2f
-
Constructor.
- DIMGRAY - Static variable in interface com.dua3.utility.data.Color
-
The color DIMGRAY.
- DIMGREY - Static variable in interface com.dua3.utility.data.Color
-
The color DIMGREY.
- directory(String) - Method in class com.dua3.utility.io.Zip
-
Add directory to zip.
- DIRECTORY - Enum constant in enum class com.dua3.utility.fx.controls.FileDialogMode
-
Mode representing directory selection in a file dialog.
- DirectoryChooserBuilder - Class in com.dua3.utility.fx.controls
-
Builder for directory chooser dialogs.
- disabled(boolean) - Method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Set the node's disabled state to the supplied value.
- disabled(ObservableValue<Boolean>) - Method in class com.dua3.utility.fx.controls.FileInputBuilder
-
Sets the 'disabled' property for the FileInput control.
- disallowEmpty(TextInputControl, String) - Method in class com.dua3.utility.fx.controls.Validator
-
Add a rule that assures the control is not empty.
- dispatcher() - Method in class com.dua3.utility.logging.log4j.LogAppenderLog4j
-
Returns the LogEntryDispatcher associated with the LogAppenderLog4j instance.
- displayName() - Method in class com.dua3.utility.options.Option
-
Retrieves the display name of this option.
- displayName() - Method in record class com.dua3.utility.options.Param
-
Returns the value of the
displayName
record component. - displayScaleProperty() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Returns the display scale property of the application.
- dispose() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Disposes the PinBoardSkin instance.
- dispose() - Method in class com.dua3.utility.fx.controls.Validator
-
Run cleanup actions.
- DISTRIBUTE - Enum constant in enum class com.dua3.utility.text.Alignment
-
Align distributed.
- DISTRIBUTED - Enum constant in enum class com.dua3.utility.text.VerticalAlignment
-
align distributed.
- doCreateTask() - Method in class com.dua3.utility.fx.FxService
-
Creates and returns a custom task to be executed by the FxService.
- document() - Method in record class com.dua3.utility.xml.XmlUtil.DocumentWithNamespace
-
Returns the value of the
document
record component. - documentBuilder() - Method in class com.dua3.utility.xml.XmlUtil
-
Create new
DocumentBuilder
. - DocumentWithNamespace(Document, NamespaceContext) - Constructor for record class com.dua3.utility.xml.XmlUtil.DocumentWithNamespace
-
Creates an instance of a
DocumentWithNamespace
record class. - DODGERBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color DODGERBLUE.
- dragEventHandler(Function<? super List<Path>, ? extends Collection<TransferMode>>) - Static method in class com.dua3.utility.fx.FxUtil
-
Create an
javafx.event.EventHandler<javafx.scene.input.DragEvent>
that accepts dragging files. - drawImage(Image, float, float) - Method in class com.dua3.utility.fx.FxGraphics
- drawImage(Image, float, float) - Method in class com.dua3.utility.swing.SwingGraphics
- drawImage(Image, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Draws the specified image at the given coordinates.
- drawImage(Image, Vector2f) - Method in interface com.dua3.utility.ui.Graphics
-
Draws the specified image at the given coordinates.
- drawText(CharSequence, float, float) - Method in class com.dua3.utility.fx.FxGraphics
- drawText(CharSequence, float, float) - Method in class com.dua3.utility.swing.SwingGraphics
- drawText(CharSequence, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Draws the specified text at the given coordinates.
- drawText(CharSequence, float, float, Graphics.HAnchor, Graphics.VAnchor) - Method in interface com.dua3.utility.ui.Graphics
-
Draw text at the specified coordinates with the given horizontal and vertical anchor.
- drawText(CharSequence, Vector2f) - Method in interface com.dua3.utility.ui.Graphics
-
Draws the specified text at the given position.
- dropEventHandler(Consumer<? super List<Path>>) - Static method in class com.dua3.utility.fx.FxUtil
-
Create an
javafx.event.EventHandler<javafx.scene.input.DragEvent>
that accepts paths. - DSA - Enum constant in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Digital Signature Algorithm (for signatures only)
E
- e() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Returns the value of the
e
record component. - E - Static variable in class com.dua3.utility.math.MathUtil
-
A mathematical constant representing Euler's number (e), the base of the natural logarithm.
- EC - Enum constant in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Elliptic Curve Cryptography, requires special provider for encryption (not signatures and key agreement)
- elapsed() - Method in class com.dua3.utility.lang.Stopwatch
-
Get elapsed time.
- elapsedSplit(boolean) - Method in class com.dua3.utility.lang.Stopwatch
-
Get elapsed time in current split.
- elapsedString() - Method in class com.dua3.utility.lang.Stopwatch
-
Get elapsed time as a string.
- elapsedStringSplit(boolean) - Method in class com.dua3.utility.lang.Stopwatch
-
Get elapsed time in current split as a string.
- emailHash(CharSequence, String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Generates a hash for the given email representing the Argon2id hash of the normalized email, using a salt derived from HMAC(email, pepper), and the pepper as an Argon2id secret.
- empty() - Static method in class com.dua3.utility.options.Arguments
-
Create an empty instance.
- empty() - Static method in record class com.dua3.utility.text.FragmentedText
-
Returns an empty instance of
FragmentedText
. - EMPTY - Static variable in class com.dua3.utility.text.Style
-
Empty style, not defining any attributes.
- EMPTY_BYTE_ARRAY - Static variable in class com.dua3.utility.lang.LangUtil
-
A constant representing an empty byte array.
- EMPTY_CHAR_ARRAY - Static variable in class com.dua3.utility.lang.LangUtil
-
A constant representing an empty array of characters.
- EMPTY_DOUBLE_ARRAY - Static variable in class com.dua3.utility.lang.LangUtil
-
A constant representing an empty array of doubles.
- EMPTY_FLOAT_ARRAY - Static variable in class com.dua3.utility.lang.LangUtil
-
A constant representing an empty array of floats.
- EMPTY_INT_ARRAY - Static variable in class com.dua3.utility.lang.LangUtil
-
An immutable empty array of integers.
- EMPTY_LONG_ARRAY - Static variable in class com.dua3.utility.lang.LangUtil
-
Represents a statically defined empty array of long type.
- EMPTY_REFERENCE - Static variable in class com.dua3.utility.io.SoftResource
-
A static final SoftReference holding a null reference.
- EMPTY_RESOURCE - Static variable in class com.dua3.utility.io.SoftResource
-
A constant representing an empty soft resource.
- EMPTY_SHORT_ARRAY - Static variable in class com.dua3.utility.lang.LangUtil
-
A constant representing an empty array of type
short
. - emptyIcon() - Static method in class com.dua3.utility.fx.icons.IconUtil
-
Returns an empty icon.
- emptyMap() - Static method in class com.dua3.utility.lang.ImmutableSortedMap
-
Returns an empty immutable sorted map.
- emptyReference() - Static method in class com.dua3.utility.io.SoftResource
-
Create an empty soft resource.
- emptyTag() - Static method in interface com.dua3.utility.text.HtmlTag
-
The empty tag.
- emptyText() - Static method in class com.dua3.utility.text.RichText
-
Returns the empty String as RichText.
- enabled() - Method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Returns the value of the
enabled
record component. - encode(DataOutputStream, Collection<T>, Encoder<? super T>) - Static method in interface com.dua3.utility.io.Encoder
-
Encode a collection of objects.
- encode(DataOutputStream, T) - Method in interface com.dua3.utility.io.Encoder
-
Write instance to stream.
- encodeOptional(DataOutputStream, T) - Method in interface com.dua3.utility.io.Encoder
-
Encode an optional object.
- Encoder<T> - Interface in com.dua3.utility.io
-
Encoder interface for writing objects to
DataOutputStream
. - encodeUnchecked(DataOutputStream, T) - Method in interface com.dua3.utility.io.Encoder
-
Write instance to stream, not throwing checked exceptions.
- encrypt(byte[], char[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Encrypts the provided input data using AES encryption with a password-based key derivation.
- encryptAsymmetric(PublicKey, byte[]) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Asymmetrically encrypt data using a public key.
- encryptHybrid(PublicKey, byte[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Hybrid encryption for large data using RSA/EC for key encryption and AES-GCM for data encryption.
- encryptSymmetric(SymmetricAlgorithm, Key, byte[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Symmetrically encrypt data using a Key object with the specified algorithm.
- encryptSymmetric(Key, byte[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Symmetrically encrypt data using a Key object with the default algorithm.
- end() - Method in class com.dua3.utility.math.geometry.AbstractCurve2f
- end() - Method in class com.dua3.utility.math.geometry.ClosePath2f
- end() - Method in class com.dua3.utility.math.geometry.Line2f
- end() - Method in class com.dua3.utility.math.geometry.MoveTo2f
- end() - Method in class com.dua3.utility.math.geometry.Segment2f
-
The segment's end point.
- end() - Method in class com.dua3.utility.text.RichTextMatcher
- end(int) - Method in class com.dua3.utility.text.RichTextMatcher
- endRow() - Method in class com.dua3.utility.io.CsvReader.ListRowBuilder
- endRow() - Method in interface com.dua3.utility.io.CsvReader.RowBuilder
-
End the current row.
- ensureAvailable() - Static method in class com.dua3.utility.crypt.BouncyCastle
-
Ensures that the BouncyCastle security provider is properly initialized and available.
- ensureCapacity(int) - Method in class com.dua3.utility.text.RichTextBuilder
-
Ensures that the capacity is at least equal to the specified minimum.
- ensureProvider() - Static method in class com.dua3.utility.crypt.BouncyCastle
-
Retrieves the BouncyCastle security provider instance.
- entries() - Method in class com.dua3.utility.data.Histogram
-
Returns a stream of entries representing the items stored in the histogram along with their respective counts.
- entries() - Method in record class com.dua3.utility.logging.LogBuffer.BufferState
-
Returns the value of the
entries
record component. - entries(int, int) - Method in interface com.dua3.utility.logging.LogBuffer.LogBufferListener
-
Called when multiple entries have been added in a batch.
- Entry(T, long) - Constructor for record class com.dua3.utility.data.Histogram.Entry
-
Creates an instance of a
Entry
record class. - entrySet() - Method in class com.dua3.utility.lang.CompactableSortedMap
- entrySet() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- entrySet() - Method in class com.dua3.utility.text.TextAttributes
- enumConstant(Class<? extends E>, String) - Static method in class com.dua3.utility.lang.LangUtil
-
Find enum by the result of its
toString()
method as opposed toEnum.valueOf(Class, String)
which compares byEnum.name()
. - enumConstant(Class<? extends E>, Predicate<? super E>) - Static method in class com.dua3.utility.lang.LangUtil
-
Find enum by Predicate.
- enumSet(Class<E>, E...) - Static method in class com.dua3.utility.lang.LangUtil
-
Create an EnumSet.
- enumSet(Class<E>, Collection<E>) - Static method in class com.dua3.utility.lang.LangUtil
-
Create an EnumSet.
- enumValues(Class<? extends E>) - Static method in class com.dua3.utility.lang.LangUtil
-
Get the values for an enum class.
- equalizer(ComparisonSettings) - Static method in class com.dua3.utility.text.RichText
-
Returns a BiPredicate that checks whether two RichText objects are equal based on the provided ComparisonSettings.
- equals(RichText, BiPredicate<? super Run, ? super Run>) - Method in class com.dua3.utility.text.RichText
-
Compare using a user supplied predicate for comparing Run instances.
- equals(Run, BiPredicate<? super TextAttributes, ? super TextAttributes>) - Method in class com.dua3.utility.text.Run
-
Compare using a user supplied predicate for comparing TextAttributes.
- equals(Object) - Method in class com.dua3.utility.concurrent.SimpleValue
- equals(Object) - Method in class com.dua3.utility.data.FileTreeNode
- equals(Object) - Method in class com.dua3.utility.fx.FxFontEmbedded
- equals(Object) - Method in class com.dua3.utility.io.FileType
- equals(Object) - Method in class com.dua3.utility.text.Font
- equals(Object) - Method in class com.dua3.utility.text.RichText
- equals(Object) - Method in class com.dua3.utility.text.Run
- equals(Object) - Method in class com.dua3.utility.text.SharableString
- equals(Object) - Method in class com.dua3.utility.text.SharedString
- equals(Object) - Method in class com.dua3.utility.text.Style
- equals(Object) - Method in class com.dua3.utility.text.TextAttributes
- equals(Object) - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.dua3.utility.data.Counter
-
Compares the specified object with this Counter for equality.
- equals(Object) - Method in record class com.dua3.utility.data.Histogram.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.data.HSVColor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.data.ImageBuffer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.data.Pair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.data.RGBColor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.fx.controls.PinBoard.BoardPosition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.fx.controls.PinBoard.Item
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.fx.controls.PinBoard.PositionInItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.fx.controls.ScrollPosition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.fx.FxStandardImage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.fx.ValidationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.lang.BuildInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.dua3.utility.lang.CompactableSortedMap
- equals(Object) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- equals(Object) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- equals(Object) - Method in record class com.dua3.utility.lang.NamedFunction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.lang.SystemInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.lang.Version
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.logging.LogBuffer.BufferState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.math.geometry.Scale2f
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.dua3.utility.options.Option
- equals(Object) - Method in record class com.dua3.utility.options.Param
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.options.Repetitions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel.OptionInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.swing.StyledDocumentConversionOption
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.text.AnsiConversionOption
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.text.ComparisonSettings
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.text.FontData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.dua3.utility.text.FontDef
- equals(Object) - Method in record class com.dua3.utility.text.FragmentedText
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.text.HtmlConversionOption
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.text.HtmlConverter.HeaderStyle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.text.RichTextJoiner.AccumulationType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.text.TagBasedConverter.AttributeChange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dua3.utility.xml.XmlUtil.DocumentWithNamespace
-
Indicates whether some other object is "equal to" this one.
- equals(Stream<T>, Stream<T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Test streams for equality.
- equalsText(CharSequence) - Method in class com.dua3.utility.text.RichText
-
Textual compare.
- equalsTextAndFont(RichText) - Method in class com.dua3.utility.text.RichText
-
Check if texts and style are equal, ignoring other attributes.
- equalsTextIgnoreCase(CharSequence) - Method in class com.dua3.utility.text.RichText
-
Textual compare ignoring case.
- error(Control, String) - Static method in record class com.dua3.utility.fx.ValidationResult
-
Creates a
ValidationResult
indicating an error for the specified control, with the given error message. - error(Window) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new Error dialog.
- error(JSObject) - Method in class com.dua3.utility.fx.web.WebViews.JSLogger
-
Logs an error message with the formatted message obtained from the provided JSObject argument.
- ERROR - Enum constant in enum class com.dua3.utility.fx.ValidationResult.Level
-
Represents an error level validation result.
- ERROR - Enum constant in enum class com.dua3.utility.logging.LogLevel
-
ERROR log level.
- errorMessage(OptionException) - Method in class com.dua3.utility.options.ArgumentsParser
-
Format error message for the given
OptionException
toString
. - errorMessage(Formatter, OptionException) - Method in class com.dua3.utility.options.ArgumentsParser
-
Output error message for the given
OptionException
toFormatter
instance. - errorPane() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new Error pane.
- errorProperty() - Method in class com.dua3.utility.fx.controls.ChoiceInputControl
- errorProperty() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
- errorProperty() - Method in class com.dua3.utility.fx.controls.FileInput
- errorProperty() - Method in interface com.dua3.utility.fx.controls.InputControl
-
Provides a read-only property representing the error message for this input control.
- errorProperty() - Method in class com.dua3.utility.fx.controls.InputControl.State
-
Returns a read-only string property representing the current error message.
- errorProperty() - Method in class com.dua3.utility.fx.controls.OptionsPane
- errorProperty() - Method in class com.dua3.utility.fx.controls.RadioPane
- errorProperty() - Method in class com.dua3.utility.fx.controls.SimpleInputControl
- errorProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
- esc(int...) - Static method in class com.dua3.utility.io.AnsiCode
-
Create an escape sequence.
- ESC_END - Static variable in class com.dua3.utility.io.AnsiCode
-
Marker: end of ESC-sequence.
- ESC_START - Static variable in class com.dua3.utility.io.AnsiCode
-
Marker: start of ESC-sequence.
- escape(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Backslash-escape a string.
- escapeASCII(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Backslash-escape a string to ASCII-only representation.
- escapeHTML(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
HTML-escape a string.
- evaluatePasswordStrength(char[]) - Static method in class com.dua3.utility.crypt.PasswordUtil
-
Evaluates the entropy and strength of a password.
- EVEN_ODD - Enum constant in enum class com.dua3.utility.math.geometry.FillRule
-
Even/odd rule: A point is considered inside the path if a ray pointing away from the point intersects an even number of times with the path, and outside otherwise.
- exactly(int) - Static method in record class com.dua3.utility.options.Repetitions
-
Creates a
Repetitions
instance where the minimum and maximum number of repetitions are exactly the same value. - EXACTLY_ONE - Static variable in record class com.dua3.utility.options.Repetitions
-
A constant representing a
Repetitions
instance where the minimum and maximum number of repetitions are both set to one. - execute() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Executes the statement.
- executeBatch() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Executes all the batched statements.
- executeQuery() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Executes the statement, which must be a query.
- executeUpdate() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Executes the statement, which must be an SQL INSERT, UPDATE or DELETE statement; or an SQL statement that returns nothing, such as a DDL statement.
- existingOnly(boolean) - Method in class com.dua3.utility.fx.controls.FileInputBuilder
-
Sets the flag indicating whether only existing files or directories should be selectable.
- expandableContent(String) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets expandable content for the AboutDialog.
- expandableContent(Node) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the expandable content for the AboutDialog.
F
- f() - Method in record class com.dua3.utility.lang.NamedFunction
-
Returns the value of the
f
record component. - f() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Returns the value of the
f
record component. - F_BRIGHTEN - Static variable in interface com.dua3.utility.data.Color
-
Factor to apply when generating a brighter or darker version of a color.
- FailedCheckException() - Constructor for exception class com.dua3.utility.lang.LangUtil.FailedCheckException
-
Default constructor.
- FailedCheckException(String) - Constructor for exception class com.dua3.utility.lang.LangUtil.FailedCheckException
-
Constructor.
- FailedCheckException(String, Throwable) - Constructor for exception class com.dua3.utility.lang.LangUtil.FailedCheckException
-
Constructor.
- FailedCheckException(Throwable) - Constructor for exception class com.dua3.utility.lang.LangUtil.FailedCheckException
-
Constructor.
- FALSE - Static variable in class com.dua3.utility.fx.FxUtil
-
A static constant representing a boolean property with a fixed value of
false
. - families() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
families
record component. - families(List<String>) - Static method in class com.dua3.utility.text.FontDef
-
Create a
FontDef
instance with only the font family attribute set. - family() - Method in record class com.dua3.utility.text.FontData
-
Get the font family name.
- family(String) - Static method in class com.dua3.utility.text.FontDef
-
Create FontDef instance with only the font family attribute set.
- fg(int, int, int) - Static method in class com.dua3.utility.io.AnsiCode
-
Set text color.
- fg(Color) - Static method in class com.dua3.utility.io.AnsiCode
-
Set text color.
- fieldSeparator(Supplier<Character>) - Static method in class com.dua3.utility.io.IoOptions
-
Creates an option for specifying the field separator character.
- FileChooserBuilder - Class in com.dua3.utility.fx.controls
-
Builder for file open/save dialogs.
- FileDialogMode - Enum Class in com.dua3.utility.fx.controls
-
Enumeration representing the different modes of a file dialog.
- fileInput(FileDialogMode) - Static method in class com.dua3.utility.fx.controls.Controls
-
Creates a new FileInputBuilder instance with the given mode.
- FileInput - Class in com.dua3.utility.fx.controls
-
FileInput is a custom control for selecting files using a FileChooser dialog.
- FileInput - Class in com.dua3.utility.swing
-
A Swing component for file/directory inputs.
- FileInput(FileDialogMode, boolean, Supplier<Path>, Collection<FileChooser.ExtensionFilter>, Function<Path, Optional<String>>) - Constructor for class com.dua3.utility.fx.controls.FileInput
-
Constructs a FileInput instance with specified parameters.
- FileInput(FileInput.SelectionMode, Path, int) - Constructor for class com.dua3.utility.swing.FileInput
-
Constructor.
- FileInput.SelectionMode - Enum Class in com.dua3.utility.swing
-
Enum for file selection modes.
- FileInputBuilder - Class in com.dua3.utility.fx.controls
-
Builder for creating instances of
FileInput
with customizable options. - FileSystemView - Class in com.dua3.utility.io
-
An abstraction for accessing files stored in different location.
- FileSystemView.Flags - Enum Class in com.dua3.utility.io
-
Flags to use in the FileSystemView class.
- FileTreeNode<T> - Class in com.dua3.utility.data
-
Represents a node in a file tree.
- FileTreeNode(T, Path, boolean) - Constructor for class com.dua3.utility.data.FileTreeNode
-
Constructor for a node in a file tree.
- FileType<T> - Class in com.dua3.utility.io
-
A class representing files of a certain type.
- FileType(String, OpenMode, Class<? extends T>, Class<? super T>, String...) - Constructor for class com.dua3.utility.io.FileType
-
Constructor.
- FileType(String, OpenMode, Class<T>, String...) - Constructor for class com.dua3.utility.io.FileType
-
Constructor.
- fileTypes() - Static method in class com.dua3.utility.io.FileType
-
Get unmodifiable Collection of registered file types.
- fill(int, int, int, int, int) - Method in record class com.dua3.utility.data.ImageBuffer
-
Fill the given rectangle with the given color.
- fill(Color) - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Sets the fill property for the shape being built.
- fill(Color) - Method in class com.dua3.utility.fx.controls.TextBuilder
-
Sets the fill property for the node being built.
- fill(TableView<ObservableList<Object>>, ResultSet) - Static method in class com.dua3.utility.fx.db.FxDbUtil
-
Fill TableView instance with data from
ResultSet
. - fill(Paint) - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Sets the fill property for the shape being built.
- fill(Paint) - Method in class com.dua3.utility.fx.controls.TextBuilder
-
Sets the fill property for the node being built.
- fillCircle(float, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Fill a circle centered at the specified coordinates with the given radius.
- fillCircle(Vector2f, float) - Method in interface com.dua3.utility.ui.Graphics
-
Fill a circle centered at the specified coordinates with the given radius.
- fillEllipse(float, float, float, float, float) - Method in class com.dua3.utility.fx.FxGraphics
- fillEllipse(float, float, float, float, float) - Method in class com.dua3.utility.swing.SwingGraphics
- fillEllipse(float, float, float, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Fill an ellipse on the canvas with the specified center coordinates and radii.
- fillPath(Path2f) - Method in class com.dua3.utility.fx.FxGraphics
- fillPath(Path2f) - Method in class com.dua3.utility.swing.SwingGraphics
- fillPath(Path2f) - Method in interface com.dua3.utility.ui.Graphics
-
Fills the specified path using the current fill color and settings.
- fillRect(float, float, float, float) - Method in class com.dua3.utility.fx.FxGraphics
- fillRect(float, float, float, float) - Method in class com.dua3.utility.swing.SwingGraphics
- fillRect(float, float, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Fills a rectangle with the specified dimensions and coordinates.
- fillRect(Rectangle2f) - Method in interface com.dua3.utility.ui.Graphics
-
Fill rectangle.
- FillRule - Enum Class in com.dua3.utility.math.geometry
-
Fill rule.
- filter(Collection<FileChooser.ExtensionFilter>) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Set filters.
- filter(Iterator<T>, Predicate<T>) - Static method in class com.dua3.utility.data.DataUtil
-
Create a filtering iterator that only lets through items matching a predicate.
- filter(FileChooser.ExtensionFilter...) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Set filters.
- filter(FileChooser.ExtensionFilter...) - Method in class com.dua3.utility.fx.controls.FileInputBuilder
-
Adds the specified file extension filters to the FileChooser.
- filterEvents(WebView, Predicate<? super KeyEvent>, Predicate<? super MouseEvent>) - Static method in class com.dua3.utility.fx.web.WebViews
-
Set up an event filter for WebView.
- FilterIterator<T> - Class in com.dua3.utility.data
-
A Filtering Iterator implementation.
- FilterIterator(Iterator<? extends T>, Predicate<? super T>) - Constructor for class com.dua3.utility.data.FilterIterator
-
Construct a new FilterIterator.
- find() - Method in class com.dua3.utility.text.RichTextMatcher
-
Attempts to find the next occurrence of the pattern within the input sequence.
- find(int) - Method in class com.dua3.utility.text.RichTextMatcher
-
Attempts to find the next occurrence of the pattern within the input sequence, starting at the specified position.
- findFiles(Path, String) - Static method in class com.dua3.utility.io.IoUtil
-
Generate a list of paths matching a glob pattern, analogue to
IoUtil.glob(Path, String)
. - findRoot(DoubleUnaryOperator, double, double, double) - Static method in class com.dua3.utility.math.MathUtil
-
Find root of function.
- findRootsInInterval(DoubleUnaryOperator, double, double, int, double) - Static method in class com.dua3.utility.math.MathUtil
-
Find all roots within the given interval.
- finish(ProgressTracker.State) - Method in class com.dua3.utility.concurrent.ProgressTracker.TaskUpdater
-
Mark task as completed.
- finish(ProgressTracker.State) - Method in interface com.dua3.utility.concurrent.ProgressView.ProgressIndicator
-
Mark task as finished
- finish(T, ProgressTracker.State) - Method in interface com.dua3.utility.concurrent.ProgressTracker
-
Mark task as completed.
- finish(T, ProgressTracker.State) - Method in class com.dua3.utility.concurrent.ProgressView
- finish(T, ProgressTracker.State) - Method in class com.dua3.utility.fx.controls.ProgressView
- finish(T, ProgressTracker.State) - Method in class com.dua3.utility.swing.SwingProgressView
- finisher() - Method in class com.dua3.utility.lang.BatchCollector
- finisher() - Method in class com.dua3.utility.text.RichTextJoiner
- FIREBRICK - Static variable in interface com.dua3.utility.data.Color
-
The color FIREBRICK.
- first() - Method in record class com.dua3.utility.data.Pair
-
Returns the value of the
first
record component. - first() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- firstKey() - Method in class com.dua3.utility.lang.CompactableSortedMap
- firstKey() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- flagBuilder(String, String) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Creates a new
FlagBuilder
that will add the created flag to this builder when itsbuild()
method is called. - FlagBuilder - Class in com.dua3.utility.options
-
A builder class for configuring and creating flag-type options that represent a boolean value.
- FLOAT - Enum constant in enum class com.dua3.utility.fx.controls.TextFieldType
-
Represents floating point input in a text field.
- FLORALWHITE - Static variable in interface com.dua3.utility.data.Color
-
The color FLORALWHITE.
- flush() - Method in class com.dua3.utility.io.CsvWriter
- flush() - Method in class com.dua3.utility.io.TeeOutputStream
- flush() - Method in class com.dua3.utility.io.Zip
- focusFirst() - Method in class com.dua3.utility.fx.controls.Validator
-
Focuses the first control.
- focusFirstInvalid() - Method in class com.dua3.utility.fx.controls.Validator
-
Focuses the first control with an invalid validation result.
- font() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns the value of the
font
record component. - font(Font) - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
-
Sets the font for the text node being built.
- font(Font) - Method in class com.dua3.utility.fx.controls.LabelBuilder
-
Sets the font for the text node being built.
- font(Font) - Method in class com.dua3.utility.fx.controls.TextBuilder
-
Sets the font for the text node being built.
- font(Font) - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
-
Sets the font for the text node being built.
- font(Font) - Method in class com.dua3.utility.fx.controls.LabelBuilder
-
Sets the font for the text node being built.
- font(Font) - Method in class com.dua3.utility.fx.controls.TextBuilder
-
Sets the font for the text node being built.
- Font - Class in com.dua3.utility.text
-
Generic font class.
- Font(FontData, Color) - Constructor for class com.dua3.utility.text.Font
-
Constructor to create a Font instance with given font data and color.
- FONT - Static variable in class com.dua3.utility.text.Style
-
property for the font.
- FONT_CLASS - Static variable in class com.dua3.utility.text.Style
-
property name for the font class.
- FONT_CLASS_VALUE_MONOSPACE - Static variable in class com.dua3.utility.text.Style
-
Constant representing the value for monospace font class.
- FONT_CLASS_VALUE_SANS_SERIF - Static variable in class com.dua3.utility.text.Style
-
Constant representing the value for sansserif font class.
- FONT_CLASS_VALUE_SERIF - Static variable in class com.dua3.utility.text.Style
-
Constant representing the value for serif font class.
- FONT_FAMILIES - Static variable in class com.dua3.utility.text.Style
-
property name for the font families
- FONT_FAMILIES_VALUE_MONOSPACED - Static variable in class com.dua3.utility.text.Style
-
Constant representing the commonly used monospace font families.
- FONT_FAMILIES_VALUE_SANS_SERIF - Static variable in class com.dua3.utility.text.Style
-
Constant representing the commonly used sans-serif font families.
- FONT_FAMILIES_VALUE_SERIF - Static variable in class com.dua3.utility.text.Style
-
Constant representing the commonly used serif font families.
- FONT_SCALE - Static variable in class com.dua3.utility.text.Style
-
property name for the font scale
- FONT_SIZE - Static variable in class com.dua3.utility.text.Style
-
property name for the font size
- FONT_STYLE - Static variable in class com.dua3.utility.text.Style
-
property name for the font style
- FONT_STYLE_VALUE_ITALIC - Static variable in class com.dua3.utility.text.Style
-
Represents the italic font style.
- FONT_STYLE_VALUE_NORMAL - Static variable in class com.dua3.utility.text.Style
-
Specifies the normal font style.
- FONT_STYLE_VALUE_OBLIQUE - Static variable in class com.dua3.utility.text.Style
-
Represents the value for the oblique font style.
- FONT_VARIANT - Static variable in class com.dua3.utility.text.Style
-
property name for the font variant
- FONT_VARIANT_VALUE_NORMAL - Static variable in class com.dua3.utility.text.Style
-
Represents the normal variant value for font.
- FONT_WEIGHT - Static variable in class com.dua3.utility.text.Style
-
property name for the font weight
- FONT_WEIGHT_VALUE_BOLD - Static variable in class com.dua3.utility.text.Style
-
Represents the font weight property value for bold text.
- FONT_WEIGHT_VALUE_NORMAL - Static variable in class com.dua3.utility.text.Style
-
Represents the normal font weight value for text styling.
- fontConverter() - Static method in class com.dua3.utility.fx.FxUtil
-
Provides a converter between com.dua3.utility.text.Font and javafx.scene.text.Font.
- FontData - Record Class in com.dua3.utility.text
-
Represents font data, containing attributes and metrics for a specific font style.
- FontData(List<String>, float, boolean, boolean, boolean, boolean, boolean, FontDef, String, String, double, double, double, double) - Constructor for record class com.dua3.utility.text.FontData
-
Creates an instance of a
FontData
record class. - fontDef() - Method in record class com.dua3.utility.text.FontData
-
Get a copy of this
FontData
instance'sFontDef
. - FontDef - Class in com.dua3.utility.text
-
A mutable class holding font attributes to help create immutable font instances.
- FontDef() - Constructor for class com.dua3.utility.text.FontDef
-
Default constructor that creates a {FontDe} instance without any properties set.
- fontMapper() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
fontMapper
record component. - fontspec() - Method in class com.dua3.utility.text.Font
-
Get a description of the font.
- fontspec() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
fontspec
record component. - fontspec() - Method in class com.dua3.utility.text.FontDef
-
Get fontspec for this FontDef instance.
- FontType - Enum Class in com.dua3.utility.text
-
The font type, describing of character widths are fixed or proportional.
- FontUtil<F> - Interface in com.dua3.utility.text
-
Interface for Font handling utility classes.
- FontUtil.FontTypes - Enum Class in com.dua3.utility.text
-
Font type enumeration.
- FontUtilProvider - Interface in com.dua3.utility.text
-
This interface represents a provider for FontUtil instances.
- forArchive(Path, FileSystemView.Flags...) - Static method in class com.dua3.utility.io.FileSystemView
-
Create a FileSystemView for a file in Zip-Format.
- forClass(Class<?>) - Static method in class com.dua3.utility.io.FileSystemView
-
Create FileSystemView.
- forDirectory(Path) - Static method in class com.dua3.utility.io.FileSystemView
-
Create a FileSystemView for an existing directory.
- forEach(BiConsumer<String, Object>) - Method in class com.dua3.utility.text.Style
-
Perform action for each entry of this style.
- FORESTGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color FORESTGREEN.
- forExtension(OpenMode, String) - Static method in class com.dua3.utility.io.FileType
-
Query file type by extension.
- forExtension(String) - Static method in class com.dua3.utility.io.FileType
-
Query file type by extension.
- format(OutputStream, Node) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print W3C Node using UTF-8 encoding.
- format(OutputStream, Node, Charset) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print W3C Node using the provided charset for encoding.
- format(Writer, Node) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print W3C Node.
- format(Writer, Node, Charset) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print W3C Document.
- format(Object) - Method in class com.dua3.utility.io.CsvIo
-
Format an object into a string based on its type.
- format(String, Object...) - Method in class com.dua3.utility.i18n.I18N
-
Retrieves the formatted localized string for the given key from the resource bundle, using the provided arguments.
- format(String, String) - Method in interface com.dua3.utility.logging.LogEntry
-
Formats the log entry with the given prefix and suffix.
- format(Duration) - Method in enum class com.dua3.utility.lang.Stopwatch.Format
-
Format a duration.
- format(Node) - Method in class com.dua3.utility.xml.XmlUtil
-
Format node to XML.
- format(T) - Method in class com.dua3.utility.options.Option
-
Formats the given value into its string representation.
- formatLazy(String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Creates a lazy formatted string using the given format string and arguments.
- formatStackTrace(Exception) - Static method in class com.dua3.utility.lang.LangUtil
-
Get stack trace as text
- formattableInput(Class<U>, Format, Supplier<U>, Function<U, Optional<String>>) - Static method in interface com.dua3.utility.fx.controls.InputControl
-
Creates a
SimpleInputControl
for aTextField
with a formattable input, allowing bidirectional binding and validation of the input using a specifiedFormat
. - formatted() - Method in record class com.dua3.utility.lang.SystemInfo
-
Formats and returns a string containing detailed system information.
- formattingHint() - Method in interface com.dua3.utility.text.HtmlTag
-
Retrieves the
HtmlTag.FormattingHint
associated with this HTML tag. - forName(String) - Method in interface com.dua3.utility.fx.icons.IconProvider
-
Get icon.
- forName(String) - Method in class com.dua3.utility.fx.icons.ikonli.IkonliIconProvider
- forPath(Path, Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Query file type by path and class.
- forTableColumn() - Static method in class com.dua3.utility.fx.controls.TableCellAutoCommit
-
Returns a callback that creates an EditCell for a TableColumn with String type.
- forTableColumn(StringConverter<T>) - Static method in class com.dua3.utility.fx.controls.TableCellAutoCommit
-
Returns a callback that creates an EditCell for a TableColumn.
- forUri(URI) - Static method in class com.dua3.utility.io.FileType
-
Query file type by URI.
- forUri(URI, Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Query file type by URI and class.
- Fragment(float, float, float, float, float, Font, CharSequence) - Constructor for record class com.dua3.utility.text.FragmentedText.Fragment
-
Creates an instance of a
Fragment
record class. - FragmentedText - Record Class in com.dua3.utility.text
-
Represents a fragmented text that can be rendered within a specified bounding rectangle.
- FragmentedText(List<List<FragmentedText.Fragment>>, float, float, float, float, float) - Constructor for record class com.dua3.utility.text.FragmentedText
-
Creates an instance of a
FragmentedText
record class. - FragmentedText.Fragment - Record Class in com.dua3.utility.text
-
A text fragment that can't be split (i.e., contains no whitespace) and has a uniform font so that it can be drawn in a single operation.
- from(boolean, boolean) - Static method in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Returns the appropriate
FormattingHint
value based on the provided boolean flags indicating line break preferences. - from(Tooltip) - Static method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Obtain configuration from a tooltip.
- fromByteArray(byte[]) - Static method in class com.dua3.utility.lang.LangUtil
-
Converts a 16-byte array into a
UUID
instance. - fromImageBuffer(ImageBuffer) - Method in interface com.dua3.utility.data.ImageUtil
-
Convert
ImageBuffer
toImage
. - FUCHSIA - Static variable in interface com.dua3.utility.data.Color
-
The color FUCHSIA.
- FxBufferedImage - Class in com.dua3.utility.fx
-
The FxBufferedImage class represents an image that integrates JavaFX and AWT components.
- FxBufferedImage(int, int) - Constructor for class com.dua3.utility.fx.FxBufferedImage
-
Create a new FxBufferedImage instance.
- FxDbUtil - Class in com.dua3.utility.fx.db
-
The
FxDbUtil
class provides utility methods for populating a JavaFXTableView
with data from a ResultSet. - fxFont() - Method in class com.dua3.utility.fx.FxFontEmbedded
-
Retrieves the JavaFX
Font
associated with thisFxFontEmbedded
. - FxFontEmbedded - Class in com.dua3.utility.fx
-
This class represents an embedded font in JavaFX.
- FxFontUtil - Class in com.dua3.utility.fx
-
Utility class for working with fonts in JavaFX.
- FxFontUtilProvider - Class in com.dua3.utility.fx
-
Implementation of the
FontUtilProvider
interface for JavaFX. - FxFontUtilProvider() - Constructor for class com.dua3.utility.fx.FxFontUtilProvider
-
Default constructor, called by SPI.
- FxGraphics - Class in com.dua3.utility.fx
-
The FxGraphics class implements the
Graphics
interface for rendering graphics in JavaFX based applications. - FxGraphics(Canvas) - Constructor for class com.dua3.utility.fx.FxGraphics
-
Constructs an FxGraphics instance using the provided Canvas object.
- FxGraphics(GraphicsContext, float, float) - Constructor for class com.dua3.utility.fx.FxGraphics
-
Creates a new instance of FxGraphics with the given parameters.
- fxImage() - Method in class com.dua3.utility.fx.FxBufferedImage
-
Retrieves the JavaFX Image instance associated with this FxBufferedImage.
- fxImage() - Method in interface com.dua3.utility.fx.FxImage
-
Get the JavaFX Image instance.
- fxImage() - Method in record class com.dua3.utility.fx.FxStandardImage
-
Returns the value of the
fxImage
record component. - FxImage - Interface in com.dua3.utility.fx
-
A record representing an image in JavaFX.
- FxImageUtil - Class in com.dua3.utility.fx
-
Utility class for manipulating JavaFX images.
- FxImageUtilProvider - Class in com.dua3.utility.fx
-
Implementation of the
ImageUtilProvider
interface for JavaFX. - FxImageUtilProvider() - Constructor for class com.dua3.utility.fx.FxImageUtilProvider
-
Default constructor, called by SPI.
- FxLogPane - Class in com.dua3.utility.fx
-
FxLogPane is a custom JavaFX component that provides a log viewer with filtering and search capabilities.
- FxLogPane() - Constructor for class com.dua3.utility.fx.FxLogPane
-
Construct a new FxLogPane instance with default buffer capacity.
- FxLogPane(int) - Constructor for class com.dua3.utility.fx.FxLogPane
-
Construct a new FxLogPane instance with the given buffer capacity.
- FxLogPane(LogBuffer) - Constructor for class com.dua3.utility.fx.FxLogPane
-
Construct a new FxLogPane instance with the given buffer.
- FxLogPane(LogBuffer, Function<? super LogEntry, Color>) - Constructor for class com.dua3.utility.fx.FxLogPane
-
Constructs a new FxLogPane instance with the given LogBuffer and colorize function.
- FxLogWindow - Class in com.dua3.utility.fx
-
The FxLogWindow class represents a JavaFX window that displays log entries in a table view.
- FxLogWindow() - Constructor for class com.dua3.utility.fx.FxLogWindow
-
Create a new FxLogWindow instance with a new
LogBuffer
using the default capacity; - FxLogWindow(int) - Constructor for class com.dua3.utility.fx.FxLogWindow
-
Constructs a new instance of
FxLogWindow
with the specified maximum number of lines. - FxLogWindow(LogBuffer) - Constructor for class com.dua3.utility.fx.FxLogWindow
-
Constructs a new instance of
FxLogWindow
using the providedLogBuffer
. - FxLogWindow(String) - Constructor for class com.dua3.utility.fx.FxLogWindow
-
Create a new FxLogWindow instance with a new
LogBuffer
using the default capacity; - FxLogWindow(String, int) - Constructor for class com.dua3.utility.fx.FxLogWindow
-
Constructs a new instance of
FxLogWindow
with the specified maximum number of lines. - FxLogWindow(String, LogBuffer) - Constructor for class com.dua3.utility.fx.FxLogWindow
-
Constructs a new instance of
FxLogWindow
using the providedLogBuffer
. - FxRefresh - Class in com.dua3.utility.fx
-
A class intended for controlling possibly long-running update operations.
- FxService<T> - Class in com.dua3.utility.fx
-
Abstract class that extends the JavaFX Service class to manage tasks with progress, state, and title trackers.
- FxService() - Constructor for class com.dua3.utility.fx.FxService
-
Constructs an instance of FxService.
- FxStandardImage - Record Class in com.dua3.utility.fx
-
A record representing an image in JavaFX.
- FxStandardImage(Image) - Constructor for record class com.dua3.utility.fx.FxStandardImage
-
Creates an instance of a
FxStandardImage
record class. - FxTaskTracker - Interface in com.dua3.utility.fx
-
Interface for tracking and updating the state, progress, title, and message of a task.
- FxUtil - Class in com.dua3.utility.fx
-
JavaFX utility class.
G
- g() - Method in record class com.dua3.utility.data.RGBColor
-
Get green component of color.
- GAINSBORO - Static variable in interface com.dua3.utility.data.Color
-
The color GAINSBORO.
- gcd(long, long) - Static method in class com.dua3.utility.math.MathUtil
-
Calculate the greatest common divisor.
- generateAndStoreKeyPairWithX509Certificate(KeyStore, String, AsymmetricAlgorithm, int, char[], String, int) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Generates a key pair and stores it in the KeyStore with a proper self-signed X.509 certificate.
- generateAndStoreSecretKey(KeyStore, String, SymmetricAlgorithm, int, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Generates a secret key and stores it in the KeyStore.
- generateECKeyPair(String) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Generate an Elliptic Curve key pair using a named curve.
- generateFragments(RichText, FontUtil<?>, Font, float, float, Alignment, VerticalAlignment, Graphics.HAnchor, Graphics.VAnchor, float) - Static method in record class com.dua3.utility.text.FragmentedText
-
Split text into fragments and layout according to alignment settings.
- generateKeyPair(AsymmetricAlgorithm, int) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Generate an asymmetric key pair.
- generateMailToLink(String, String) - Static method in class com.dua3.utility.text.TextUtil
-
Generate mailto-link.
- generatePassword() - Static method in class com.dua3.utility.crypt.PasswordUtil
-
Generates a random password encoded in Base64 format.
- generatePassword(int) - Static method in class com.dua3.utility.crypt.PasswordUtil
-
Generates a random password of specified length and encodes it in Base64 format.
- generateRandomBytes(int) - Static method in class com.dua3.utility.crypt.RandomUtil
-
Generate random bytes.
- generateRSAKeyPair() - Static method in class com.dua3.utility.crypt.KeyUtil
-
Generate an RSA key pair with default key size (2048 bits).
- generateSalt(int) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Generate random salt for key derivation.
- generateSecretKey(int) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Generate SecretKey using the default algorithm.
- generateSecretKey(int, SymmetricAlgorithm) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Generate SecretKey for the specified algorithm.
- get() - Method in interface com.dua3.utility.concurrent.ReadOnlyValue
-
Retrieves the value of type T.
- get() - Method in class com.dua3.utility.concurrent.SimpleValue
- get() - Method in interface com.dua3.utility.fx.controls.InputControl
-
Get value.
- get() - Method in class com.dua3.utility.fx.controls.InputGrid
-
Retrieves a map of IDs and their corresponding values from the input controls.
- get() - Method in class com.dua3.utility.fx.controls.InputPane
- get() - Method in class com.dua3.utility.fx.controls.OptionsPane
- get() - Method in class com.dua3.utility.fx.controls.PromptPane
- get() - Method in class com.dua3.utility.fx.FxFontUtilProvider
- get() - Method in class com.dua3.utility.fx.FxImageUtilProvider
- get() - Method in class com.dua3.utility.io.SoftResource
-
Get the resource.
- get() - Method in class com.dua3.utility.io.SoftResource.ResourceHolder
-
Get the resource being held.
- get() - Method in interface com.dua3.utility.lang.LangUtil.SupplierThrows
-
Gets a result.
- get() - Method in class com.dua3.utility.text.AnsiConverter.AnsiConverterImpl
- get() - Method in class com.dua3.utility.text.AttributeBasedConverter.AttributeBasedConverterImpl
-
Get the converted document once conversion is finished
- get() - Method in class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Retrieves the current result of the conversion process or related operation.
- get(int) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- get(int) - Method in class com.dua3.utility.lang.RingBuffer
-
Get element.
- get(int) - Method in class com.dua3.utility.lang.UnmodifiableArrayListWrapper
- get(int) - Method in class com.dua3.utility.logging.LogBuffer
-
Get the LogEntry at the specified index in the LogBuffer.
- get(int, int) - Method in record class com.dua3.utility.data.ImageBuffer
-
Get the color at the given position.
- get(Option<T>) - Method in class com.dua3.utility.options.Arguments
-
Get value of
Option
. - get(Class<T>) - Method in class com.dua3.utility.io.Codecs
-
Retrieves the codec registered for a specific class.
- get(Object) - Method in class com.dua3.utility.lang.CompactableSortedMap
- get(Object) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- get(String) - Method in class com.dua3.utility.i18n.I18N
-
Retrieves the localized string for the given key from the resource bundle.
- get(String) - Method in class com.dua3.utility.text.RichTextBuilder
-
Get attribute of the current Run.
- get(String) - Method in class com.dua3.utility.text.Style
-
Get a property's value.
- get(String, float, boolean, boolean, boolean, boolean, boolean, double, double, double, double) - Static method in record class com.dua3.utility.text.FontData
-
Creates and returns a new instance of
FontData
with the specified attributes and metrics. - get(String, Object) - Method in class com.dua3.utility.text.HtmlConverter
-
Get tag for style name.
- get(SequencedCollection<String>, float, boolean, boolean, boolean, boolean, boolean, double, double, double, double) - Static method in record class com.dua3.utility.text.FontData
-
Creates and returns a new instance of
FontData
with the specified attributes and metrics. - get(K) - Method in class com.dua3.utility.data.Cache
-
Gets the value associated with the specified key.
- get(T) - Method in class com.dua3.utility.data.ObjectCache
-
Retrieves an item from the cache.
- getActualDimension() - Method in record class com.dua3.utility.text.FragmentedText
-
Retrieves the actual dimensions of the text as a
Dimension2f
object. - getAppender() - Method in class com.dua3.utility.logging.log4j.LogAppenderLog4j.LogEntryDispatcherLog4J
-
Returns the LogAppenderLog4j instance associated with this LogEntryDispatcherLog4J instance.
- getApplicationDataDir(String) - Static method in class com.dua3.utility.io.IoUtil
-
Ensures the existence of a data directory for the specified application.
- getArea() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Returns the area of the PinBoard.
- getArgb() - Method in class com.dua3.utility.awt.AwtImage
- getArgb() - Method in interface com.dua3.utility.data.Image
-
Get image data.
- getArgb() - Method in record class com.dua3.utility.data.ImageBuffer
- getArgb() - Method in class com.dua3.utility.fx.FxBufferedImage
- getArgb() - Method in record class com.dua3.utility.fx.FxStandardImage
- getArgon2id(byte[], String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Generates an Argon2id hash from the given input using a random salt and the provided pepper.
- getArgon2id(byte[], SecretKey) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Returns a string containing the Argon2id hash and the associated salt, encoded in Base64 format.
- getArgon2id(String, String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Generates an Argon2id hash of the given input string using the provided pepper.
- getArgon2id(String, SecretKey) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Generates an Argon2id hash using the provided input and secret key.
- getArgon2idBytes(byte[], byte[], byte[]) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Generates a 256-bit Argon2id hash based on the provided input, salt, and secret.
- getArgon2idBytes(byte[], byte[], String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Generates a derived key using the Argon2id hashing algorithm.
- getArgon2idBytes(byte[], byte[], SecretKey) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Derives a 256-bit hash using the Argon2id algorithm based on the provided input, salt, and secret key parameters.
- getArguments() - Method in class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel
-
Returns the arguments generated based on the input options and their corresponding OptionInput components.
- getAscent() - Method in class com.dua3.utility.text.Font
-
Get the ascent of this font.
- getAttributes() - Method in class com.dua3.utility.text.Run
-
Get the style of this Run.
- getBaseline(Font) - Method in class com.dua3.utility.text.RichText
-
Calculates the baseline value based on the maximum descent of fonts within the runs of text.
- getBlockIncrement() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the block increment value of the slider.
- getBold() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the bold property of the FontDef instance.
- getBuffer() - Method in class com.dua3.utility.awt.AwtImage
-
Creates and returns a new
ImageBuffer
instance using the pixel data, width, and height of thisFxBufferedImage
. - getBuffer() - Method in interface com.dua3.utility.data.MutableImage
-
Retrieves the buffer that holds the pixel data of the writable image.
- getBuffer() - Method in class com.dua3.utility.fx.FxBufferedImage
-
Creates and returns a new
ImageBuffer
instance using the pixel data, width, and height of thisFxBufferedImage
. - getBufferState() - Method in class com.dua3.utility.logging.LogBuffer
-
Retrieves the current state of the buffer, encapsulating the entries within the buffer, the total number of entries removed, and the total number of entries added.
- getBuilder(boolean) - Static method in interface com.dua3.utility.crypt.X509CertificateBuilder
-
Returns an
Optional
containing an instance ofX509CertificateBuilder
, used for constructing X.509 certificates. - getBundle(String) - Method in class com.dua3.utility.i18n.I18N
-
Retrieves the ResourceBundle associated with the given key from the bundleMap.
- getCause() - Method in exception class com.dua3.utility.lang.WrappedException
- getChangeListeners() - Method in interface com.dua3.utility.concurrent.ReadOnlyValue
-
Returns a collection of all the change listeners currently registered for this method.
- getChangeListeners() - Method in class com.dua3.utility.concurrent.SimpleValue
- getClassCssMetaData() - Static method in class com.dua3.utility.fx.icons.IconView
-
Retrieves the CSS metadata for the IconView class.
- getCleaner() - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the instance of the Cleaner class.
- getColor() - Method in class com.dua3.utility.text.Font
-
Get text color.
- getColor() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the color attribute associated with this instance.
- getColumnName(int) - Method in class com.dua3.utility.io.CsvReader
-
Get the column name.
- getColumnNames() - Method in class com.dua3.utility.io.CsvReader
-
Retrieves an unmodifiable list of column names defined for the CSV reader.
- getCompressedData() - Method in class com.dua3.utility.data.CompressedBytes
-
Returns the internal compressed data as a byte array.
- getConnection() - Method in class com.dua3.utility.db.JdbcDataSource
- getConnection(String, String) - Method in class com.dua3.utility.db.JdbcDataSource
- getControlCssMetaData() - Method in class com.dua3.utility.fx.icons.IconView
- getCount(T) - Method in class com.dua3.utility.data.Histogram
-
Retrieves the count of occurrences for a specific item in the histogram.
- getCssStyle() - Method in class com.dua3.utility.text.Font
-
Get CSS compatible fontstyle definition.
- getCssStyle() - Method in class com.dua3.utility.text.FontDef
-
Get CSS compatible fontstyle definition.
- getCurrentPage() - Method in class com.dua3.utility.fx.controls.WizardDialog
-
Retrieves the current wizard page.
- getDateFormatter(Locale) - Method in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
Retrieves a DateTimeFormatter based on the provided Locale.
- getDateTimeFormatter(Locale) - Method in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
Retrieves a DateTimeFormatter based on the provided Locale.
- getDecorations(Node) - Static method in class com.dua3.utility.fx.controls.Decoration
-
Retrieves the list of decorations associated with a given Node.
- getDefault() - Static method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Get the configuration with the default values as defined by JavaFX.
- getDefault() - Method in class com.dua3.utility.options.Option
-
Retrieves the default value for this
Option
, if it has been configured. - getDefaultFont() - Method in class com.dua3.utility.awt.AwtFontUtil
- getDefaultFont() - Method in class com.dua3.utility.fx.FxFontUtil
- getDefaultFont() - Method in class com.dua3.utility.fx.FxGraphics
- getDefaultFont() - Method in class com.dua3.utility.swing.SwingGraphics
- getDefaultFont() - Method in interface com.dua3.utility.text.FontUtil
-
Retrieves the default font used by the system or application.
- getDefaultFont() - Method in interface com.dua3.utility.ui.Graphics
-
Retrieves the default font for the graphics object.
- getDefaultHandler() - Method in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
-
Returns the default
LogEntryHandler
. - getDefaultKeySize() - Method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Retrieves the default key size in bits for this algorithm.
- getDefaultLevel() - Static method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
-
Returns the default log level for the logger.
- getDefaultPrefix() - Method in class com.dua3.utility.xml.SimpleNamespaceContext
-
Get prefix for default namespace.
- getDefaultString() - Method in class com.dua3.utility.options.Option
-
Retrieves the default value of this option as an
Optional<String>
. - getDescent() - Method in class com.dua3.utility.text.Font
-
Get the descent of this font.
- getDescription() - Method in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
- getDescription() - Method in class com.dua3.utility.swing.SwingFileFilter
- getDigest(String, byte[]) - Static method in class com.dua3.utility.text.TextUtil
-
Get digest.
- getDigest(String, InputStream) - Static method in class com.dua3.utility.text.TextUtil
-
Get digest.
- getDigestString(String, byte[]) - Static method in class com.dua3.utility.text.TextUtil
-
Get digest as hex string.
- getDigestString(String, InputStream) - Static method in class com.dua3.utility.text.TextUtil
-
Get digest as hex string.
- getDimension() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Retrieves the dimension of the rectangle.
- getDimension() - Method in interface com.dua3.utility.ui.Graphics
-
Get the dimension (size) of this {code Graphics} instance in screen units.
- getDispatcher() - Method in interface com.dua3.utility.logging.ILogEntryDispatcherFactory
-
Retrieves the LogEntryDispatcher instance and connects all available loggers to it.
- getDispatcher() - Method in class com.dua3.utility.logging.log4j.LogEntryDispatcherFactoryLog4j
- getDispatcher() - Method in class com.dua3.utility.logging.slf4j.LogEntryDispatcherFactorySlf4j
- getDisplayScale() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Retrieves the current value of the display scale.
- getDisplayScale(Component) - Static method in class com.dua3.utility.swing.SwingUtil
-
Retrieves the display scale of a given
Component
. - getDisplayScale(GraphicsConfiguration) - Static method in class com.dua3.utility.swing.SwingUtil
-
Returns the display scale factor of the given GraphicsConfiguration.
- getDisplayScale(Screen) - Static method in class com.dua3.utility.fx.FxUtil
-
Retrieves the display scale of a given
Screen
. - getDisplayScale(Window) - Static method in class com.dua3.utility.fx.FxUtil
-
Returns the display scale of the given window.
- getDocumentClass() - Method in class com.dua3.utility.io.FileType
-
Get type of documents for this file type.
- getEnd() - Method in class com.dua3.utility.text.Run
-
Get the end position of this Run.
- getEntropyEfficiency() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Calculates the entropy efficiency of the password as a percentage.
- getEstimatedCrackTime() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Gets the estimated time to crack this password using a modern attack.
- getExtension(String) - Static method in class com.dua3.utility.io.IoUtil
-
Get file extension.
- getExtension(URI) - Static method in class com.dua3.utility.io.IoUtil
-
Get file extension.
- getExtension(URL) - Static method in class com.dua3.utility.io.IoUtil
-
Get file extension.
- getExtension(Path) - Static method in class com.dua3.utility.io.IoUtil
-
Get file extension.
- getExtensionPatterns() - Method in class com.dua3.utility.io.FileType
-
Get the list of file extensions.
- getExtensions() - Method in class com.dua3.utility.io.FileType
-
Get the list of file extensions.
- getFactory() - Static method in class com.dua3.utility.logging.slf4j.LogEntryDispatcherFactorySlf4j
-
Retrieves the instance of the LoggerFactorySlf4j class, which is a singleton implementation of the ILoggerFactory interface and LogEntryDispatcher interface.
- getFamilies() - Method in class com.dua3.utility.text.Font
-
Get list of font families.
- getFamilies() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the font family value of this instance.
- getFamilies() - Method in interface com.dua3.utility.text.FontUtil
-
Get a list of the available font families.
- getFamilies(FontUtil.FontTypes) - Method in class com.dua3.utility.awt.AwtFontUtil
- getFamilies(FontUtil.FontTypes) - Method in class com.dua3.utility.fx.FxFontUtil
- getFamilies(FontUtil.FontTypes) - Method in interface com.dua3.utility.text.FontUtil
-
Get a list of the available font families.
- getFamily() - Method in class com.dua3.utility.text.Font
-
Get font family.
- getFamily() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the font family value of this instance.
- getFilename(String) - Static method in class com.dua3.utility.io.IoUtil
-
Extract the filename from a path given as a String.
- getFilePath() - Method in class com.dua3.utility.data.FileTreeNode
-
Returns the file path associated with the FileTree.
- getFilesFromClipboard() - Static method in class com.dua3.utility.fx.FxUtil
-
Retrieves a collection of file paths from the system clipboard.
- getFileType() - Method in class com.dua3.utility.swing.SwingFileFilter
-
Returns the FileType associated with this instance.
- getFileTypes(OpenMode) - Static method in class com.dua3.utility.io.FileType
-
Get file types supporting mode.
- getFileTypes(OpenMode, Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Get list of file types for a given class.
- getFill() - Method in class com.dua3.utility.fx.FxGraphics
- getFill() - Method in class com.dua3.utility.swing.SwingGraphics
- getFill() - Method in interface com.dua3.utility.ui.Graphics
-
Retrieves the fill color of a given object.
- getFilter() - Method in class com.dua3.utility.logging.ConsoleHandler
-
Retrieves the filter for log entries.
- getFilter() - Method in class com.dua3.utility.logging.log4j.LogAppenderLog4j.LogEntryDispatcherLog4J
- getFilter() - Method in interface com.dua3.utility.logging.LogEntryDispatcher
-
Get the
LogEntryFilter
. - getFilter() - Method in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
- getFilterLoggerName() - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Retrieves the filter used to determine if a log entry should be included or excluded based on the logger name.
- getFilters(OpenMode, Class<T>) - Static method in class com.dua3.utility.swing.SwingFileFilter
-
Returns a list of SwingFileFilters based on the given OpenMode and class.
- getFilterText() - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Retrieves the filter used to determine if a log entry should be included or excluded based on the logger name.
- getFirst() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- getFirst() - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- getFirst() - Method in class com.dua3.utility.lang.RingBuffer
- getFont() - Method in class com.dua3.utility.fx.FxGraphics
- getFont() - Method in class com.dua3.utility.swing.SwingGraphics
- getFont() - Method in class com.dua3.utility.text.Style
-
Get Font for this style.
- getFont() - Method in interface com.dua3.utility.ui.Graphics
-
Get the current font.
- getFont(Font) - Method in class com.dua3.utility.text.Style
-
Get Font for this style.
- getFont(FontData, Color) - Static method in class com.dua3.utility.text.Font
-
Retrieves a Font instance from the cache based on the specified font data and color.
- getFont(FontDef) - Method in interface com.dua3.utility.text.FontUtil
-
Retrieves a Font object based on the given FontDef specification.
- getFont(String) - Method in interface com.dua3.utility.text.FontUtil
-
Retrieves a Font object by parsing a font specification string.
- getFontData() - Method in class com.dua3.utility.text.Font
-
Retrieves the font data associated with this font instance.
- getFontData(Font) - Static method in class com.dua3.utility.fx.FxFontUtil
-
Extracts font data from a JavaFX Font object.
- getFontDef() - Method in class com.dua3.utility.text.Run
-
Get the FontDef for this style.
- getFontDef() - Method in class com.dua3.utility.text.Style
-
Get FontDef for this style.
- getFontDef() - Method in class com.dua3.utility.text.TextAttributes
-
Retrieves the
FontDef
associated with this instance. - getFontDef(Map<? super String, Object>) - Static method in class com.dua3.utility.text.TextAttributes
-
Get
FontDef
from TextAttributes. - getFontDef(Font) - Static method in class com.dua3.utility.fx.FxFontUtil
-
Extracts font characteristics from a JavaFX Font object and creates a corresponding FontDef object.
- getFontUtil() - Method in class com.dua3.utility.fx.FxGraphics
- getFontUtil() - Method in class com.dua3.utility.swing.SwingGraphics
- getFontUtil() - Method in interface com.dua3.utility.ui.Graphics
-
Retrieves the FontUtil compatible with this Graphics object.
- getFullyQualifiedCallerName() - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- getGlobalDispatcher() - Static method in class com.dua3.utility.logging.LogUtil
-
Returns the global LogEntryDispatcher by using the available ILogEntryDispatcherFactory implementations loaded through ServiceLoader and connects all known loggers to it.
- getGlobalDispatcher() - Static method in class com.dua3.utility.logging.slf4j.LogUtilSlf4j
-
Returns the global LogEntryDispatcher by using the available ILogEntryDispatcherFactory implementations loaded through ServiceLoader and connects all known loggers to it.
- getHDelta() - Method in record class com.dua3.utility.text.FragmentedText
-
Calculates the horizontal delta between the defined width and the actual width of the text.
- getHeight() - Method in class com.dua3.utility.fx.FxGraphics
- getHeight() - Method in class com.dua3.utility.swing.SwingGraphics
- getHeight() - Method in class com.dua3.utility.text.Font
-
Get the height of this font.
- getHeight() - Method in interface com.dua3.utility.ui.Graphics
-
Get the height of this
Graphics
instance. - getIconColor() - Method in interface com.dua3.utility.fx.icons.Icon
-
Get icon color.
- getIconColor() - Method in class com.dua3.utility.fx.icons.IconView
-
Returns the color of the icon.
- getIconIdentifier() - Method in interface com.dua3.utility.fx.icons.Icon
-
Get icon identifier.
- getIconIdentifier() - Method in class com.dua3.utility.fx.icons.IconView
-
Returns the icon identifier.
- getIconSize() - Method in interface com.dua3.utility.fx.icons.Icon
-
Get icon size.
- getIconSize() - Method in class com.dua3.utility.fx.icons.IconView
-
Get the size of the icon.
- getIgnoreExcessFields() - Method in class com.dua3.utility.io.CsvReader
-
Indicates whether excess fields in the CSV data should be ignored during parsing.
- getIgnoreMissingFields() - Method in class com.dua3.utility.io.CsvReader
-
Indicates whether missing fields in the CSV data should be ignored during parsing.
- getImageFromClipboard() - Static method in class com.dua3.utility.fx.FxUtil
-
Retrieves an image from the system clipboard if one is available.
- getIndexes() - Method in class com.dua3.utility.db.NamedParameterStatement.ParameterInfo
-
Get the list of positional indexes for this parameter.
- getInputs() - Method in class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel
-
Returns an unmodifiable map containing the input options and their corresponding OptionInput components.
- getInputStream(Object) - Static method in class com.dua3.utility.io.IoUtil
-
Get InputStream.
- getInstance() - Static method in class com.dua3.utility.awt.AwtFontUtil
-
Retrieves an instance of the AwtFontUtil class.
- getInstance() - Static method in class com.dua3.utility.awt.AwtImageUtil
-
Returns an instance of AwtImageUtil.
- getInstance() - Static method in interface com.dua3.utility.data.ImageUtil
-
Get FontUtil instance.
- getInstance() - Static method in class com.dua3.utility.fx.FxFontUtil
-
Returns an instance of FxUtil.
- getInstance() - Static method in class com.dua3.utility.fx.FxImageUtil
-
Returns the instance of FxImageUtil.
- getInstance() - Static method in class com.dua3.utility.i18n.I18N
-
Get the global instance.
- getInstance() - Static method in interface com.dua3.utility.text.FontUtil
-
Get FontUtil instance.
- getInverseTransformation() - Method in interface com.dua3.utility.ui.Graphics
-
Get the inverse transformation for this
Graphics
instance. - getItalic() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the italic property of this FontDef instance.
- getItemAt(double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Get Item at point.
- getItems() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
-
Retrieves a copy of the items in the ComboBoxEx.
- getItems() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Returns an unmodifiable observable list of items.
- getItems() - Method in class com.dua3.utility.swing.ComboBoxEx
-
Retrieves the list of items in the ComboBoxEx.
- getIvLength() - Method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Retrieves the initialization vector (IV) length in bytes.
- getJavafxInfo() - Method in record class com.dua3.utility.lang.SystemInfo
-
Retrieves the version of JavaFX, if available.
- getJavaInfo() - Method in record class com.dua3.utility.lang.SystemInfo
-
Retrieves information about the Java runtime environment.
- getJdbcDrivers() - Static method in class com.dua3.utility.db.DbUtil
-
Get Map with known JDBC drivers.
- getKey() - Method in record class com.dua3.utility.data.Pair
- getKeyAlgorithm() - Method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Retrieves the key algorithm name for use with KeyGenerator or SecretKeySpec.
- getKeys() - Method in class com.dua3.utility.data.Histogram
-
Returns an unmodifiable view of the keys in the histogram.
- getLast() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- getLast() - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- getLast() - Method in class com.dua3.utility.lang.RingBuffer
- getLayoutDimension() - Method in record class com.dua3.utility.text.FragmentedText
-
Retrieves the layout dimensions of the text as a
Dimension2f
object. - getLevel() - Method in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
- getLevel() - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Retrieves the log level of the DefaultLogEntryFilter.
- getLevel() - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
-
Retrieves the current logging level.
- getLineNumber() - Method in class com.dua3.utility.io.CsvReader
-
Returns the current line number being processed in the CSV reader.
- getListeners(Class<L>) - Method in class com.dua3.utility.swing.ComboBoxEx
- getLocale() - Method in class com.dua3.utility.i18n.I18N
-
Retrieves the locale used for localization.
- getLocaleSuffix(Locale) - Static method in class com.dua3.utility.lang.LangUtil
-
Get language suffix to use for resource lookup.
- getLogBuffer() - Method in class com.dua3.utility.fx.FxLogPane
-
Retrieves the LogBuffer associated with this FxLogPane instance.
- getLogBuffer() - Method in class com.dua3.utility.fx.FxLogWindow
-
Retrieves the LogBuffer associated with this FxLogWindow.
- getLogEntryHandlers() - Method in class com.dua3.utility.logging.log4j.LogAppenderLog4j.LogEntryDispatcherLog4J
- getLogEntryHandlers() - Method in interface com.dua3.utility.logging.LogEntryDispatcher
-
Get the registered log entry handlers.
- getLogEntryHandlers() - Method in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
- getLogger(String) - Method in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
- getLoggerFactory() - Method in class com.dua3.utility.logging.slf4j.LoggingServiceProviderSlf4j
- getLoginTimeout() - Method in class com.dua3.utility.db.JdbcDataSource
- getLogWriter() - Method in class com.dua3.utility.db.JdbcDataSource
- getLowercaseInstance(Locale) - Static method in class com.dua3.utility.swing.SwingDocumentFilter
-
Create an instance that converts all input to lowercase.
- getMajorTickUnit() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the major tick unit for the slider.
- getMarkerFactory() - Method in class com.dua3.utility.logging.slf4j.LoggingServiceProviderSlf4j
- getMax() - Method in class com.dua3.utility.data.Histogram
-
Returns an optional containing the most frequently occurring item in the histogram, based on the highest count.
- getMax() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the maximum value of the slider.
- getMaxEntry() - Method in class com.dua3.utility.data.Histogram
-
Retrieves the entry with the maximum value in the histogram.
- getMDCAdapter() - Method in class com.dua3.utility.logging.slf4j.LoggingServiceProviderSlf4j
- getMessage() - Method in exception class com.dua3.utility.io.CsvFormatException
-
Get the exception message.
- getMessage() - Method in exception class com.dua3.utility.lang.WrappedException
- getMin() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the minimum value of the slider.
- getMinorTickCount() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the number of minor tick marks to be displayed on the slider.
- getMode() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the operation mode of the slider.
- getName() - Method in class com.dua3.utility.db.NamedParameterStatement.ParameterInfo
-
Get parameter name.
- getName() - Method in class com.dua3.utility.io.FileType
-
Get name.
- getName() - Method in class com.dua3.utility.lang.Stopwatch
-
Get the name of this StopWatch instance.
- getNamespaceURI(String) - Method in class com.dua3.utility.xml.SimpleNamespaceContext
- getNamespaceURIs() - Method in class com.dua3.utility.xml.SimpleNamespaceContext
-
Retrieves a list of all the namespace URIs currently stored in the mapping.
- getNext() - Method in class com.dua3.utility.fx.controls.abstract_builders.PaneBuilder
-
Retrieves the value of the "next" parameter if it is set.
- getObject(String) - Method in class com.dua3.utility.i18n.I18N
-
Retrieves the object for the given key from the resource bundle.
- getOption() - Method in class com.dua3.utility.options.Arguments.Entry
-
Get the option that this entry belongs to
- getOption() - Method in exception class com.dua3.utility.options.OptionException
-
Retrieves the option that caused this exception.
- getOptionalParameter() - Method in class com.dua3.utility.options.Option
-
Retrieves a list of optional parameters defined for this option.
- getOptions() - Static method in class com.dua3.utility.io.CsvIo
-
Get the list of options controlling CSV I/O.
- getOrCompute(String, Function<? super String, String>) - Method in class com.dua3.utility.i18n.I18N
-
Retrieves the localized string for the given key from the resource bundle or computes a result if the key is not mapped.
- getOrDefault(String, Object) - Method in class com.dua3.utility.text.RichTextBuilder
-
Get attribute of the current Run.
- getOrDefault(String, T) - Method in class com.dua3.utility.text.Style
-
Retrieves the value associated with the specified property, or returns the provided default value if the property is not set.
- getOrThrow(Option<T>) - Method in class com.dua3.utility.options.Arguments
-
Get value of
Option
. - getOsInfo() - Method in record class com.dua3.utility.lang.SystemInfo
-
Retrieves information about the operating system in a formatted string.
- getOutputStream(Object) - Static method in class com.dua3.utility.io.IoUtil
-
Get OutputStream.
- getParameter() - Method in record class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel.OptionInput
-
Returns the value of the
getParameter
record component. - getParameterInfo() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Get parameter information.
- getParameterInfo(String) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Get parameter information.
- getParentLogger() - Method in class com.dua3.utility.db.JdbcDataSource
- getPath() - Method in class com.dua3.utility.swing.FileInput
-
Get path.
- getPositionInBoard(double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Get board position at point from viewport coordinates.
- getPositionInItem(double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Get Item at point and coordinates transformed to item coordinates.
- getPrefix(String) - Method in class com.dua3.utility.xml.SimpleNamespaceContext
- getPrefixes() - Method in class com.dua3.utility.xml.SimpleNamespaceContext
-
Returns the list of prefixes currently stored in the mapping.
- getPrefixes(String) - Method in class com.dua3.utility.xml.SimpleNamespaceContext
- getProvider() - Static method in class com.dua3.utility.crypt.BouncyCastle
-
Retrieves the BouncyCastle security provider instance, if available.
- getRandom() - Static method in class com.dua3.utility.crypt.RandomUtil
-
Get the secure random instance.
- getRequestedApiVersion() - Method in class com.dua3.utility.logging.slf4j.LoggingServiceProviderSlf4j
- getRequiredParameter() - Method in class com.dua3.utility.options.Option
-
Retrieves the list of required parameters associated with this option.
- getResource(Class<?>, String) - Static method in class com.dua3.utility.lang.LangUtil
-
Read the content of a resource on the classpath.
- getResourceAsString(Class<?>, String) - Static method in class com.dua3.utility.lang.LangUtil
-
Read the content of a resource on the classpath into a String.
- getResourceBundle(String, Locale) - Static method in class com.dua3.utility.i18n.I18N
-
Retrieves a ResourceBundle for the given base name and locale.
- getResourceURL(Class<?>, String) - Static method in class com.dua3.utility.lang.LangUtil
-
Get URL for a resource on the classpath.
- getResourceURL(Class<?>, String, Locale) - Static method in class com.dua3.utility.lang.LangUtil
-
Get localized resource.
- getResultHandler() - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Gets the result handler for this dialog pane builder.
- getResultSet() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Get result set.
- getRichTextDimension(CharSequence, Font) - Method in interface com.dua3.utility.text.FontUtil
-
Calculates the dimension of the given rich text line using the specified font.
- getRichTextDimension(CharSequence, Font) - Static method in class com.dua3.utility.text.TextUtil
-
Get rich text bounds.
- getRoot() - Method in class com.dua3.utility.io.FileSystemView
-
Get this FileSystemView's root.
- getRoundingOperation(RoundingMode) - Static method in class com.dua3.utility.math.MathUtil
-
Get a DoubleUnaryOperator that implements rounding according to the requested mode.
- getRow() - Method in class com.dua3.utility.io.CsvReader.ListRowBuilder
-
Get row data.
- getRowNumber() - Method in class com.dua3.utility.io.CsvReader
-
Retrieves the current row number being processed in the CSV reader.
- getRowsRead() - Method in class com.dua3.utility.io.CsvReader
-
Returns the total number of rows read by the CSV reader.
- getScaleX() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Get the scaling factor for the x-axis.
- getScaleY() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Get the scaling factor for the y-axis.
- getScreen(Window) - Static method in class com.dua3.utility.fx.FxUtil
-
Returns the Screen where the given Window is located.
- getScrollPosition() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Retrieves the current scroll position of the PinBoard.
- getSelectedItem() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
-
Retrieves the currently selected item from the ComboBoxEx.
- getSelectedItem() - Method in class com.dua3.utility.swing.ComboBoxEx
-
Retrieves the currently selected item from the ComboBoxEx.
- getSequenceNumber() - Method in record class com.dua3.utility.logging.LogBuffer.BufferState
-
Calculates and retrieves the current sequence number of the buffer state.
- getSequenceNumber() - Method in class com.dua3.utility.logging.LogBuffer
-
Retrieves the sequence number of the log buffer.
- getSettings() - Method in class com.dua3.utility.io.FileType
-
Get optional settings for this file type
- getShearX() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Get the shearing factor for the x-axis.
- getShearY() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Get the shearing factor for the y-axis.
- getSignatureAlgorithm() - Method in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Retrieves the signature algorithm associated with this asymmetric algorithm, if available.
- getSize() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the size attribute of this FontDef instance.
- getSizeInPoints() - Method in class com.dua3.utility.text.Font
-
Get font size.
- getSoftResource() - Method in class com.dua3.utility.io.SoftResource.ResourceHolder
-
Get the SoftResource instance this holder belongs to.
- getSpaceWidth() - Method in class com.dua3.utility.text.Font
-
Get the space width of this font.
- getStart() - Method in class com.dua3.utility.lang.Stopwatch
-
Get start instant.
- getStart() - Method in class com.dua3.utility.text.Run
-
Get the start position this Run.
- getStartPage() - Method in class com.dua3.utility.fx.controls.WizardDialogBuilder
-
Retrieves the start page of the wizard dialog being built.
- getStartSplit() - Method in class com.dua3.utility.lang.Stopwatch
-
Get start instant of current split.
- getStatement() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Returns the underlying statement.
- getStrikeThrough() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the value of the strike-through property of the font definition.
- getStringFromClipboard() - Static method in class com.dua3.utility.fx.FxUtil
-
Retrieves a string from the system clipboard if available.
- getStrokeColor() - Method in class com.dua3.utility.fx.FxGraphics
- getStrokeColor() - Method in class com.dua3.utility.swing.SwingGraphics
- getStrokeColor() - Method in interface com.dua3.utility.ui.Graphics
-
Retrieves the stroke color used for drawing shapes or lines.
- getStrokeWidth() - Method in class com.dua3.utility.fx.FxGraphics
- getStrokeWidth() - Method in class com.dua3.utility.swing.SwingGraphics
- getStrokeWidth() - Method in interface com.dua3.utility.ui.Graphics
-
Retrieves the current stroke width value.
- getStyles() - Method in interface com.dua3.utility.text.AttributedCharacter
-
Get the list of styles.
- getStyles() - Method in class com.dua3.utility.text.Run
-
Get list of styles.
- getSystemInfo() - Static method in record class com.dua3.utility.lang.SystemInfo
-
Static method to retrieve system information and return an instance of SystemInfo.
- getTag(HtmlTag.TagType) - Method in interface com.dua3.utility.text.HtmlTag
-
Retrieves the representation of a tag based on the specified tag type.
- getTagForAttributeChange(TagBasedConverter.AttributeChange) - Method in class com.dua3.utility.text.HtmlConverter
-
Get tag for attribute.
- getTargetType() - Method in class com.dua3.utility.options.Option
-
Retrieves the target type associated with this option.
- getText() - Method in class com.dua3.utility.swing.FileInput
-
Get text.
- getText(T) - Method in record class com.dua3.utility.options.Param
-
Converts the given value into a formatted text representation using a default delimiter, open quote, and close quote.
- getText(T, String, String, String) - Method in record class com.dua3.utility.options.Param
-
Converts the given value into a formatted textual representation using the specified delimiter, open quote, and close quote.
- getTextBounds(CharSequence, Font) - Static method in class com.dua3.utility.fx.FxUtil
-
Returns the bounds of the given text string when rendered with the specified font.
- getTextBounds(CharSequence, Font) - Static method in class com.dua3.utility.fx.FxUtil
-
Returns the bounds of the given text string when rendered with the specified font.
- getTextDimension(CharSequence, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
- getTextDimension(CharSequence, Font) - Method in class com.dua3.utility.fx.FxFontUtil
- getTextDimension(CharSequence, Font) - Method in interface com.dua3.utility.text.FontUtil
-
Get text bounds.
- getTextDimension(CharSequence, Font) - Static method in class com.dua3.utility.text.TextUtil
-
Get text bounds.
- getTextDimension(CharSequence, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
-
Calculate the string bounds of a text using the font passed as argument.
- getTextDimension(CharSequence, Font) - Method in class com.dua3.utility.fx.FxFontUtil
-
Calculates the dimensions of the given text when rendered with the specified font.
- getTextHeight(CharSequence, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
- getTextHeight(CharSequence, Font) - Method in class com.dua3.utility.fx.FxFontUtil
- getTextHeight(CharSequence, Font) - Static method in class com.dua3.utility.fx.FxUtil
-
Returns the height of the given text string when rendered with the specified font.
- getTextHeight(CharSequence, Font) - Method in interface com.dua3.utility.text.FontUtil
-
Get text height.
- getTextHeight(CharSequence, Font) - Static method in class com.dua3.utility.text.TextUtil
-
Get text height.
- getTextHeight(CharSequence, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
-
Calculate the height of a text using the font passed as argument.
- getTextRec() - Method in record class com.dua3.utility.text.FragmentedText
-
Retrieves the rectangle that bounds the text based on its position and actual dimensions.
- getTextWidth(CharSequence, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
- getTextWidth(CharSequence, Font) - Method in class com.dua3.utility.fx.FxFontUtil
- getTextWidth(CharSequence, Font) - Static method in class com.dua3.utility.fx.FxUtil
-
Returns the width of the given text string when rendered with the specified font.
- getTextWidth(CharSequence, Font) - Method in interface com.dua3.utility.text.FontUtil
-
Get text width.
- getTextWidth(CharSequence, Font) - Static method in class com.dua3.utility.text.TextUtil
-
Get text width.
- getTextWidth(CharSequence, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
-
Calculate the width of a text using the font passed as argument.
- getTimeFormatter(Locale) - Method in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
Retrieves a DateTimeFormatter based on the provided Locale.
- getTimestampAsInstant(UUID) - Static method in class com.dua3.utility.lang.LangUtil
-
Converts the timestamp in the given UUID to a
Instant
. - getTimestampRaw(UUID) - Static method in class com.dua3.utility.lang.LangUtil
-
Extracts the raw timestamp value from the given UUID.
- getTransformation() - Method in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Retrieves the transformation string associated with the asymmetric algorithm.
- getTransformation() - Method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Retrieves the transformation string for use with Cipher.getInstance().
- getTransformation() - Method in class com.dua3.utility.fx.FxGraphics
- getTransformation() - Method in class com.dua3.utility.swing.SwingGraphics
- getTransformation() - Method in interface com.dua3.utility.ui.Graphics
-
Retrieves the affine transformation of the graphics object.
- getTranslate() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Get translation vector.
- getTranslateX() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Get translation for x-axis.
- getTranslateY() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Get translation for y-axis.
- getType() - Method in class com.dua3.utility.db.NamedParameterStatement.ParameterInfo
-
Get the JDBC type for this parameter (if supported by database/driver).
- getType() - Method in class com.dua3.utility.text.Font
-
Get the type (monospaced or proportional) for this font.
- getType() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the current value of the type property for this FontDef instance.
- getUnderline() - Method in class com.dua3.utility.text.FontDef
-
Retrieves the current value of the underline property for this FontDef instance.
- getUpdateCount() - Method in class com.dua3.utility.db.NamedParameterStatement
-
Get update count.
- getUppercaseInstance(Locale) - Static method in class com.dua3.utility.swing.SwingDocumentFilter
-
Create an instance that converts all input to uppercase.
- getUrl(Arguments) - Method in class com.dua3.utility.db.JdbcDriverInfo
-
Construct URL from URL-scheme and supplied options
- getUserDir() - Static method in class com.dua3.utility.io.IoUtil
-
Retrieves the user's home directory as a
Path
. - getValue() - Method in record class com.dua3.utility.data.Pair
- getValue() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the current value of the slider.
- getValue() - Method in class com.dua3.utility.options.Arguments.Entry
-
Get the parameters given for this invocation of the option.
- getVDelta() - Method in record class com.dua3.utility.text.FragmentedText
-
Calculates the vertical delta between the layout height and the actual height of the text.
- getViewPortInBoardCoordinates() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Calculates the viewport dimensions in the context of the board coordinates with respect to the current display scale and board area.
- getVisibleItems() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Retrieves the list of currently visible items on the PinBoard.
- getWidth() - Method in class com.dua3.utility.fx.FxGraphics
- getWidth() - Method in class com.dua3.utility.swing.SwingGraphics
- getWidth() - Method in interface com.dua3.utility.ui.Graphics
-
Get the width of this
Graphics
instance. - getWriteableClass() - Method in class com.dua3.utility.io.FileType
-
Get type of documents that can be written by this file type.
- gf() - Method in record class com.dua3.utility.data.RGBColor
-
Get green component of color.
- GHOSTWHITE - Static variable in interface com.dua3.utility.data.Color
-
The color GHOSTWHITE.
- glob(Path, String) - Static method in class com.dua3.utility.io.IoUtil
-
Generate a stream of paths matching a glob pattern.
- GOLD - Static variable in interface com.dua3.utility.data.Color
-
The color GOLD.
- GOLDEN_RATIO - Static variable in class com.dua3.utility.math.MathUtil
-
Represents the mathematical constant known as the Golden Ratio, denoted by the Greek letter phi (φ).
- GOLDENROD - Static variable in interface com.dua3.utility.data.Color
-
The color GOLDENROD.
- graphic(String) - Static method in class com.dua3.utility.fx.controls.Controls
-
Get graphic for an icon by icon name.
- graphic(String, int) - Static method in class com.dua3.utility.fx.controls.Controls
-
Get graphic for an icon by icon name.
- graphic(String, int, Color) - Static method in class com.dua3.utility.fx.controls.Controls
-
Get graphic for an icon by icon name.
- graphic(String, int, Paint) - Static method in class com.dua3.utility.fx.controls.Controls
-
Get graphic for an icon by icon name.
- graphic(URL) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the graphic for the about dialog using a URL pointing to the image.
- graphic(ObservableValue<Node>) - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
-
Set the graphic for the Labeled.
- graphic(Node) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the graphic node for the About dialog.
- graphic(Node) - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
-
Set the graphic for the Labeled.
- Graphics - Interface in com.dua3.utility.ui
-
A generic interface defining drawing commands.
- Graphics.HAnchor - Enum Class in com.dua3.utility.ui
-
Enum representing horizontal anchor points for aligning text or graphics elements relative to a reference point.
- Graphics.TextRotationMode - Enum Class in com.dua3.utility.ui
-
Enum defining the supported text rotation modes.
- Graphics.TextWrapping - Enum Class in com.dua3.utility.ui
-
Enum defining the different text wrapping modes.
- Graphics.VAnchor - Enum Class in com.dua3.utility.ui
-
Enum representing vertical anchor points for aligning text or graphics elements relative to a reference point.
- GRAY - Static variable in interface com.dua3.utility.data.Color
-
The color GRAY.
- GRAY - Static variable in class com.dua3.utility.text.Style
-
Gray text.
- GREEN - Static variable in interface com.dua3.utility.data.Color
-
The color GREEN.
- GREEN - Static variable in class com.dua3.utility.text.Style
-
Green text.
- GREENYELLOW - Static variable in interface com.dua3.utility.data.Color
-
The color GREENYELLOW.
- GREY - Static variable in interface com.dua3.utility.data.Color
-
The color GREY.
- group() - Method in class com.dua3.utility.text.RichTextMatcher
- group(int) - Method in class com.dua3.utility.text.RichTextMatcher
- group(Matcher, CharSequence, String) - Static method in class com.dua3.utility.text.TextUtil
-
Get capturing group.
- groupCount() - Method in class com.dua3.utility.text.RichTextMatcher
- growToFit(Dimension2D, Bounds) - Static method in class com.dua3.utility.fx.FxUtil
-
Calculates the dimensions required for a given
Dimension2D
object to fit within the specifiedBounds
.
H
- h() - Method in record class com.dua3.utility.data.HSVColor
-
Returns the value of the
h
record component. - h() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns the value of the
h
record component. - handle() - Method in class com.dua3.utility.options.Arguments.Entry
-
Invokes the handler associated with the option and passes the value of the option to it.
- handle() - Method in class com.dua3.utility.options.Arguments
-
Call the handlers for all passed options.
- handleAttributeChanges(Map<String, Object>) - Method in class com.dua3.utility.text.AttributeBasedConverter.AttributeBasedConverterImpl
-
Handle changes in attributes.
- handleEntry(LogEntry) - Method in class com.dua3.utility.logging.ConsoleHandler
- handleEntry(LogEntry) - Method in class com.dua3.utility.logging.LogBuffer
- handleEntry(LogEntry) - Method in interface com.dua3.utility.logging.LogEntryHandler
-
Handles a log entry.
- handleNormalizedLoggingCall(Level, Marker, String, Object[], Throwable) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- handler() - Method in class com.dua3.utility.options.Option
-
Retrieves the handler consumer associated with this option.
- handler(Consumer<T>) - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Sets the handler for processing option values.
- handleResult(ButtonType, R) - Method in interface com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder.ResultHandler
-
Handle result.
- hasAllowedValues() - Method in class com.dua3.utility.options.Option
-
Determines if the current object has allowed values based on its arguments and parameters.
- hasAllowedValues() - Method in record class com.dua3.utility.options.Param
-
Determines whether the parameter has a list of allowed values defined.
- hashCode() - Method in class com.dua3.utility.concurrent.SimpleValue
- hashCode() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.data.Counter
-
Computes the hash code for this
Counter
object based on its current value. - hashCode() - Method in class com.dua3.utility.data.FileTreeNode
- hashCode() - Method in record class com.dua3.utility.data.Histogram.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.data.HSVColor
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.data.ImageBuffer
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.data.Pair
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.data.RGBColor
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.fx.controls.PinBoard.BoardPosition
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.fx.controls.PinBoard.Item
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.fx.controls.PinBoard.PositionInItem
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.fx.controls.ScrollPosition
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.fx.FxFontEmbedded
- hashCode() - Method in record class com.dua3.utility.fx.FxStandardImage
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.fx.ValidationResult
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.io.FileType
- hashCode() - Method in record class com.dua3.utility.lang.BuildInfo
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.lang.CompactableSortedMap
- hashCode() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- hashCode() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- hashCode() - Method in record class com.dua3.utility.lang.NamedFunction
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.lang.Version
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.logging.LogBuffer.BufferState
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.math.geometry.Scale2f
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.options.Option
- hashCode() - Method in record class com.dua3.utility.options.Param
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.options.Repetitions
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel.OptionInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.swing.StyledDocumentConversionOption
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.text.AnsiConversionOption
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.text.Font
- hashCode() - Method in record class com.dua3.utility.text.FontData
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.text.FontDef
- hashCode() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.text.FragmentedText
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.text.HtmlConversionOption
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dua3.utility.text.HtmlConverter.HeaderStyle
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.text.RichText
- hashCode() - Method in record class com.dua3.utility.text.RichTextJoiner.AccumulationType
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.text.Run
- hashCode() - Method in class com.dua3.utility.text.SharableString
- hashCode() - Method in class com.dua3.utility.text.SharedString
- hashCode() - Method in class com.dua3.utility.text.Style
- hashCode() - Method in record class com.dua3.utility.text.TagBasedConverter.AttributeChange
-
Returns a hash code value for this object.
- hashCode() - Method in class com.dua3.utility.text.TextAttributes
- hashCode() - Method in record class com.dua3.utility.xml.XmlUtil.DocumentWithNamespace
-
Returns a hash code value for this object.
- hasNext() - Method in class com.dua3.utility.data.FilterIterator
- hasNext() - Method in class com.dua3.utility.data.PeekIterator
- hasOptions() - Method in class com.dua3.utility.options.ArgumentsParser
-
Checks if the ArgumentsParser has any options defined.
- header() - Method in record class com.dua3.utility.text.HtmlConverter.HeaderStyle
-
Returns the value of the
header
record component. - header(String, Object...) - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Set Alert header text.
- headerChange() - Method in interface com.dua3.utility.text.HtmlTag
-
Retrieves the header level associated with the tag, if available.
- HeaderStyle(int, Style, Style) - Constructor for record class com.dua3.utility.text.HtmlConverter.HeaderStyle
-
Creates an instance of a
HeaderStyle
record class. - headerStyleMapper(IntFunction<HtmlConverter.HeaderStyle>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Sets the header style mapping function for the HTML conversion process.
- headerTag(String, String, int) - Static method in interface com.dua3.utility.text.HtmlTag
-
Creates an HTML header tag with the specified opening and closing tag texts, and a header level.
- headMap(K) - Method in class com.dua3.utility.lang.CompactableSortedMap
- headMap(K) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- headSet(T) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- height() - Method in class com.dua3.utility.awt.AwtImage
- height() - Method in interface com.dua3.utility.data.Image
-
Get image height.
- height() - Method in record class com.dua3.utility.data.ImageBuffer
-
Returns the value of the
height
record component. - height() - Method in class com.dua3.utility.fx.FxBufferedImage
- height() - Method in record class com.dua3.utility.fx.FxStandardImage
- height() - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Returns the value of the
height
record component. - height() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns the value of the
height
record component. - height() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
height
record component. - height() - Method in record class com.dua3.utility.text.FragmentedText
-
Returns the value of the
height
record component. - help() - Method in class com.dua3.utility.options.ArgumentsParser
-
Get a help message listing all available options.
- help(Formatter) - Method in class com.dua3.utility.options.ArgumentsParser
-
Output option help.
- HEX_FORMAT - Static variable in interface com.dua3.utility.data.Color
-
A static instance of HexFormat used for formatting and parsing hexadecimal representations of color values.
- hidden(String, Supplier<T>, Class<T>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Creates a hidden field with the specified configurations.
- hidden(String, Supplier<T>, Class<T>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- hidden(String, Supplier<T>, Class<T>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- hidden(String, Supplier<T>, Class<T>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- hidden(String, T) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Configures a non-editable input field with the specified parameters.
- hidden(String, T) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- hidden(String, T) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- hidden(String, T) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- hideDelay() - Method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Returns the value of the
hideDelay
record component. - Histogram<T> - Class in com.dua3.utility.data
-
A generic class that represents a histogram, which counts occurrences of various items.
- Histogram.Entry<T> - Record Class in com.dua3.utility.data
-
A record that represents an immutable key-value pair consisting of a key and its associated count.
- hline(int, int, int, int) - Method in record class com.dua3.utility.data.ImageBuffer
-
Draw a horizontal line.
- hmacSha256(CharSequence, SecretKey) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Computes an HMAC using the SHA-256 algorithm of the provided text.
- hold() - Method in class com.dua3.utility.io.SoftResource
-
Get a strong reference holder for this resource to avoid thrashing.
- HONEYDEW - Static variable in interface com.dua3.utility.data.Color
-
The color HONEYDEW.
- HOTPINK - Static variable in interface com.dua3.utility.data.Color
-
The color HOTPINK.
- HOURS_MINUTES_SECONDS_MILLIS - Enum constant in enum class com.dua3.utility.lang.Stopwatch.Format
-
h:mm:ss.sss.
- hsv(float, float, float) - Static method in interface com.dua3.utility.data.Color
-
Create color from HSV values.
- hsva(float, float, float, float) - Static method in interface com.dua3.utility.data.Color
-
Create color from HSV values.
- HSVColor - Record Class in com.dua3.utility.data
-
Color
implementation that uses the HSV (hue, saturation, value) color model. - HSVColor(float, float, float, float) - Constructor for record class com.dua3.utility.data.HSVColor
-
Creates an instance of a
HSVColor
record class. - HtmlConversionOption - Record Class in com.dua3.utility.text
-
Options controlling the conversion process.
- HtmlConversionOption(Consumer<? super HtmlConverter>) - Constructor for record class com.dua3.utility.text.HtmlConversionOption
-
Creates an instance of a
HtmlConversionOption
record class. - HtmlConverter - Class in com.dua3.utility.text
-
A
RichTextConverter
that convertsRichText
to HTML. - HtmlConverter.HeaderStyle - Record Class in com.dua3.utility.text
-
Represents the style configuration for a header in the HTML conversion process.
- HtmlTag - Interface in com.dua3.utility.text
-
Represents an HTML tag.
- HtmlTag.FormattingHint - Enum Class in com.dua3.utility.text
-
Represents formatting hints for handling line breaks around tags.
- HtmlTag.TagType - Enum Class in com.dua3.utility.text
-
Enum representing the type of an HTML tag.
- hValue() - Method in record class com.dua3.utility.fx.controls.ScrollPosition
-
Returns the value of the
hValue
record component.
I
- i18n() - Method in interface com.dua3.utility.i18n.I18NProvider
-
Retrieves an instance of the Internationalization (I18N) class.
- I18N - Class in com.dua3.utility.i18n
-
The I18N class provides internationalization support for applications.
- I18NProvider - Interface in com.dua3.utility.i18n
-
Functional interface for an Internationalization (I18N) provider.
- icon(String) - Static method in class com.dua3.utility.fx.controls.Controls
-
Get icon by name.
- Icon - Interface in com.dua3.utility.fx.icons
-
Icon interface.
- iconColorProperty() - Method in interface com.dua3.utility.fx.icons.Icon
-
Get icon color property.
- iconFromName(String) - Static method in class com.dua3.utility.fx.icons.IconUtil
-
Returns an optional icon based on the given name.
- IconProvider - Interface in com.dua3.utility.fx.icons
-
The IconProvider interface represents a provider of icons.
- iconProviderNames() - Static method in class com.dua3.utility.fx.icons.IconUtil
-
Returns a collection of names of available icon providers.
- iconSizeProperty() - Method in interface com.dua3.utility.fx.icons.Icon
-
Get icon size property.
- IconUtil - Class in com.dua3.utility.fx.icons
-
The IconUtil class provides utility methods for working with icons.
- IconView - Class in com.dua3.utility.fx.icons
-
Represents a custom JavaFX control that displays an icon.
- IconView() - Constructor for class com.dua3.utility.fx.icons.IconView
-
Creates an instance of IconView.
- IconView(String, int, Paint) - Constructor for class com.dua3.utility.fx.icons.IconView
-
Constructs an IconView instance with the specified icon identifier, size, and color.
- identity() - Static method in interface com.dua3.utility.data.Converter
-
Provides a converter that performs an identity transformation, where the input object is returned as-is without any modifications.
- identity() - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Return the identity transformation.
- identity() - Static method in record class com.dua3.utility.math.geometry.Scale2f
-
Returns the identity scale
Scale2f
object. - IDENTITY - Enum constant in enum class com.dua3.utility.text.StandardFontMapper
-
Do not map the font family name.
- IDENTITY - Static variable in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
The identity transformation.
- ifBoldDefined(Consumer<? super Boolean>) - Method in class com.dua3.utility.text.FontDef
-
Run action if a value for the bold property is defined.
- ifColorDefined(Consumer<? super Color>) - Method in class com.dua3.utility.text.FontDef
-
Run action if a value for the color property is defined.
- ifFamiliesDefined(Consumer<List<String>>) - Method in class com.dua3.utility.text.FontDef
-
Run action if a value for the family property is defined.
- ifItalicDefined(Consumer<? super Boolean>) - Method in class com.dua3.utility.text.FontDef
-
Run action if a value for the italic property is defined.
- ifMapped(Map<T, U>, T, Consumer<? super U>) - Static method in class com.dua3.utility.data.DataUtil
-
Execute action if key is mapped to a non-null value.
- ifPresent(Option<T>, Consumer<? super T>) - Method in class com.dua3.utility.options.Arguments
-
Execute an action if
Option
is present. - ifPresent(String, Consumer<T>) - Method in class com.dua3.utility.text.Style
-
Consume value if property is set.
- ifPresent(Map<T, U>, T, Consumer<? super U>) - Static method in class com.dua3.utility.data.DataUtil
-
Execute action if key is mapped.
- ifPresentOrElse(String, T, Consumer<T>) - Method in class com.dua3.utility.text.Style
-
Consume value of a property.
- ifPresentOrElseGet(String, Supplier<T>, Consumer<? super T>) - Method in class com.dua3.utility.text.Style
-
Consume the value of a property.
- ifSet(Option<Boolean>, Runnable) - Method in class com.dua3.utility.options.Arguments
-
Execute action if the boolean option is set to
true
. - ifSizeDefined(Consumer<? super Float>) - Method in class com.dua3.utility.text.FontDef
-
Run action if a value for the size property is defined.
- ifStrikeThroughDefined(Consumer<? super Boolean>) - Method in class com.dua3.utility.text.FontDef
-
Run action if a value for the strike-through property is defined.
- ifTypeDefined(Consumer<? super FontType>) - Method in class com.dua3.utility.text.FontDef
-
Run action if a value for the type property is defined.
- ifUnderlineDefined(Consumer<? super Boolean>) - Method in class com.dua3.utility.text.FontDef
-
Run action if a value for the underline property is defined.
- ignore(T) - Static method in class com.dua3.utility.lang.LangUtil
-
Do nothing.
- IGNORE_EXCESSIVE_FIELDS - Static variable in class com.dua3.utility.io.CsvReader
-
Specifies a flag to ignore excessive fields in CSV data during parsing.
- IGNORE_MISSING_FIELDS - Static variable in class com.dua3.utility.io.CsvReader
-
A flag indicating whether missing fields in the CSV data should be ignored during parsing.
- IGNORE_SUBSETS - Enum constant in enum class com.dua3.utility.text.StandardFontMapper
-
Remove subset prefixes from partially embedded fonts invPDF-files.
- IGNORE_SUBSETS_AND_KNOWN_ALIASES - Enum constant in enum class com.dua3.utility.text.StandardFontMapper
-
Remove subset prefixes from font names, then map known font name aliases to the corresponding standard font.
- ignoreCase() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
ignoreCase
record component. - ignoreFontFamily() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
ignoreFontFamily
record component. - ignoreFontSize() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
ignoreFontSize
record component. - ignoreFontWeight() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
ignoreFontWeight
record component. - ignoreItalic() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
ignoreItalic
record component. - ignoreRows(int) - Method in class com.dua3.utility.io.CsvReader
-
Ignores the specified number of rows in a file.
- ignoreStrikeThrough() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
ignoreStrikeThrough
record component. - ignoreTextColor() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
ignoreTextColor
record component. - ignoreUnderline() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns the value of the
ignoreUnderline
record component. - IkonliIconProvider - Class in com.dua3.utility.fx.icons.ikonli
-
The
IkonliIconProvider
class is an implementation of theIconProvider
interface that provides icons using the Ikonli library. - IkonliIconProvider() - Constructor for class com.dua3.utility.fx.icons.ikonli.IkonliIconProvider
-
Constructs a new instance of
IkonliIconProvider
which provides icons using the Ikonli library. - ilog10(double) - Static method in class com.dua3.utility.math.MathUtil
-
Calculate ceil(log10(x)).
- ILogEntryDispatcherFactory - Interface in com.dua3.utility.logging
-
Interface for a factory that provides an instance of the LogEntryDispatcher.
- Image - Interface in com.dua3.utility.data
-
Raster image interface.
- ImageBuffer - Record Class in com.dua3.utility.data
-
ImageBuffer represents an implementation of the Image interface.
- ImageBuffer(int[], int, int) - Constructor for record class com.dua3.utility.data.ImageBuffer
-
Creates an instance of a
ImageBuffer
record class. - ImageUtil<I> - Interface in com.dua3.utility.data
-
Interface for Image handling utility classes.
- ImageUtilProvider - Interface in com.dua3.utility.data
-
A functional interface for a provider of ImageUtil instances.
- ImmutableListBackedSortedSet<T> - Class in com.dua3.utility.lang
-
An immutable implementation of
SortedSet
, backed by a sorted array. - ImmutableSortedListSet<T> - Interface in com.dua3.utility.lang
-
An interface representing an immutable collection that combines the properties of a sorted set and a list.
- ImmutableSortedMap<K,
V> - Class in com.dua3.utility.lang -
A memory efficient immutable and sorted map implementation that maintains the natural ordering of keys.
- ImmutableSortedMap(Map<K, V>) - Constructor for class com.dua3.utility.lang.ImmutableSortedMap
-
Construct a new immutable sorted map from the given map.
- inclination() - Method in class com.dua3.utility.math.geometry.Line2f
-
Get angle of inclination.
- incrementGraphic(Node) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the graphic for the increment button of the slider.
- incrementText(String) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the text label for the increment button on the slider.
- indexOf(char, int) - Method in class com.dua3.utility.text.RichText
-
Find character.
- indexOf(int) - Method in class com.dua3.utility.text.RichText
-
Find character.
- indexOf(CharSequence) - Method in class com.dua3.utility.text.RichText
-
Return the index of the needle in this RichText instance.
- indexOf(CharSequence, int) - Method in class com.dua3.utility.text.RichText
-
Return the index of the needle in this RichText instance.
- indexOf(CharSequence, int) - Static method in class com.dua3.utility.text.TextUtil
-
Find char in CharSequence.
- indexOf(CharSequence, int, int) - Static method in class com.dua3.utility.text.TextUtil
-
Find char in CharSequence.
- indexOf(CharSequence, CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Find text in CharSequence.
- indexOf(CharSequence, CharSequence, int) - Static method in class com.dua3.utility.text.TextUtil
-
Find text in CharSequence.
- indexOf(Object) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- indexOfFirst(CharSequence, char...) - Static method in class com.dua3.utility.text.TextUtil
-
Find the index of the first occurrence of a char in a string.
- indexOfFirst(CharSequence, String) - Static method in class com.dua3.utility.text.TextUtil
-
Find the index of the first occurrence of a char in a string.
- INDIANRED - Static variable in interface com.dua3.utility.data.Color
-
The color INDIANRED.
- INDIGO - Static variable in interface com.dua3.utility.data.Color
-
The color INDIGO.
- info(JSObject) - Method in class com.dua3.utility.fx.web.WebViews.JSLogger
-
Logs an information message with the formatted message obtained from the provided JSObject argument.
- INFO - Enum constant in enum class com.dua3.utility.logging.LogLevel
-
INFO log level.
- information(Window) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new Information dialog.
- informationPane() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new Information pane.
- init() - Method in interface com.dua3.utility.fx.controls.InputControl
-
Set/update control state.
- init() - Method in class com.dua3.utility.fx.controls.InputDialogPane
-
Initializes the input dialog pane, setting up necessary configurations or state required before the pane is displayed.
- init() - Method in class com.dua3.utility.fx.controls.InputGrid
-
Initializes the InputGrid by clearing previous input controls, creating a new grid layout, and setting up input controls with labels and markers.
- init() - Method in class com.dua3.utility.fx.controls.InputPane
- init() - Method in class com.dua3.utility.fx.controls.OptionsPane
- init() - Method in class com.dua3.utility.fx.controls.PromptPane
- init(LogLevel) - Static method in class com.dua3.utility.logging.log4j.LogUtilLog4J
-
Configures the Log4J bridge implementations that are available.
- INITIAL_BUFFER_SIZE - Static variable in class com.dua3.utility.io.LineOutputStream
-
The initial size of the buffer.
- initialDir(Path) - Method in class com.dua3.utility.fx.controls.DirectoryChooserBuilder
-
Set initial directory.
- initialDir(Path) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Set initial directory.
- initialFile(Path) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Set initial filename and directory.
- initialFileName(String) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Set initial filename.
- initialize() - Method in class com.dua3.utility.logging.slf4j.LoggingServiceProviderSlf4j
- initialPath(Path) - Method in class com.dua3.utility.fx.controls.FileInputBuilder
-
Sets the initial path for the file input.
- initialPath(Supplier<Path>) - Method in class com.dua3.utility.fx.controls.FileInputBuilder
-
Sets the initial path for the FileInputBuilder using the provided
Supplier<Path>
. - inlineTextDecorations(Map<String, Object>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Replace font declarations with declarations for single properties.
- input(Supplier<Path>) - Static method in class com.dua3.utility.io.IoOptions
-
Creates an option for specifying the input path.
- input(Window) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of a new input dialog.
- InputBufferHandling - Enum Class in com.dua3.utility.crypt
-
Defines how input buffers containing sensitive data should be handled after processing.
- InputBuilder<B> - Interface in com.dua3.utility.fx.controls
-
A builder class for creating input controls.
- InputControl<T> - Interface in com.dua3.utility.fx.controls
-
Interface for an input field.
- InputControl.State<R> - Class in com.dua3.utility.fx.controls
-
State class encapsulates a value, validation logic, error message, and validity state.
- InputDialog - Class in com.dua3.utility.fx.controls
-
A Dialog for inputting values.
- InputDialog() - Constructor for class com.dua3.utility.fx.controls.InputDialog
-
Constructs a new InputDialog instance.
- InputDialogBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Alert Dialogs.
- InputDialogPane<R> - Class in com.dua3.utility.fx.controls
-
An abstract base class for dialog panes that handles input and maintains a validity state.
- InputDialogPane() - Constructor for class com.dua3.utility.fx.controls.InputDialogPane
-
Constructor.
- InputDialogPane.ButtonDef<R> - Record Class in com.dua3.utility.fx.controls
-
Represents the definition of a button in an
InputDialogPane
. - inputGrid() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new input dialog.
- InputGrid - Class in com.dua3.utility.fx.controls
-
The InputGrid class is an extension of GridPane that manages input controls and ensures their validation state.
- InputGrid() - Constructor for class com.dua3.utility.fx.controls.InputGrid
-
Constructs a new instance of the InputGrid class.
- InputGridBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Alert Dialogs.
- inputPane() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new input pane.
- InputPane - Class in com.dua3.utility.fx.controls
-
The InputPane class extends InputDialogPane to provide a customized input dialog pane containing an InputGrid.
- InputPane(InputGrid) - Constructor for class com.dua3.utility.fx.controls.InputPane
-
Constructs an InputPane with the specified InputGrid.
- InputPaneBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Alert Dialogs.
- inputStream() - Method in class com.dua3.utility.data.CompressedBytes
-
Provides an InputStream that decompresses the internal byte array using the Inflate algorithm.
- inputStream() - Method in class com.dua3.utility.data.CompressedCharacters
-
Converts the compressed character representation into an
InputStream
. - insertItemAt(T, int) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Inserts the specified item at the specified position in the ComboBoxEx.
- insertString(DocumentFilter.FilterBypass, int, String, AttributeSet) - Method in class com.dua3.utility.swing.SwingDocumentFilter
- insertUpdate(DocumentEvent) - Method in interface com.dua3.utility.swing.SwingDocumentListener
- integer(String, String, Supplier<Long>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled integer input.
- integer(String, String, Supplier<Long>, Function<Long, Optional<String>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled integer input.
- integer(String, String, Supplier<Long>, Function<Long, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- integer(String, String, Supplier<Long>, Function<Long, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- integer(String, String, Supplier<Long>, Function<Long, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- INTEGER - Enum constant in enum class com.dua3.utility.fx.controls.TextFieldType
-
Represents signed integer input in a text field.
- integerInput(Supplier<Long>, Function<Long, Optional<String>>) - Static method in interface com.dua3.utility.fx.controls.InputControl
-
Creates a
SimpleInputControl
for integer values. - intersects(Rectangle2f) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Determines whether this rectangle intersects with the specified rectangle.
- INVALID_VALUE - Static variable in interface com.dua3.utility.fx.controls.InputControl
-
The constant string "Invalid value".
- inverse() - Method in interface com.dua3.utility.data.Converter
-
Returns the inverse of this converter, swapping the source and target types.
- inverse() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Calculates the inverse of the affine transformation.
- inverseTransform(float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Calculates the inverse transformation of a point.
- inverseTransform(Vector2f) - Method in interface com.dua3.utility.ui.Graphics
-
Calculates the inverse transformation of a point.
- IoOptions - Class in com.dua3.utility.io
-
Helper class defining some common
Option
instances that can be used for command line parsing. - IoUtil - Class in com.dua3.utility.io
-
Utility class for Input/Output.
- isActive() - Method in class com.dua3.utility.fx.FxRefresh
-
Check active state.
- isAuthenticated() - Method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Checks if this algorithm provides authenticated encryption.
- isAvailable() - Static method in class com.dua3.utility.crypt.BouncyCastle
-
Checks if the BouncyCastle security provider is available in the system.
- isBetween(double, double, double) - Static method in class com.dua3.utility.lang.LangUtil
-
Check if number is between two other numbers.
- isBetween(long, long, long) - Static method in class com.dua3.utility.lang.LangUtil
-
Check if number is between two other numbers.
- isBetween(Version, Version) - Method in record class com.dua3.utility.lang.Version
-
Determines whether this version is within the range of the specified versions, inclusive.
- isBetween(T, T, T) - Static method in class com.dua3.utility.lang.LangUtil
-
Check if value of a
Comparable
is between two other values. - isBlank() - Method in class com.dua3.utility.text.RichText
-
Test if blank.
- isBlank(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Checks if a CharSequence is empty or consists of whitespace characters only.
- isBold() - Method in class com.dua3.utility.text.Font
-
Get bold property.
- isByteOrderMark(char) - Static method in class com.dua3.utility.lang.LangUtil
-
Test if character is the byte order mark.
- isCancelable() - Method in class com.dua3.utility.fx.controls.WizardDialog
-
Check if dialog can be canceled.
- isClassOnClasspath(String) - Static method in class com.dua3.utility.logging.log4j.LogUtilLog4J
-
Check if a class is on the classpath without loading it.
- isColored() - Method in class com.dua3.utility.logging.ConsoleHandler
-
Check if colored output is enabled.
- isCompact() - Method in class com.dua3.utility.lang.CompactableSortedMap
-
Checks if the map is in a compact or immutable state.
- isCompound() - Method in class com.dua3.utility.io.FileType
-
Whether this is a compound file type (a wrapper for different filetypes having common properties).
- isCompressed() - Method in class com.dua3.utility.data.CompressedBytes
-
Determines if the data held in this instance is in a compressed state.
- isDebugEnabled() - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isDebugEnabled(Marker) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isDecorateNodes() - Method in class com.dua3.utility.fx.controls.Validator
-
Check if decorations are enabled.
- isDefaultImplementation() - Static method in class com.dua3.utility.logging.log4j.LogUtilLog4J
-
Check if the default dispatcher factory implementation is the Log4J implementation.
- isDefaultImplementation() - Static method in class com.dua3.utility.logging.slf4j.LogUtilSlf4j
-
Check if the default dispatcher factory implementation is the SLF4J implementation.
- isEmpty() - Method in class com.dua3.utility.lang.CompactableSortedMap
- isEmpty() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- isEmpty() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- isEmpty() - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- isEmpty() - Method in class com.dua3.utility.lang.RingBuffer
-
Test if collection is empty.
- isEmpty() - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Checks if the path is empty, meaning it contains no vertices.
- isEmpty() - Method in class com.dua3.utility.options.Arguments
-
Checks whether the current arguments instance is empty.
- isEmpty() - Method in class com.dua3.utility.text.FontDef
-
Test if this instance holds no data.
- isEmpty() - Method in record class com.dua3.utility.text.FragmentedText
-
Test if this
FragmentedText
is empty. - isEnabled(Marker, Level) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
-
Determines whether logging is enabled for the specified level and marker.
- isEnabled(Level) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
-
Determines if the specified logging level is enabled for this logger.
- isEncryptionSupported() - Method in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Checks if this algorithm supports direct asymmetric encryption.
- isEquivalent(Option<?>) - Method in class com.dua3.utility.options.Option
-
Determines if this option is equivalent to the provided option.
- isErrorEnabled() - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isErrorEnabled(Marker) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isFlag() - Method in class com.dua3.utility.options.Option
-
Determines if the current configuration can be considered as a flag.
- isHorizontal() - Method in class com.dua3.utility.math.geometry.Line2f
-
Test if line is exactly horizontal.
- isIncluded(OpenMode) - Method in enum class com.dua3.utility.io.OpenMode
-
Test if the functionality provided by this mode is a superset of that provided by another mode.
- isIndeterminate(double) - Static method in class com.dua3.utility.concurrent.ProgressView
-
Determines whether the progress is in an indeterminate state.
- isInfoEnabled() - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isInfoEnabled(Marker) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isIntegral(double) - Static method in class com.dua3.utility.math.MathUtil
-
Test if number is integral.
- isItalic() - Method in class com.dua3.utility.text.Font
-
Get italic property.
- isKnownToBeNull() - Method in class com.dua3.utility.io.SoftResource
-
Check if it is already known that
get()
will returnnull
for this soft resource. - isLazy() - Method in class com.dua3.utility.data.FileTreeNode
-
Returns a boolean value indicating if the lazy loading mode is enabled or not.
- isLeaf() - Method in class com.dua3.utility.data.FileTreeNode
-
Returns a boolean value indicating whether this node is a leaf node.
- isLinux() - Static method in enum class com.dua3.utility.lang.Platform
-
Check if current platform is Linux.
- isMacOS() - Static method in enum class com.dua3.utility.lang.Platform
-
Check if current platform is macOS.
- isNewlineTerminated(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Checks if the given string ends with a newline character.
- isNullOrBlank(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Checks if the provided
CharSequence
is eithernull
or blank (consists only of whitespace characters). - ISO_DATE_TIME - Enum constant in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
Represents the format for ISO 8601 formatted date and time.
- isOfKnownImmutableType(Object) - Static method in class com.dua3.utility.lang.LangUtil
-
Determines if the given object is of a known immutable type.
- isOk() - Method in record class com.dua3.utility.fx.ValidationResult
-
Determines if the ValidationResult level is OK.
- isOneOf(T, T...) - Static method in class com.dua3.utility.lang.LangUtil
-
Test if first argument is equal to one of the other arguments.
- isOpaque() - Method in interface com.dua3.utility.data.Color
-
Test if this color is opaque.
- isOpaque() - Method in record class com.dua3.utility.data.HSVColor
- isOpaque() - Method in record class com.dua3.utility.data.RGBColor
- isParameterSet() - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Determines whether any parameters (required or optional) have been set for this option.
- isProcessBuilderQuotingNeeded(String) - Method in enum class com.dua3.utility.lang.Platform
-
Check if argument needs to be quoted before passing to
ProcessBuilder
. - isQuoteNeeded(CharSequence) - Method in class com.dua3.utility.io.CsvIo
-
Checks if a string needs to be surrounded by quotes.
- isRequired() - Method in class com.dua3.utility.options.Option
-
Determines whether this option is mandatory.
- isRoot() - Method in class com.dua3.utility.data.FileTreeNode
- isRoot() - Method in interface com.dua3.utility.data.TreeNode
-
Check if this node is a root node.
- isRunning() - Method in class com.dua3.utility.fx.FxRefresh
-
Check if the refresher has been started.
- isSecure() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
- isSeparatorChar(char) - Static method in class com.dua3.utility.io.IoUtil
-
Test whether
c
is a separator character. - isSet(Option<Boolean>) - Method in class com.dua3.utility.options.Arguments
-
Test if the flag is set.
- isShowPreviousButton() - Method in class com.dua3.utility.fx.controls.WizardDialog
-
Check if a 'previous' ( or 'navigate-back') button should be displayed.
- isSnapToTicks() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves whether the slider will snap to the closest tick mark.
- isSorted(Iterable<T>, Comparator<T>) - Static method in class com.dua3.utility.data.DataUtil
-
Determines if the given collection is sorted according to the order defined by the provided comparator.
- isSorted(Collection<T>) - Static method in class com.dua3.utility.data.DataUtil
-
Determines if the elements within the given collection are sorted in natural order.
- isStrikeThrough() - Method in class com.dua3.utility.text.Font
-
Get strike-through property.
- issuer(String) - Method in interface com.dua3.utility.crypt.X509CertificateBuilder
-
Sets the issuer's distinguished name (DN) for the X.509 certificate.
- issues() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Returns the value of the
issues
record component. - isSupported(OpenMode) - Method in class com.dua3.utility.io.FileType
-
Check if mode is supported.
- isTerminal() - Method in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
Determines if the task is in a terminal state, i.e., no further transitions will occur.
- isTraceEnabled() - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isTraceEnabled(Marker) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isTransparent() - Method in interface com.dua3.utility.data.Color
-
Test if this color is transparent.
- isTransparent() - Method in record class com.dua3.utility.data.HSVColor
- isTransparent() - Method in record class com.dua3.utility.data.RGBColor
- isUnderline() - Method in class com.dua3.utility.text.Font
-
Get underline property.
- isUnknown() - Static method in enum class com.dua3.utility.lang.Platform
-
Check if current platform is unknown.
- isUseCss() - Method in class com.dua3.utility.text.HtmlConverter
-
Whether CSS is used in output.
- isValid() - Method in interface com.dua3.utility.fx.controls.InputControl
-
Test if content is valid.
- isVertical() - Method in class com.dua3.utility.math.geometry.Line2f
-
Test if line is exactly vertical.
- isWarnEnabled() - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isWarnEnabled(Marker) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
- isWindows() - Static method in enum class com.dua3.utility.lang.Platform
-
Check if current platform is Windows.
- isWrapperFor(Class<?>) - Method in class com.dua3.utility.db.JdbcDataSource
- isWrapperFor(Class<?>, Class<?>) - Static method in class com.dua3.utility.lang.LangUtil
-
Determines if the given class `clsA` is a wrapper for the primitive class `clsB`.
- italic() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
italic
record component. - italic(boolean) - Static method in class com.dua3.utility.io.AnsiCode
-
Set italic output.
- italic(boolean) - Static method in class com.dua3.utility.text.FontDef
-
Create FontDef instance with only the italic field set.
- ITALIC - Static variable in class com.dua3.utility.text.Style
-
Italics style.
- ITALIC_OFF - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: disable ITALIC output.
- ITALIC_ON - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: enable ITALIC output.
- item() - Method in record class com.dua3.utility.fx.controls.PinBoard.PositionInItem
-
Returns the value of the
item
record component. - Item(String, Rectangle2D, Supplier<Node>) - Constructor for record class com.dua3.utility.fx.controls.PinBoard.Item
-
Creates an instance of a
Item
record class. - iterator() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- iterator() - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- iterator() - Method in class com.dua3.utility.lang.RingBuffer
- iterator() - Method in class com.dua3.utility.options.Arguments
- iterator() - Method in class com.dua3.utility.text.RichText
- iterator() - Method in class com.dua3.utility.text.Style
- IVORY - Static variable in interface com.dua3.utility.data.Color
-
The color IVORY.
J
- javafxVersion() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns the value of the
javafxVersion
record component. - javaHome() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns the value of the
javaHome
record component. - javaVendor() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns the value of the
javaVendor
record component. - javaVersion() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns the value of the
javaVersion
record component. - jaxpInstance() - Static method in class com.dua3.utility.xml.XmlUtil
-
Get instance using JAXP Lookup Mechanism to obtain implementing classes.
- JdbcDataSource - Class in com.dua3.utility.db
-
DataSource implementation for JDBC.
- JdbcDataSource(Driver) - Constructor for class com.dua3.utility.db.JdbcDataSource
-
Constructor.
- JdbcDriverInfo - Class in com.dua3.utility.db
-
JDBC driver information.
- JdbcDriverInfo(String, String, String, String, String) - Constructor for class com.dua3.utility.db.JdbcDriverInfo
-
Constructor.
- join(RichText, RichText...) - Static method in class com.dua3.utility.text.RichText
-
Join RichText instances together.
- join(RichText, Iterable<RichText>) - Static method in class com.dua3.utility.text.RichText
-
Join RichText instances together.
- join(CharSequence, RichText...) - Static method in class com.dua3.utility.text.RichText
-
Join RichText instances together.
- join(CharSequence, Iterable<RichText>) - Static method in class com.dua3.utility.text.RichText
-
Join RichText instances together.
- joiner(RichText) - Static method in class com.dua3.utility.text.RichText
-
Create a
RichTextJoiner
. - joiner(RichText, RichText, RichText) - Static method in class com.dua3.utility.text.RichText
-
Create a
RichTextJoiner
. - joiner(String) - Static method in class com.dua3.utility.text.RichText
-
Create a
RichTextJoiner
. - joiner(String, String, String) - Static method in class com.dua3.utility.text.RichText
-
Create a
RichTextJoiner
. - joinQuoted(List<?>) - Static method in class com.dua3.utility.text.TextUtil
-
Joins the elements in the given list into a single string, quoting each element and using ', ' as delimiter.
- joinQuoted(List<?>, String) - Static method in class com.dua3.utility.text.TextUtil
-
Joins the elements in the given list into a single string, quoting each element.
- joinQuotedIfNeeded(List<?>) - Static method in class com.dua3.utility.text.TextUtil
-
Joins the elements of the given list into a single string, using ', ' as delimiter.
- joinQuotedIfNeeded(List<?>, String) - Static method in class com.dua3.utility.text.TextUtil
-
Joins the elements of the given list into a single string, using the specified delimiter.
- JSLogger(Logger) - Constructor for class com.dua3.utility.fx.web.WebViews.JSLogger
-
The JSLogger class is a utility class for logging messages from JavaScript code.
- JUSTIFY - Enum constant in enum class com.dua3.utility.text.Alignment
-
Align justified.
K
- key() - Method in record class com.dua3.utility.data.Histogram.Entry
-
Returns the value of the
key
record component. - key() - Method in record class com.dua3.utility.lang.BuildInfo
-
Returns the value of the
key
record component. - KEY_BUILD_TIME - Static variable in record class com.dua3.utility.lang.BuildInfo
-
Key to use for the build time in properties files.
- KEY_BUILD_VERSION - Static variable in record class com.dua3.utility.lang.BuildInfo
-
Key to use for the build version in properties files.
- KEY_COMMIT - Static variable in record class com.dua3.utility.lang.BuildInfo
-
Key to use for the commit in properties files.
- KEY_PUBLIC_KEY - Static variable in record class com.dua3.utility.lang.BuildInfo
-
Key to use for the key in properties files.
- KEY_SYSTEM - Static variable in record class com.dua3.utility.lang.BuildInfo
-
Key to use for the system in properties files.
- keyFactoryAlgorithm() - Method in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Retrieves the algorithm name to use for KeyFactory operations.
- keySet() - Method in class com.dua3.utility.lang.CompactableSortedMap
- keySet() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- KeyStoreUtil - Class in com.dua3.utility.crypt
-
Utility class for KeyStore operations.
- KeyUtil - Class in com.dua3.utility.crypt
-
Utility class for cryptographic key operations.
- KHAKI - Static variable in interface com.dua3.utility.data.Color
-
The color KHAKI.
- KNOWN_ALIASES - Enum constant in enum class com.dua3.utility.text.StandardFontMapper
-
Map known font name aliases to the corresponding standard font.
L
- label(String) - Static method in class com.dua3.utility.fx.controls.Controls
-
Creates and returns a new instance of LabelBuilder.
- label(ObservableValue<String>) - Static method in class com.dua3.utility.fx.controls.Controls
-
Creates and returns a new instance of LabelBuilder.
- LabelBuilder - Class in com.dua3.utility.fx.controls
-
An abstract base class for building nodes, providing a fluent API for configuring and creating instances of the node type specified by the generic parameter
N
. - LabelBuilder(String) - Constructor for class com.dua3.utility.fx.controls.LabelBuilder
-
Constructs a new instance of the ControlBuilder class using the specified factory.
- LabelBuilder(ObservableValue<String>) - Constructor for class com.dua3.utility.fx.controls.LabelBuilder
-
Constructs a new instance of the ControlBuilder class using the specified factory.
- LabeledBuilder<C,
B> - Class in com.dua3.utility.fx.controls.abstract_builders -
LabeledBuilder is an abstract base class for building instances of Labeled nodes.
- LabeledBuilder(Supplier<? extends C>) - Constructor for class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
-
Constructor.
- labelFormatterProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Returns the label formatter property of the slider.
- LangUtil - Class in com.dua3.utility.lang
-
A Utility class with general purpose methods.
- LangUtil.AutoCloseableSupplier<T> - Interface in com.dua3.utility.lang
-
Interface AutoClosableSupplier, used in
LangUtil.cache(Supplier, Consumer)
. - LangUtil.ConsumerThrows<T,
E> - Interface in com.dua3.utility.lang -
Interface similar to
Consumer
that declares thrown exceptions on itsapply()
method. - LangUtil.FailedCheckException - Exception Class in com.dua3.utility.lang
-
Exception derived from IllegalStateException thrown by
LangUtil.check(boolean)
. - LangUtil.FunctionThrows<T,
R, - Interface in com.dua3.utility.langE> -
Interface similar to
Function
that declares thrown exceptions on itsapply()
method. - LangUtil.RunnableThrows<E> - Interface in com.dua3.utility.lang
-
Interface similar to
Runnable
that declares thrown exceptions on itsrun()
method. - LangUtil.SupplierThrows<T,
E> - Interface in com.dua3.utility.lang -
Interface similar to
Supplier
that declares thrown exceptions on itsapply()
method. - largeArc() - Method in class com.dua3.utility.math.geometry.Arc2f
-
Returns the value of the largeArc property for the
Arc2f
object. - last() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- lastIndexOf(Object) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- lastKey() - Method in class com.dua3.utility.lang.CompactableSortedMap
- lastKey() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- LAVENDER - Static variable in interface com.dua3.utility.data.Color
-
The color LAVENDER.
- LAVENDERBLUSH - Static variable in interface com.dua3.utility.data.Color
-
The color LAVENDERBLUSH.
- LAWNGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color LAWNGREEN.
- LEFT - Enum constant in enum class com.dua3.utility.fx.controls.Position
-
The left position.
- LEFT - Enum constant in enum class com.dua3.utility.text.Alignment
-
Left aligned.
- LEFT - Enum constant in enum class com.dua3.utility.ui.Graphics.HAnchor
-
Aligns element to the left side.
- LEMONCHIFFON - Static variable in interface com.dua3.utility.data.Color
-
The color LEMONCHIFFON.
- length() - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Calculate the length of vector.
- length() - Method in class com.dua3.utility.text.RichText
-
Length of text in characters.
- length() - Method in class com.dua3.utility.text.RichTextBuilder
-
Returns the length (character count).
- length() - Method in class com.dua3.utility.text.Run
- length() - Method in class com.dua3.utility.text.SharableString
- length() - Method in class com.dua3.utility.text.SharedString
- level() - Method in record class com.dua3.utility.fx.ValidationResult
-
Returns the value of the
level
record component. - level() - Method in class com.dua3.utility.logging.log4j.LogEntryLog4J
- level() - Method in interface com.dua3.utility.logging.LogEntry
-
Returns the log level of the LogEntry.
- level() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns the value of the
level
record component. - level() - Method in class com.dua3.utility.logging.slf4j.LogEntrySlf4j
- level() - Method in record class com.dua3.utility.text.HtmlConverter.HeaderStyle
-
Returns the value of the
level
record component. - LEVEL - Static variable in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
-
Specifies the logging level for the
LoggerFactorySlf4j
. - lexicalPathComparator(Locale) - Static method in class com.dua3.utility.io.IoUtil
-
Creates a comparator that performs lexicographic comparison of
Path
instances based on the specified locale. - lexicographicComparator(Locale) - Static method in class com.dua3.utility.text.TextUtil
-
Creates a lexicographic comparator for strings based on the specified locale.
- license(String, Runnable) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the license information for the AboutDialog, including the license text and an optional action to show detailed license information.
- licenseText(String) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the license text to be used in the AboutDialog.
- LIGHTBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTBLUE.
- LIGHTCORAL - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTCORAL.
- LIGHTCYAN - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTCYAN.
- LIGHTGOLDENRODYELLOW - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTGOLDENRODYELLOW.
- LIGHTGRAY - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTGRAY.
- LIGHTGRAY - Static variable in class com.dua3.utility.text.Style
-
Lightgray text.
- LIGHTGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTGREEN.
- LIGHTGREY - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTGREY.
- LIGHTPINK - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTPINK.
- LIGHTSALMON - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTSALMON.
- LIGHTSEAGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTSEAGREEN.
- LIGHTSKYBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTSKYBLUE.
- LIGHTSLATEGRAY - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTSLATEGRAY.
- LIGHTSLATEGREY - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTSLATEGREY.
- LIGHTSTEELBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTSTEELBLUE.
- LIGHTYELLOW - Static variable in interface com.dua3.utility.data.Color
-
The color LIGHTYELLOW.
- LIME - Static variable in interface com.dua3.utility.data.Color
-
The color LIME.
- LIMEGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color LIMEGREEN.
- LINE_BREAK_AFTER_TAG - Enum constant in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Formatting hint indicating that a line break should be applied after the associated tag.
- LINE_BREAK_BEFORE_AND_AFTER_TAG - Enum constant in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Formatting hint indicating that a line break should be applied both before and after the associated tag.
- LINE_BREAK_BEFORE_TAG - Enum constant in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Formatting hint indicating that a line break should be applied before the associated tag.
- LINE_END_SYSTEM - Static variable in class com.dua3.utility.text.TextUtil
-
The current system's end-of-line sequence.
- LINE_END_UNIX - Static variable in class com.dua3.utility.text.TextUtil
-
UNIX end-of-line sequence.
- LINE_END_WINDOWS - Static variable in class com.dua3.utility.text.TextUtil
-
Windows end-of-line sequence.
- LINE_THROUGH - Static variable in class com.dua3.utility.text.Style
-
Line-through (=strikethrough) style.
- Line2f - Class in com.dua3.utility.math.geometry
-
Straight line segment.
- linebreakAfterTag() - Method in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Checks if a line break should appear after a tag based on the current formatting hint configuration.
- linebreakBeforeTag() - Method in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Checks if a line break should appear before the tag based on the current formatting hint configuration.
- lineDelimiter - Variable in class com.dua3.utility.io.CsvIo
-
The line delimiter used when writing CSV files.
- LINEN - Static variable in interface com.dua3.utility.data.Color
-
The color LINEN.
- LineOutputStream - Class in com.dua3.utility.io
-
An OutputStream implementation that splits the input into lines and passes these on to a processor.
- LineOutputStream(Consumer<? super String>) - Constructor for class com.dua3.utility.io.LineOutputStream
-
Creates a new LineOutputStream.
- lineRel(float, float) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Adds a line segment to the path, starting from the current position and extending to the position defined by the relative offset coordinates.
- lineRel(Vector2f) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Adds a line segment to the path, starting from the current position and extending to the position defined by the relative offset vector.
- lines() - Method in record class com.dua3.utility.text.FragmentedText
-
Returns the value of the
lines
record component. - lines() - Method in class com.dua3.utility.text.RichText
-
Get stream of lines contained in this instance.
- lines(InputStream, Charset) - Static method in class com.dua3.utility.io.IoUtil
-
Get stream of lines from InputStream instance.
- lines(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Splits the provided character sequence into an array of lines, using the predefined line splitting pattern.
- lineTo(float, float) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Adds a line from the current position to a new position defined by the specified x and y coordinates.
- lineTo(Vector2f) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Add a line from the current position to a new position.
- link - Variable in class com.dua3.utility.db.JdbcDriverInfo
-
Link to the vendor's driver webpage.
- LINUX - Enum constant in enum class com.dua3.utility.lang.Platform
-
The Linux operating system.
- listAliases(KeyStore) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Lists all aliases in the KeyStore.
- ListRowBuilder() - Constructor for class com.dua3.utility.io.CsvReader.ListRowBuilder
-
Constructs a new instance of ListRowBuilder.
- ListRowBuilder(Consumer<List<String>>) - Constructor for class com.dua3.utility.io.CsvReader.ListRowBuilder
-
Constructs a new instance of ListRowBuilder.
- LN_2 - Static variable in class com.dua3.utility.math.MathUtil
-
Represents the natural logarithm of 2 (ln(2)), a constant value approximately equal to 0.6931471805599453.
- load() - Method in class com.dua3.utility.spi.SpiLoader
-
Loads an implementation of the specified type using the provided class loader and predicate.
- load(InputStream) - Static method in class com.dua3.utility.awt.AwtImage
-
Loads an image from the specified input stream and creates a SwingImage object.
- load(InputStream) - Method in class com.dua3.utility.awt.AwtImageUtil
- load(InputStream) - Method in interface com.dua3.utility.data.ImageUtil
-
Load image.
- load(InputStream) - Method in class com.dua3.utility.fx.FxImageUtil
- loadCertificate(KeyStore, String) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Loads a certificate from the KeyStore.
- loadCertificateChain(KeyStore, String) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Loads a certificate chain from the KeyStore.
- loadCompressedData(byte[]) - Static method in class com.dua3.utility.data.CompressedBytes
-
Loads a compressed representation of the given byte array and wraps it in a
CompressedBytes
instance. - loadCompressedData(InputStream) - Static method in class com.dua3.utility.data.CompressedBytes
-
Loads compressed data from the given InputStream and returns a
CompressedBytes
instance. - loadDriver(ClassLoader) - Static method in class com.dua3.utility.db.DbUtil
-
Load JDBC driver.
- loadDriver(URL...) - Static method in class com.dua3.utility.db.DbUtil
-
Load JDBC driver.
- loadFontAs(InputStream, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
- loadFontAs(InputStream, Font) - Method in class com.dua3.utility.fx.FxFontUtil
- loadFontAs(InputStream, Font) - Method in interface com.dua3.utility.text.FontUtil
-
Load an embedded font.
- loadFonts(InputStream) - Method in class com.dua3.utility.awt.AwtFontUtil
- loadFonts(InputStream) - Method in class com.dua3.utility.fx.FxFontUtil
- loadFonts(InputStream) - Method in interface com.dua3.utility.text.FontUtil
-
Load font.
- loadKeyPair(KeyStore, String, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Loads a KeyPair from the KeyStore.
- loadKeyStore(InputStream, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Loads a KeyStore from an InputStream.
- loadKeyStoreFromFile(Path, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Loads a KeyStore from a file.
- loadPrivateKey(KeyStore, String, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Loads a PrivateKey from the KeyStore.
- loadProperties(InputStream) - Static method in class com.dua3.utility.lang.LangUtil
-
Load a properties file in UTF-8 encoding.
- loadProperties(URI) - Static method in class com.dua3.utility.lang.LangUtil
-
Load a properties file in UTF-8 encoding.
- loadProperties(URL) - Static method in class com.dua3.utility.lang.LangUtil
-
Load a properties file in UTF-8 encoding.
- loadProperties(Path) - Static method in class com.dua3.utility.lang.LangUtil
-
Load a properties file in UTF-8 encoding.
- loadPublicKey(KeyStore, String) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Loads a PublicKey from the KeyStore (from the certificate).
- loadSecretKey(KeyStore, String, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Loads a SecretKey from the KeyStore.
- loadText(Path, Consumer<? super Charset>) - Static method in class com.dua3.utility.io.IoUtil
-
Load text with unknown character encoding.
- loadText(Path, Consumer<? super Charset>, Charset...) - Static method in class com.dua3.utility.io.IoUtil
-
Load text with unknown character encoding.
- locale - Variable in class com.dua3.utility.io.CsvIo
-
The
Locale
used for formatting and parsing data in CSV I/O. - locale(Supplier<Locale>) - Static method in class com.dua3.utility.io.IoOptions
-
Creates an option for selecting the locale.
- LOCALE_DEFAULT - Enum constant in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
The default format to use for the current locale.
- LOCALE_MEDIUM - Enum constant in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
Represents a locale-dependent medium format style.
- LOCALE_SHORT - Enum constant in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
Represents a locale-dependent short format style.
- location() - Method in class com.dua3.utility.logging.log4j.LogEntryLog4J
- location() - Method in interface com.dua3.utility.logging.LogEntry
-
Returns the location information if present.
- location() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns the value of the
location
record component. - location() - Method in class com.dua3.utility.logging.slf4j.LogEntrySlf4j
- LOG - Static variable in class com.dua3.utility.fx.controls.InputGrid
-
Logger
- LOG - Static variable in class com.dua3.utility.fx.controls.OptionsPane
-
Logger
- LOG - Static variable in class com.dua3.utility.fx.controls.PromptPane
-
Logger
- LogAppenderLog4j - Class in com.dua3.utility.logging.log4j
-
This class is an implementation of the Log4j Appender and LogEntryHandlerPool interfaces.
- LogAppenderLog4j(String, Filter, Layout<? extends Serializable>, boolean) - Constructor for class com.dua3.utility.logging.log4j.LogAppenderLog4j
-
Constructs a new instance of LogAppenderLog4j with the specified parameters.
- LogAppenderLog4j.LogEntryDispatcherLog4J - Class in com.dua3.utility.logging.log4j
-
This class represents an implementation of the LogEntryDispatcher interface using Log4J.
- LogBuffer - Class in com.dua3.utility.logging
-
A thread-safe log buffer class intended to provide a buffer for log messages to display in GUI applications.
- LogBuffer() - Constructor for class com.dua3.utility.logging.LogBuffer
-
Construct a new LogBuffer instance with default capacity.
- LogBuffer(int) - Constructor for class com.dua3.utility.logging.LogBuffer
-
Construct a new LogBuffer instance.
- LogBuffer.BufferState - Record Class in com.dua3.utility.logging
-
Represents the state of a buffer.
- LogBuffer.LogBufferListener - Interface in com.dua3.utility.logging
-
Interface for Listeners on changes of a
LogBuffer
instance's contents. - logElapsed(Stopwatch.Format) - Method in class com.dua3.utility.lang.Stopwatch
-
Create a Supplier for use in log messages (formatting is only done when
Supplier.get()
is called). - logElapsedSplit(Stopwatch.Format, boolean) - Method in class com.dua3.utility.lang.Stopwatch
-
Create a Supplier for use in log messages (formatting is only done when
Supplier.get()
is called). - LogEntry - Interface in com.dua3.utility.logging
-
The LogEntry interface represents a log entry with various properties such as message, logger name, time, level, marker, and throwable.
- LogEntryDispatcher - Interface in com.dua3.utility.logging
-
This interface defines the contract for classes that dispatch log entries to registered handlers.
- LogEntryDispatcherFactoryLog4j - Class in com.dua3.utility.logging.log4j
-
A factory class for creating LogEntryDispatcher instances using Log4j.
- LogEntryDispatcherFactoryLog4j() - Constructor for class com.dua3.utility.logging.log4j.LogEntryDispatcherFactoryLog4j
-
Constructor, called by SPI.
- LogEntryDispatcherFactorySlf4j - Class in com.dua3.utility.logging.slf4j
-
This class is an implementation of the ILogEntryDispatcherFactory interface.
- LogEntryDispatcherFactorySlf4j() - Constructor for class com.dua3.utility.logging.slf4j.LogEntryDispatcherFactorySlf4j
-
Default constructor for the class LogEntryDispatcherFactorySlf4j.
- LogEntryDispatcherLog4J() - Constructor for class com.dua3.utility.logging.log4j.LogAppenderLog4j.LogEntryDispatcherLog4J
-
Constructor.
- LogEntryFilter - Interface in com.dua3.utility.logging
-
The LogEntryFilter interface represents a filter used to determine if a LogEntry should be included or excluded.
- LogEntryHandler - Interface in com.dua3.utility.logging
-
Represents a functional interface for handling log entries.
- LogEntryLog4J - Class in com.dua3.utility.logging.log4j
-
Represents a log entry with information about the log message, time, level, logger, and optional marker and throwable.
- LogEntryLog4J(LogEvent) - Constructor for class com.dua3.utility.logging.log4j.LogEntryLog4J
-
Creates a new LogEntry object.
- LogEntrySlf4j - Class in com.dua3.utility.logging.slf4j
-
Represents a log entry with information about the log message, time, level, logger, and optional marker and throwable.
- LogEntrySlf4j(String, Level, Marker, Supplier<String>, Throwable) - Constructor for class com.dua3.utility.logging.slf4j.LogEntrySlf4j
-
Creates a new instance of LogEntrySlf4j.
- LOGGER_CONSOLE_COLORED - Static variable in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
-
Property key to enable or disable colored output for the console logger.
- LOGGER_CONSOLE_STREAM - Static variable in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
-
Configuration key used to specify the stream to which log entries are written for console logging.
- LoggerFactorySlf4j - Class in com.dua3.utility.logging.slf4j
-
The LoggerFactorySlf4j class is an implementation of the ILoggerFactory and LogEntryDispatcher interfaces.
- LoggerFactorySlf4j() - Constructor for class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
-
Constructs a new instance of LoggerFactorySlf4j.
- loggerName() - Method in class com.dua3.utility.logging.log4j.LogEntryLog4J
- loggerName() - Method in interface com.dua3.utility.logging.LogEntry
-
Returns the name of the logger associated with the log entry.
- loggerName() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns the value of the
loggerName
record component. - loggerName() - Method in class com.dua3.utility.logging.slf4j.LogEntrySlf4j
- LoggerSlf4j - Class in com.dua3.utility.logging.slf4j
-
This class represents a logger implementation using the SLF4J logging framework.
- LoggerSlf4j(String, List<? extends WeakReference<LogEntryHandler>>) - Constructor for class com.dua3.utility.logging.slf4j.LoggerSlf4j
-
Constructs a new LoggerSlf4j instance with the specified name and handlers.
- LoggingServiceProviderSlf4j - Class in com.dua3.utility.logging.slf4j
-
Implementation of SLF4JServiceProvider that provides logging functionality using SLF4J.
- LoggingServiceProviderSlf4j() - Constructor for class com.dua3.utility.logging.slf4j.LoggingServiceProviderSlf4j
-
Constructor, called by SPI
- LogLevel - Enum Class in com.dua3.utility.logging
-
Enumeration representing different log levels.
- LogUtil - Class in com.dua3.utility.logging
-
Utility class for logging operations.
- LogUtilLog4J - Class in com.dua3.utility.logging.log4j
-
A utility class for creating and managing Log4j appenders.
- LogUtilSlf4j - Class in com.dua3.utility.logging.slf4j
-
The LogUtilSlf4j class provides utility methods for working with the SLF4J logging framework.
- lookupBundle(String) - Method in class com.dua3.utility.i18n.I18N
-
Retrieves the ResourceBundle associated with the given key from the bundleMap.
- lookupBundle(String, Function<Locale, ResourceBundle>) - Method in class com.dua3.utility.i18n.I18N
-
Retrieves the ResourceBundle associated with the given key from the bundleMap.
M
- MACOS - Enum constant in enum class com.dua3.utility.lang.Platform
-
The macOS operating system.
- mail(String) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the email address for the About dialog.
- mail(String, String) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the text and mailto URI for the mail link in the About Dialog.
- major() - Method in record class com.dua3.utility.lang.Version
-
Returns the value of the
major
record component. - majorTickUnit(double) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Set the major tick unit
- majorTickUnitProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the major tick unit property of the slider.
- makeResizable(Region, int, Position...) - Static method in class com.dua3.utility.fx.controls.Controls
-
Make a region resizable by dragging its edge.
- makeResizable(Region, Position...) - Static method in class com.dua3.utility.fx.controls.Controls
-
Make a region resizable by dragging its edge.
- map(String, BiFunction<Object, Object, String>) - Static method in class com.dua3.utility.text.AnsiConverter
-
Set the mapper for a specific attribute.
- map(String, Function<Object, HtmlTag>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Set the mapper for a specific style.
- map(Function<? super T1, ? extends U1>, Function<? super T2, ? extends U2>) - Method in record class com.dua3.utility.data.Pair
-
Map pair to another pair.
- map(Function<Object, ? extends U>) - Method in record class com.dua3.utility.data.Pair
-
Map pair to another pair.
- map(Iterator<T>, Function<? super T, ? extends U>) - Static method in class com.dua3.utility.data.DataUtil
-
Create a mapping iterator that converts elements on the fly.
- map(List<String>) - Method in class com.dua3.utility.options.Option
-
Maps the given list of argument strings to an
Arguments.Entry
instance. - map(OptionalDouble, DoubleFunction<? extends T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Map
OptionalDouble
to anOptional
. - map(OptionalInt, IntFunction<? extends T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Map
OptionalInt
to anOptional
. - map(OptionalLong, LongFunction<? extends T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Map
OptionalLong
to anOptional
. - map(ObservableList<A>, Function<A, B>) - Static method in class com.dua3.utility.fx.FxUtil
-
Maps each element of the given ObservableList using the provided mapping function.
- mapAttribute(String, Function<TagBasedConverter.AttributeChange, HtmlTag>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Set the mapper for a specific attribute.
- mapCodec(Codec<K>, Codec<V>, Supplier<? extends M>) - Static method in class com.dua3.utility.io.Codecs
- mapEntryCodec(Codec<K>, Codec<? extends V>) - Static method in class com.dua3.utility.io.Codecs
- mapFirst(Function<? super T1, ? extends U1>) - Method in record class com.dua3.utility.data.Pair
-
Apply mapping to the first component only.
- mapNonNull(T, Function<T, U>) - Static method in class com.dua3.utility.lang.LangUtil
-
Applies the given mapping function to the provided value if it is not null.
- mapper(Function<Object[], T>) - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Sets the mapper function for converting arguments to the target type.
- mapper(Function<Object[], T>) - Method in class com.dua3.utility.options.OptionBuilder
- mapSecond(Function<? super T2, ? extends U2>) - Method in record class com.dua3.utility.data.Pair
-
Apply mapping to the second component only.
- marker() - Method in class com.dua3.utility.logging.log4j.LogEntryLog4J
- marker() - Method in interface com.dua3.utility.logging.LogEntry
-
Returns the marker associated with this log entry.
- marker() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns the value of the
marker
record component. - marker() - Method in class com.dua3.utility.logging.slf4j.LogEntrySlf4j
- MAROON - Static variable in interface com.dua3.utility.data.Color
-
The color MAROON.
- matcher(Pattern, RichText) - Static method in class com.dua3.utility.text.RichText
-
Create a
RichTextMatcher
. - matches(Font) - Method in class com.dua3.utility.text.FontDef
-
Test if all attributes defined by this instance match those of the given
Font
. - matches(String) - Method in class com.dua3.utility.io.FileType
-
Check if a filename matches this type.
- matches(FileChooser.ExtensionFilter, File) - Static method in class com.dua3.utility.fx.FxUtil
-
Test if filename matches filter.
- matches(FileChooser.ExtensionFilter, String) - Static method in class com.dua3.utility.fx.FxUtil
-
Test if filename matches filter.
- matches(FileChooser.ExtensionFilter, URI) - Static method in class com.dua3.utility.fx.FxUtil
-
Test if URI matches filter.
- matches(FileChooser.ExtensionFilter, Path) - Static method in class com.dua3.utility.fx.FxUtil
-
Test if file matches filter.
- MathUtil - Class in com.dua3.utility.math
-
Utility class providing various mathematical helper functions and constants.
- max() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns a new
Vector2f
instance with the maximum x and y coordinates. - max() - Method in record class com.dua3.utility.options.Repetitions
-
Returns the value of the
max
record component. - max(double) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the maximum value of the slider.
- max(Dimension2f, Dimension2f) - Static method in record class com.dua3.utility.math.geometry.Dimension2f
-
Computes the maximum of two
Dimension2f
objects based on their width and height. - max(Vector2f, Vector2f) - Static method in record class com.dua3.utility.math.geometry.Vector2f
-
Return result vector of componentwise maximum.
- MAX_BUFFER_SIZE - Static variable in class com.dua3.utility.io.LineOutputStream
-
Maximum buffer size constant.
- maxArgs() - Method in class com.dua3.utility.options.Option
-
Computes the maximum number of arguments by summing up the maximum repetitions of arguments across all parameters.
- maxProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Returns the DoubleProperty representing the maximum value of the slider.
- MEDIUMAQUAMARINE - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMAQUAMARINE.
- MEDIUMBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMBLUE.
- MEDIUMORCHID - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMORCHID.
- MEDIUMPURPLE - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMPURPLE.
- MEDIUMSEAGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMSEAGREEN.
- MEDIUMSLATEBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMSLATEBLUE.
- MEDIUMSPRINGGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMSPRINGGREEN.
- MEDIUMTURQUOISE - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMTURQUOISE.
- MEDIUMVIOLETRED - Static variable in interface com.dua3.utility.data.Color
-
The color MEDIUMVIOLETRED.
- menu(String, Node, MenuItem...) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
Menu
. - menu(String, MenuItem...) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
Menu
. - menuItem(String, Node, Runnable) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
MenuItem
. - menuItem(String, Node, Runnable, boolean) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
MenuItem
. - menuItem(String, Node, Runnable, ObservableBooleanValue) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
MenuItem
. - menuItem(String, Runnable) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
MenuItem
. - menuItem(String, Runnable, boolean) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
MenuItem
. - menuItem(String, Runnable, ObservableBooleanValue) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create new
MenuItem
. - merge(ValidationResult) - Method in record class com.dua3.utility.fx.ValidationResult
-
Merges this
ValidationResult
with anotherValidationResult
. - merge(FontDef) - Method in class com.dua3.utility.text.FontDef
-
Update this FontDef with the non-null values of another FontDef instance.
- merge(Comparator<? super T>, Stream<T>...) - Static method in class com.dua3.utility.lang.StreamUtil
-
Merge several sorted streams into a single sorted stream containing the elements from the streams passed as the argument.
- merge(Stream<T>...) - Static method in class com.dua3.utility.lang.StreamUtil
-
Merge several sorted streams into a single sorted stream containing the elements from the streams passed as the argument.
- mergeBundle(String, Locale) - Method in class com.dua3.utility.i18n.I18N
-
Merges a resource bundle identified by its base name and locale into the internal bundleMap.
- mergeBundle(ResourceBundle) - Method in class com.dua3.utility.i18n.I18N
-
Merges the given resource bundle into the internal bundleMap.
- message() - Method in record class com.dua3.utility.fx.ValidationResult
-
Returns the value of the
message
record component. - message() - Method in class com.dua3.utility.logging.log4j.LogEntryLog4J
- message() - Method in interface com.dua3.utility.logging.LogEntry
-
Retrieves the message of the log entry.
- message() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns the value of the
message
record component. - message() - Method in class com.dua3.utility.logging.slf4j.LogEntrySlf4j
- MIDDLE - Enum constant in enum class com.dua3.utility.text.VerticalAlignment
-
Align middle.
- MIDDLE - Enum constant in enum class com.dua3.utility.ui.Graphics.VAnchor
-
Align the middle of the element relative to the reference point.
- MIDNIGHTBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color MIDNIGHTBLUE.
- MILLIS - Enum constant in enum class com.dua3.utility.lang.Stopwatch.Format
-
Milliseconds formatted as floating point value.
- min() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns a new
Vector2f
instance with the minimum x and y coordinates. - min() - Method in record class com.dua3.utility.options.Repetitions
-
Returns the value of the
min
record component. - min(double) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the minimum value of the slider.
- min(Dimension2f, Dimension2f) - Static method in record class com.dua3.utility.math.geometry.Dimension2f
-
Computes the minimum of two
Dimension2f
objects based on their dimensions. - min(Vector2f, Vector2f) - Static method in record class com.dua3.utility.math.geometry.Vector2f
-
Return result vector of componentwise minimum.
- minArgs() - Method in class com.dua3.utility.options.Option
-
Computes and returns the minimum number of arguments required based on the parameters provided.
- minor() - Method in record class com.dua3.utility.lang.Version
-
Returns the value of the
minor
record component. - minorTickCountProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the property for the minor tick count of the slider.
- minProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the minimum value property of the slider.
- MINTCREAM - Static variable in interface com.dua3.utility.data.Color
-
The color MINTCREAM.
- MINUS_ONE_MINUS_ONE - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The vector (-1,-1).
- MINUS_ONE_ONE - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The vector (-1,1).
- MINUS_ONE_ZERO - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The vector (-1,0).
- MINUTES_SECONDS_MILLIS - Enum constant in enum class com.dua3.utility.lang.Stopwatch.Format
-
m:ss.sss.
- MISTYROSE - Static variable in interface com.dua3.utility.data.Color
-
The color MISTYROSE.
- mm2pt(double) - Static method in class com.dua3.utility.text.TextUtil
-
Convert mm to pt.
- MOCCASIN - Static variable in interface com.dua3.utility.data.Color
-
The color MOCCASIN.
- MODERATE - Enum constant in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
-
Represents the moderate strength level of a password.
- MONOSPACE - Static variable in class com.dua3.utility.text.Style
-
Default Monospace font.
- monospaced() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
monospaced
record component. - MONOSPACED - Enum constant in enum class com.dua3.utility.text.FontType
-
Represents a font type where the spacing between characters is the same for all characters, like a font used by a typewriter.
- MONOSPACED - Enum constant in enum class com.dua3.utility.text.FontUtil.FontTypes
-
Enum value for monospaced fonts.
- moveRel(float, float) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Moves the current position by a relative offset specified by the given x and y coordinates.
- moveRel(Vector2f) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Move relative.
- moveTo(float, float) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Moves to a new position specified by the given coordinates.
- moveTo(float, float) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Creates a new rectangle by moving the top-left corner to the specified coordinates while preserving the current width and height.
- moveTo(Vector2f) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Move to a new position.
- MoveTo2f - Class in com.dua3.utility.math.geometry
-
Move current position.
- multiply(float) - Method in record class com.dua3.utility.math.geometry.Scale2f
-
Multiplies the scale factors of the current Scale object by a scalar value.
- multiply(float, float) - Method in record class com.dua3.utility.math.geometry.Scale2f
-
Multiplies the scale factors by the specified values and returns a new Scale object with the multiplied values.
- multiply(Scale2f) - Method in record class com.dua3.utility.math.geometry.Scale2f
-
Multiplies the current scale by another scale.
- MutableImage - Interface in com.dua3.utility.data
-
Represents an image that can be modified by directly accessing and manipulating pixel data.
N
- name - Variable in class com.dua3.utility.db.JdbcDriverInfo
-
The driver name.
- name() - Method in interface com.dua3.utility.data.TreeNode
-
Get node name.
- name() - Method in record class com.dua3.utility.fx.controls.PinBoard.Item
-
Returns the value of the
name
record component. - name() - Method in interface com.dua3.utility.fx.icons.IconProvider
-
Get this provider*s name.
- name() - Method in class com.dua3.utility.fx.icons.ikonli.IkonliIconProvider
- name() - Method in interface com.dua3.utility.io.Codec
-
The encoder name, usually corresponds to the object type.
- name() - Method in record class com.dua3.utility.lang.NamedFunction
-
Returns the value of the
name
record component. - name() - Method in class com.dua3.utility.math.geometry.Arc2f
- name() - Method in class com.dua3.utility.math.geometry.ClosePath2f
- name() - Method in class com.dua3.utility.math.geometry.Curve2f
- name() - Method in class com.dua3.utility.math.geometry.Line2f
- name() - Method in class com.dua3.utility.math.geometry.MoveTo2f
- name() - Method in class com.dua3.utility.math.geometry.Segment2f
-
The identifying name for the type of the segment.
- name() - Method in class com.dua3.utility.text.Style
-
Get style name.
- name(String) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Sets the name for the ArgumentsParser instance being built.
- NAME - Static variable in class com.dua3.utility.math.geometry.Arc2f
-
The name of the segment type.
- NAME - Static variable in class com.dua3.utility.math.geometry.ClosePath2f
-
Segment type name.
- NAME - Static variable in class com.dua3.utility.math.geometry.Curve2f
-
The name of the segment type.
- NAME - Static variable in class com.dua3.utility.math.geometry.Line2f
-
Segment type name.
- NAME - Static variable in class com.dua3.utility.math.geometry.MoveTo2f
-
Segment type name.
- NamedFunction<T,
R> - Record Class in com.dua3.utility.lang -
An extension of the
Function<T,R>
interface that takes a name to be used as the return value oftoString()
. - NamedFunction(String, Function<T, R>) - Constructor for record class com.dua3.utility.lang.NamedFunction
-
Creates an instance of a
NamedFunction
record class. - NamedParameterStatement - Class in com.dua3.utility.db
-
Code was taken from the Java World article "Named Parameters for PreparedStatement" and adapted to work with up-to-date Java versions.
- NamedParameterStatement(Connection, String) - Constructor for class com.dua3.utility.db.NamedParameterStatement
-
Creates a NamedParameterStatement.
- NamedParameterStatement.ParameterInfo - Class in com.dua3.utility.db
-
A class holding parameter information.
- namespaceContext() - Method in record class com.dua3.utility.xml.XmlUtil.DocumentWithNamespace
-
Returns the value of the
namespaceContext
record component. - NAVAJOWHITE - Static variable in interface com.dua3.utility.data.Color
-
The color NAVAJOWHITE.
- NAVY - Static variable in interface com.dua3.utility.data.Color
-
The color NAVY.
- negate() - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Negates the vector by inverting the signs of its components.
- newline() - Static method in class com.dua3.utility.text.RichText
-
Returns RichText containing a single newline character.
- newUuidV7() - Static method in class com.dua3.utility.lang.LangUtil
-
Generates a new UUID version 7 (UUIDv7) according to RFC 9562.
- newUuidV7(long) - Static method in class com.dua3.utility.lang.LangUtil
-
Generates a new UUIDv7 based on the provided Unix timestamp in milliseconds.
- newUuidV7(Instant) - Static method in class com.dua3.utility.lang.LangUtil
-
Generates a new UUID version 7 (UUIDv7) according to RFC 9562 with the specified timestamp.
- newValue() - Method in record class com.dua3.utility.text.TagBasedConverter.AttributeChange
-
Returns the value of the
newValue
record component. - next() - Method in class com.dua3.utility.data.FilterIterator
- next() - Method in class com.dua3.utility.data.PeekIterator
- next(String) - Method in class com.dua3.utility.fx.controls.abstract_builders.PaneBuilder
-
Sets the next string parameter for the builder.
- nextRow() - Method in class com.dua3.utility.io.CsvWriter
-
Moves to the next row in the CSV writer.
- NO_LINE_BREAK - Enum constant in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Formatting hint indicating that no line breaks should be applied neither before nor after the associated tag.
- NO_LINE_THROUGH - Static variable in class com.dua3.utility.text.Style
-
No-Line-through (=no-strikethrough) style.
- NO_UNDERLINE - Static variable in class com.dua3.utility.text.Style
-
No-Underline style.
- NO_WRAP - Enum constant in enum class com.dua3.utility.ui.Graphics.TextWrapping
-
Do not wrap text.
- NO_WRAP - Static variable in record class com.dua3.utility.text.FragmentedText
-
Value to pass for
wrapWidth
to disable automatic wrapping. - node() - Method in class com.dua3.utility.fx.controls.ChoiceInputControl
- node() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
- node() - Method in class com.dua3.utility.fx.controls.FileInput
- node() - Method in interface com.dua3.utility.fx.controls.InputControl
-
Get the
Node
for this input element. - node() - Method in class com.dua3.utility.fx.controls.OptionsPane
- node() - Method in class com.dua3.utility.fx.controls.RadioPane
- node() - Method in class com.dua3.utility.fx.controls.SimpleInputControl
- node() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
- node() - Method in interface com.dua3.utility.fx.icons.Icon
-
Get Node of this icon.
- node(String, String, Node) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled custom node to the grid.
- node(String, String, Node) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- node(String, String, Node) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- node(String, String, Node) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- node(String, Node) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add an unlabeled custom node to the grid.
- node(String, Node) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- node(String, Node) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- node(String, Node) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- nodeBuilder() - Method in record class com.dua3.utility.fx.controls.PinBoard.Item
-
Returns the value of the
nodeBuilder
record component. - NodeBuilder<N,
B> - Class in com.dua3.utility.fx.controls.abstract_builders -
An abstract base class for building nodes, providing a fluent API for configuring and creating instances of the node type specified by the generic parameter
N
. - NodeBuilder(Supplier<? extends N>) - Constructor for class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Constructs a new instance of the NodeBuilder class using the specified factory.
- nodeStream(NodeList) - Method in class com.dua3.utility.xml.XmlUtil
-
Convert
NodeList
toStream<Node>
. - NON_ZERO - Enum constant in enum class com.dua3.utility.math.geometry.FillRule
-
Non-zero rule: A point is considered inside the path if a ray pointing away from the point intersects at least once with the path, and outside otherwise.
- none() - Static method in class com.dua3.utility.text.TextAttributes
-
Empty TextAttributes instance.
- NONE - Enum constant in enum class com.dua3.utility.io.OpenMode
-
None of reading and writing.
- nonEmptyOr(T, T) - Static method in class com.dua3.utility.text.TextUtil
-
Returns the given character sequence if it is not
null
or empty, otherwise returns the specified value. - nopTaskUpdater() - Static method in interface com.dua3.utility.concurrent.ProgressTracker
-
Create a no-op task updater.
- nopTracker() - Static method in interface com.dua3.utility.concurrent.ProgressTracker
-
A 'no-operation' ProgressTracker implementation to be used as a dummy.
- NORMAL - Static variable in class com.dua3.utility.text.Style
-
Normal (=not bold) style.
- normalize(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Normalizes the given character sequence by applying Unicode normalization in NFKC form and normalizing line endings.
- normalized() - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Normalizes the vector to a unit vector by dividing each component by its length.
- normalizeDegrees(double) - Static method in class com.dua3.utility.math.MathUtil
-
Normalizes the given angle in radians to the range [0, 360).
- normalizeDocumentNameSpaces(Document...) - Static method in class com.dua3.utility.xml.XmlUtil
-
Normalizes the namespaces of the given documents by creating a consistent namespace mapping.
- normalizeEmail(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Normalizes an email address by performing the following transformations: 1.
- normalizeLineEnds(String) - Static method in class com.dua3.utility.text.TextUtil
-
Convert all line ends to '\n'.
- normalizeRadians(double) - Static method in class com.dua3.utility.math.MathUtil
-
Normalizes the given angle in radians to the range [0, 2Ï€).
- numberFormat - Variable in class com.dua3.utility.io.CsvIo
-
The NumberFormat used for formatting numbers.
- numberOfControls() - Method in class com.dua3.utility.math.geometry.AbstractCurve2f
-
Get the number of control points.
O
- ObjectCache - Class in com.dua3.utility.data
-
A simple object cache used to avoid holding unnecessary instances of classes with value semantics in memory.
- ObjectCache() - Constructor for class com.dua3.utility.data.ObjectCache
-
Initializes a new instance of the ObjectCache class.
- octantDegrees(double) - Static method in class com.dua3.utility.math.MathUtil
-
Determines the octant number (1-based) of an angle given in degrees.
- octantIndexDegrees(double) - Static method in class com.dua3.utility.math.MathUtil
-
Determines the octant index (0-based) of an angle given in degrees.
- octantIndexRadians(double) - Static method in class com.dua3.utility.math.MathUtil
-
Determines the octant index (0-based) of an angle given in radians.
- octantRadians(double) - Static method in class com.dua3.utility.math.MathUtil
-
Determines the octant number (1-based) of an angle given in radians.
- of(float) - Static method in record class com.dua3.utility.math.geometry.Scale2f
-
Creates a new
Scale2f
object with the specified uniform scaling factor. - of(float, float) - Static method in record class com.dua3.utility.math.geometry.Dimension2f
-
Get instance.
- of(float, float) - Static method in record class com.dua3.utility.math.geometry.Scale2f
-
Creates a new
Scale2f
instance with specified scaling factors. - of(float, float) - Static method in record class com.dua3.utility.math.geometry.Vector2f
-
Create instance from coordinate values.
- of(float, float, float, float) - Static method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Create rectangle from coordinates and dimension.
- of(Pair<String, ?>...) - Static method in class com.dua3.utility.text.TextAttributes
-
Construct instance with attributes.
- of(Vector2f, Dimension2f) - Static method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Create rectangle from corner and dimension.
- of(Arguments.Entry<?>...) - Static method in class com.dua3.utility.options.Arguments
-
Create an instance.
- of(Iterable<Pair<String, ?>>) - Static method in class com.dua3.utility.text.TextAttributes
-
Construct style with attributes.
- of(Lock) - Static method in class com.dua3.utility.concurrent.AutoLock
-
Creates an
AutoLock
instance and acquires the specified lock immediately. - of(Lock, String) - Static method in class com.dua3.utility.concurrent.AutoLock
-
Creates an
AutoLock
instance and acquires the specified lock immediately. - of(Lock, Supplier<String>) - Static method in class com.dua3.utility.concurrent.AutoLock
-
Creates an
AutoLock
instance for the specifiedLock
and a name supplier. - of(Supplier<? extends T>) - Static method in class com.dua3.utility.io.SoftResource
-
Create a soft resource.
- of(Map.Entry<? extends T1, ? extends T2>) - Static method in record class com.dua3.utility.data.Pair
-
Create a Pair.
- of(Map<String, Object>) - Static method in class com.dua3.utility.text.TextAttributes
-
Construct style with attributes.
- of(Document) - Static method in record class com.dua3.utility.xml.XmlUtil.DocumentWithNamespace
-
Creates a new instance of
DocumentWithNamespace
from the givenDocument
. - of(T...) - Static method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
-
Creates a new instance of
ImmutableListBackedSortedSet
containing the specified elements. - of(T1, T2) - Static method in record class com.dua3.utility.data.Pair
-
Create a Pair.
- ofArray(T1, T2...) - Static method in record class com.dua3.utility.data.Pair
-
Create a Pair.
- ofBoolean(String, String, String, Param.Required) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param<Boolean>
instance configured to handle boolean parameter values. - ofConstants(String, String, String, Param.Required, Class<T>, Converter<String, T>, List<T>) - Static method in record class com.dua3.utility.options.Param
-
Creates a parameter that accepts only a predefined set of constant values.
- ofConstants(String, String, String, Param.Required, Class<T>, List<T>) - Static method in record class com.dua3.utility.options.Param
-
Creates a parameter instance with a list of predefined constant values.
- ofDouble(String, String, String, Param.Required) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param<Double>
instance configured to handle double parameter values. - ofEnum(String, String, String, Param.Required, Class<T>) - Static method in record class com.dua3.utility.options.Param
-
Creates a parameter of an enum type with the specified attributes.
- ofInt(String, String, String, Param.Required) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param<Integer>
instance configured to handle integer parameter values. - ofInt(String, String, String, Param.Required, Predicate<Integer>) - Static method in record class com.dua3.utility.options.Param
-
Creates a new integer parameter with validation.
- ofList(String, String, String, Converter<String, T>, Repetitions) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param
instance that represents a parameter expecting a list of values with specified validation constraints. - ofLong(String, String, String, Param.Required) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param<Long>
instance configured to handle long parameter values. - ofNonNull(T1, T2) - Static method in record class com.dua3.utility.data.Pair
-
Create a Pair.
- ofObject(String, String, String, Param.Required, Class<T>, Converter<String, T>) - Static method in record class com.dua3.utility.options.Param
-
Creates a new instance of
Param
for an object parameter. - ofPath(String, String, String, Param.Required) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param<Path>
instance configured to handlePath
parameter values. - ofPath(String, String, String, Param.Required, Predicate<Path>) - Static method in record class com.dua3.utility.options.Param
- ofString(String, String, String, Param.Required) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param<String>
instance configured to handle string parameter values. - ofString(String, String, String, Param.Required, String) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param<String>
instance configured to handle string parameter values with an additional validation regex pattern. - ofString(String, String, String, Param.Required, Predicate<String>) - Static method in record class com.dua3.utility.options.Param
-
Creates a
Param<String>
instance configured to handle string parameter values with an additional validation predicate. - ofStrings(String, String, String, Repetitions) - Static method in record class com.dua3.utility.options.Param
-
Creates a parameter for a list of strings, taking in display name, description, argument name, and repetition rules.
- ofUri(String, String, String, Param.Required) - Static method in record class com.dua3.utility.options.Param
-
Creates a parameter of type URI with the specified configurations.
- ofUri(String, String, String, Param.Required, Predicate<URI>) - Static method in record class com.dua3.utility.options.Param
-
Creates a new parameter of type URI with the specified properties.
- ok(Control) - Static method in record class com.dua3.utility.fx.ValidationResult
-
Creates a ValidationResult with an OK level and an empty message for the given control.
- OK - Enum constant in enum class com.dua3.utility.fx.ValidationResult.Level
-
Represents a successful or valid result in the validation process.
- OLDLACE - Static variable in interface com.dua3.utility.data.Color
-
The color OLDLACE.
- oldValue() - Method in record class com.dua3.utility.text.TagBasedConverter.AttributeChange
-
Returns the value of the
oldValue
record component. - OLIVE - Static variable in interface com.dua3.utility.data.Color
-
The color OLIVE.
- OLIVEDRAB - Static variable in interface com.dua3.utility.data.Color
-
The color OLIVEDRAB.
- onAdd() - Method in class com.dua3.utility.io.FileType
-
This method is called when the file type is added to the repository.
- onChange(DoubleConsumer) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets a callback to be invoked when the value of the slider changes.
- ONE_MINUS_ONE - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The vector (1,-1).
- ONE_ONE - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The vector (1,1).
- ONE_OR_MORE - Static variable in record class com.dua3.utility.options.Repetitions
-
A predefined
Repetitions
instance representing one or more repetitions. - ONE_ZERO - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The vector (1,0).
- open() - Method in interface com.dua3.utility.text.HtmlTag
-
Get text for the opening tag.
- OPEN - Enum constant in enum class com.dua3.utility.fx.controls.FileDialogMode
-
Represents the mode of a file dialog where the user can open an existing file.
- OPEN_TAG - Enum constant in enum class com.dua3.utility.text.HtmlTag.TagType
-
Identifies an opening HTML tag.
- openFile(Stage, Class<T>, FileType<? extends T>) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Opens a file selection dialog for the user to choose a file, with support for filtering by file types.
- openInputStream(URI) - Static method in class com.dua3.utility.io.IoUtil
-
Open InputStream for URI-
- OpenMode - Enum Class in com.dua3.utility.io
-
Mode for opening files.
- option() - Method in record class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel.OptionInput
-
Returns the value of the
option
record component. - Option<T> - Class in com.dua3.utility.options
-
Represents a command-line or configurable option with various attributes.
- Option(String, String, Repetitions, Class<T>, String[], Function<Object[], T>, Supplier<T>, Consumer<T>, List<Param<?>>, List<Param<?>>) - Constructor for class com.dua3.utility.options.Option
-
Constructs an Option with the specified properties.
- OPTION_CHARSET - Static variable in class com.dua3.utility.io.IoOptions
-
Represents an option for specifying the character encoding to be used in various text-based operations.
- OPTION_DATE_TIME_FORMAT - Static variable in class com.dua3.utility.io.IoOptions
-
Represents an option for specifying the date and time format to be used in various operations.
- OPTION_FIELD_SEPARATOR - Static variable in class com.dua3.utility.io.IoOptions
-
Defines an option for specifying the field separator character.
- OPTION_INPUT - Static variable in class com.dua3.utility.io.IoOptions
-
A predefined constant representing the input path option.
- OPTION_LOCALE - Static variable in class com.dua3.utility.io.IoOptions
-
Represents an option for specifying the
Locale
to be used in various operations. - OPTION_OUTPUT - Static variable in class com.dua3.utility.io.IoOptions
-
An option for specifying the output path.
- OPTION_TEXT_DELIMITER - Static variable in class com.dua3.utility.io.IoOptions
-
Represents an optional configuration for specifying the character used as a text delimiter in input or output operations.
- OPTION_TYPE - Static variable in class com.dua3.utility.db.JdbcDriverInfo
-
Identifier String for the option type.
- OPTION_TYPE_DOUBLE - Static variable in class com.dua3.utility.db.JdbcDriverInfo
-
Type identifier String for double options.
- OPTION_TYPE_INTEGER - Static variable in class com.dua3.utility.db.JdbcDriverInfo
-
Type identifier String for integer options.
- OPTION_TYPE_PATH - Static variable in class com.dua3.utility.db.JdbcDriverInfo
-
Type identifier String for file options.
- OPTION_TYPE_STRING - Static variable in class com.dua3.utility.db.JdbcDriverInfo
-
Type identifier String for string options.
- OPTIONAL - Enum constant in enum class com.dua3.utility.options.Param.Required
-
Indicates that a value is optional.
- optionalParam(Param<?>...) - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Sets the parameters of this option.
- optionalParam(Param<?>...) - Method in class com.dua3.utility.options.OptionBuilder
- optionBuilder(String, String, Class<T>) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Creates a new
OptionBuilder
that will add the created flag to this builder when itsbuild()
method is called. - OptionBuilder<T> - Class in com.dua3.utility.options
-
A generic builder class used to define and configure options.
- OptionBuilder(ArgumentsParserBuilder, String, String, Class<T>) - Constructor for class com.dua3.utility.options.OptionBuilder
-
Constructs an instance of OptionBuilder with the provided parameters.
- OptionException - Exception Class in com.dua3.utility.options
-
Exception class to throw when command line arguments and/or values for configuration options do not match the allowed values defined by the option/parser.
- OptionException(Option<?>, String) - Constructor for exception class com.dua3.utility.options.OptionException
-
Constructor.
- OptionException(Option<?>, String, Exception) - Constructor for exception class com.dua3.utility.options.OptionException
-
Constructor.
- OptionInput(Option<?>, JComponent, Supplier<List<String>>, Consumer<Collection<String>>) - Constructor for record class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel.OptionInput
-
Creates an instance of a
OptionInput
record class. - options - Variable in class com.dua3.utility.db.JdbcDriverInfo
-
This driver's options.
- options() - Method in class com.dua3.utility.options.ArgumentsParser
-
Get all options defined for this parser.
- options(String, String, Supplier<Arguments>, Supplier<Collection<Option<?>>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled pane with options.
- options(String, String, Supplier<Arguments>, Supplier<Collection<Option<?>>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- options(String, String, Supplier<Arguments>, Supplier<Collection<Option<?>>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- options(String, String, Supplier<Arguments>, Supplier<Collection<Option<?>>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- options(String, Supplier<Arguments>, Supplier<Collection<Option<?>>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add an unlabeled pane with options.
- options(String, Supplier<Arguments>, Supplier<Collection<Option<?>>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- options(String, Supplier<Arguments>, Supplier<Collection<Option<?>>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- options(String, Supplier<Arguments>, Supplier<Collection<Option<?>>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- options(Collection<Option<?>>) - Method in class com.dua3.utility.fx.controls.OptionsDialogBuilder
-
Set options.
- options(Window) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start the definition of a new
OptionsDialog
. - OptionsDialog - Class in com.dua3.utility.fx.controls
-
A Dialog for inputting values.
- OptionsDialog() - Constructor for class com.dua3.utility.fx.controls.OptionsDialog
-
Constructs an OptionsDialog with OK and Cancel buttons and a result converter.
- OptionsDialogBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Alert Dialogs.
- OptionsPane - Class in com.dua3.utility.fx.controls
-
OptionsPane is a custom JavaFX GridPane used as a control element for managing a collection of options represented by instances of the
Option
class. - OptionsPane(Collection<Option<?>>, Arguments) - Constructor for class com.dua3.utility.fx.controls.OptionsPane
-
Create new OptionsPane.
- OptionsPane(Supplier<? extends Collection<Option<?>>>, Supplier<Arguments>) - Constructor for class com.dua3.utility.fx.controls.OptionsPane
-
Constructs a new OptionsPane with the given suppliers for options and default arguments.
- ORANGE - Static variable in interface com.dua3.utility.data.Color
-
The color ORANGE.
- ORANGERED - Static variable in interface com.dua3.utility.data.Color
-
The color ORANGERED.
- ORCHID - Static variable in interface com.dua3.utility.data.Color
-
The color ORCHID.
- orElse(T, T) - Static method in class com.dua3.utility.lang.LangUtil
-
Return first argument if non-null, second argument otherwise.
- orElseGet(T, Supplier<? extends T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Return first argument if non-null, generate value otherwise.
- orientation(Orientation) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the orientation of the slider.
- ORIGIN - Static variable in record class com.dua3.utility.fx.controls.PinBoard.BoardPosition
-
A constant for the origin with coordinates (0, 0).
- ORIGIN - Static variable in record class com.dua3.utility.fx.controls.ScrollPosition
-
A constant
ScrollPosition
instance representing the origin point (0, 0), where both the horizontal and vertical scroll values are set to 0. - ORIGIN - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The origin of the coordinate space.
- orthogonal(boolean) - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Calculates the orthogonal vector based on the sweep direction.
- osArch() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns the value of the
osArch
record component. - osName() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns the value of the
osName
record component. - osVersion() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns the value of the
osVersion
record component. - output(Supplier<Path>) - Static method in class com.dua3.utility.io.IoOptions
-
Creates an option for specifying the output path.
P
- page(String, B) - Method in class com.dua3.utility.fx.controls.WizardDialogBuilder
-
Adds a page to the wizard dialog.
- Pair<T1,
T2> - Record Class in com.dua3.utility.data -
A pair helper class.
- Pair(T1, T2) - Constructor for record class com.dua3.utility.data.Pair
-
Creates an instance of a
Pair
record class. - PALEGOLDENROD - Static variable in interface com.dua3.utility.data.Color
-
The color PALEGOLDENROD.
- PALEGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color PALEGREEN.
- palette() - Static method in interface com.dua3.utility.data.Color
-
Get a mapping from color name to Color instance.
- PALETURQUOISE - Static variable in interface com.dua3.utility.data.Color
-
The color PALETURQUOISE.
- PALEVIOLETRED - Static variable in interface com.dua3.utility.data.Color
-
The color PALEVIOLETRED.
- PaneBuilder<D,
B, - Class in com.dua3.utility.fx.controls.abstract_buildersR> -
Abstract base for DialogPane builders.
- PaneBuilder() - Constructor for class com.dua3.utility.fx.controls.abstract_builders.PaneBuilder
-
Constructs an instance of the PaneBuilder class.
- pannableProperty() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Returns the pannable property of the PinBoard.
- PAPAYAWHIP - Static variable in interface com.dua3.utility.data.Color
-
The color PAPAYAWHIP.
- param(Param<?>...) - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Sets the parameters of this option.
- param(Param<?>...) - Method in class com.dua3.utility.options.OptionBuilder
- Param<T> - Record Class in com.dua3.utility.options
-
Represents a parameter with a set of attributes, behaviors, and validation rules.
- Param(String, String, String, Class<T>, Converter<String, T>, List<T>, Function<T, Optional<String>>, Param.Required) - Constructor for record class com.dua3.utility.options.Param
-
Represents a parameter with metadata and validation logic for use in a system.
- Param(String, String, String, Class<T>, Converter<String[], T>, List<T>, Function<T, Optional<String>>, Repetitions) - Constructor for record class com.dua3.utility.options.Param
-
Creates an instance of a
Param
record class. - Param.Required - Enum Class in com.dua3.utility.options
-
An enumeration defining whether a value is required or optional.
- params() - Method in class com.dua3.utility.options.Option
-
Retrieves the list of parameters associated with this
Option
. - parent() - Method in class com.dua3.utility.data.FileTreeNode
- parent() - Method in interface com.dua3.utility.data.TreeNode
-
Get this node's parent.
- parse(InputStream) - Method in class com.dua3.utility.xml.XmlUtil
-
Read XML from an
InputStream
and parse it toDocument
. - parse(Reader) - Method in class com.dua3.utility.xml.XmlUtil
-
Read XML from an
InputStream
and parse it toDocument
. - parse(String) - Method in class com.dua3.utility.xml.XmlUtil
-
Parse text to
Document
. - parse(String...) - Method in class com.dua3.utility.options.ArgumentsParser
-
Parse the command line arguments and return an instance of
Arguments
. - parse(URI) - Method in class com.dua3.utility.xml.XmlUtil
-
Parse the content of
file
toDocument
. - parse(Path) - Method in class com.dua3.utility.xml.XmlUtil
-
Parse the content of
path
toDocument
. - parseCssFontDef(String) - Static method in class com.dua3.utility.text.FontDef
-
Parse fontspec.
- parseFontspec(String) - Static method in class com.dua3.utility.text.FontDef
-
Parse fontspec.
- PasswordStrength(double, double, PasswordUtil.StrengthLevel, List<String>) - Constructor for record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Creates an instance of a
PasswordStrength
record class. - PasswordUtil - Class in com.dua3.utility.crypt
-
Utility class for password analysis and generation.
- PasswordUtil.PasswordStrength - Record Class in com.dua3.utility.crypt
-
Contains password strength analysis results.
- PasswordUtil.StrengthLevel - Enum Class in com.dua3.utility.crypt
-
Represents the strength level of a password.
- patch() - Method in record class com.dua3.utility.lang.Version
-
Returns the value of the
patch
record component. - Path2f - Class in com.dua3.utility.math.geometry
-
A path in 2-dimensional space that is defined by joining together different segments.
- PathBuilder2f - Class in com.dua3.utility.math.geometry
-
A builder class for
Path2f
instances. - PATTERN_LINE_END - Static variable in class com.dua3.utility.text.TextUtil
-
Pattern matching line ends (all types).
- pause() - Method in class com.dua3.utility.concurrent.ProgressTracker.TaskUpdater
-
Mark task as paused.
- pause() - Method in interface com.dua3.utility.concurrent.ProgressView.ProgressIndicator
-
Pauses the task.
- pause(T) - Method in interface com.dua3.utility.concurrent.ProgressTracker
-
Pause task.
- pause(T) - Method in class com.dua3.utility.concurrent.ProgressView
- pause(T) - Method in class com.dua3.utility.fx.controls.ProgressView
- pause(T) - Method in class com.dua3.utility.swing.SwingProgressView
- PAUSED - Enum constant in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
Indicates that the task is currently paused.
- PEACHPUFF - Static variable in interface com.dua3.utility.data.Color
-
The color PEACHPUFF.
- peek() - Method in class com.dua3.utility.data.PeekIterator
-
Peek next element.
- PeekIterator<T> - Class in com.dua3.utility.data
-
A peekable Iterator implementation.
- PeekIterator(Iterator<? extends T>) - Constructor for class com.dua3.utility.data.PeekIterator
-
Construct a new PeekIterator.
- PERU - Static variable in interface com.dua3.utility.data.Color
-
The color PERU.
- PI - Static variable in class com.dua3.utility.math.MathUtil
-
The mathematical constant π (pi), defined as the ratio of a circle's circumference to its diameter.
- PI_DIV_180 - Static variable in class com.dua3.utility.math.MathUtil
-
Represents the constant π/180 (in degrees: 1°).
- PI_HALF - Static variable in class com.dua3.utility.math.MathUtil
-
Represents the constant π/2 (in degrees: 90°).
- PI_QUARTER - Static variable in class com.dua3.utility.math.MathUtil
-
Represents the constant π/2 (in degrees: 45°).
- pin(PinBoard.Item) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Pins the given item or collection of items to the PinBoard and refreshes the layout.
- pin(PinBoard.Item, boolean) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Pins the given item or collection of items to the PinBoard and optionally refreshes the layout.
- pin(Collection<PinBoard.Item>) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Pins the given collection of items to the PinBoard and refreshes the skin.
- pin(Collection<PinBoard.Item>, boolean) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Pins the given collection of items to the PinBoard and optionally refreshes the skin.
- PinBoard - Class in com.dua3.utility.fx.controls
-
A JavaFX component where items can be pinned at a position.
- PinBoard() - Constructor for class com.dua3.utility.fx.controls.PinBoard
-
Default constructor.
- PinBoard.BoardPosition - Record Class in com.dua3.utility.fx.controls
-
The Position class represents a position on a PinBoard relative to the pin board's coordinate system.
- PinBoard.Item - Record Class in com.dua3.utility.fx.controls
-
The Item class represents an item on a PinBoard.
- PinBoard.PositionInItem - Record Class in com.dua3.utility.fx.controls
-
The PositionInItem class represents the position within an item on a PinBoard.
- pinBottom(String, Supplier<Node>, Dimension2D) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Add item at the bottom, centered horizontally.
- pinBottom(String, Supplier<Node>, Dimension2D, boolean) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Add item at the bottom, centered horizontally.
- PINK - Static variable in interface com.dua3.utility.data.Color
-
The color PINK.
- Platform - Enum Class in com.dua3.utility.lang
-
Enumeration for the different Platforms/Operating systems.
- PlatformHelper - Class in com.dua3.utility.fx
-
The PlatformHelper class provides utility methods for performing tasks on the JavaFX application thread.
- PLUM - Static variable in interface com.dua3.utility.data.Color
-
The color PLUM.
- pop(Style) - Method in class com.dua3.utility.text.RichTextBuilder
-
Pop style that has been set using
RichTextBuilder.push(Style)
. - pop(String) - Method in class com.dua3.utility.text.RichTextBuilder
-
Pop attribute that has been set using
RichTextBuilder.push(String, Object)
. - Position - Enum Class in com.dua3.utility.fx.controls
-
Enumeration representing the possible positions of borders and edges.
- positionalArgs() - Method in class com.dua3.utility.options.Arguments
-
Get positional arguments.
- positionalArgs(int, int) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Sets the range and display name for the positional arguments.
- positionalArgs(int, int, String...) - Method in class com.dua3.utility.options.ArgumentsParserBuilder
-
Sets the range and display name for the positional arguments.
- PositionInItem(PinBoard.Item, double, double) - Constructor for record class com.dua3.utility.fx.controls.PinBoard.PositionInItem
-
Creates an instance of a
PositionInItem
record class. - pow10(int) - Static method in class com.dua3.utility.math.MathUtil
-
Calculate powers of 10.
- POWDERBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color POWDERBLUE.
- PredefinedDateTimeFormat - Enum Class in com.dua3.utility.io
-
The PredefinedDateTimeFormat class defines a set of predefined date and time formats.
- prefHeight(double) - Method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Sets the preferred height of the node being built.
- prefSize(double, double) - Method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Sets the preferred width and height for the node being built.
- prefWidth(double) - Method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Sets the preferred width for the node being built.
- PRESERVE - Enum constant in enum class com.dua3.utility.crypt.InputBufferHandling
-
Preserve the input buffer unchanged after use.
- prettyPrint(OutputStream, String) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print XML.
- prettyPrint(OutputStream, String, Charset) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print XML.
- prettyPrint(OutputStream, Document) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print W3C Document.
- prettyPrint(OutputStream, Document, Charset) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print W3C Document.
- prettyPrint(Writer, String) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print XML.
- prettyPrint(Writer, Document) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print W3C Document.
- prettyPrint(String) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print XML.
- prettyPrint(Document) - Method in class com.dua3.utility.xml.XmlUtil
-
Pretty print W3C Document.
- PROGRESS_INDETERMINATE - Static variable in class com.dua3.utility.concurrent.ProgressView
-
Value to pass to
ProgressView.ProgressIndicator.update(double)
for an indeterminate progress. - ProgressTracker<T> - Interface in com.dua3.utility.concurrent
-
Interface for progress tracking.
- ProgressTracker.State - Enum Class in com.dua3.utility.concurrent
-
Task status.
- ProgressTracker.TaskUpdater - Class in com.dua3.utility.concurrent
-
Task Updater.
- ProgressView<T> - Class in com.dua3.utility.concurrent
-
View of task progress.
- ProgressView<T> - Class in com.dua3.utility.fx.controls
-
ProgressView is a UI component that displays the progress of tasks in a grid layout.
- ProgressView() - Constructor for class com.dua3.utility.fx.controls.ProgressView
-
Constructs a new ProgressView object.
- ProgressView(Function<? super T, ? extends ProgressView.ProgressIndicator>) - Constructor for class com.dua3.utility.concurrent.ProgressView
-
Constructs a new ProgressView object.
- ProgressView.ProgressIndicator - Interface in com.dua3.utility.concurrent
-
Indicator for a single task's progress.
- prompt(Window) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new prompt dialog.
- PromptBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Alert Dialogs.
- promptPane() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new prompt pane.
- PromptPane - Class in com.dua3.utility.fx.controls
-
A specialized dialog pane for prompting the user to input a string value.
- PromptPane() - Constructor for class com.dua3.utility.fx.controls.PromptPane
-
Constructs a new PromptPane.
- PromptPaneBuilder - Class in com.dua3.utility.fx.controls
-
Builder for Prompt Panes.
- PropertyConverter - Class in com.dua3.utility.fx
-
A utility class for converting properties between different types while maintaining synchronization between the original and converted properties.
- PROPORTIONAL - Enum constant in enum class com.dua3.utility.text.FontType
-
Represents a font type where the spacing between characters is proportional to their widths.
- PROPORTIONAL - Enum constant in enum class com.dua3.utility.text.FontUtil.FontTypes
-
Enum value for proportional fonts.
- pt2mm(double) - Static method in class com.dua3.utility.text.TextUtil
-
Convert pt to mm.
- PURPLE - Static variable in interface com.dua3.utility.data.Color
-
The color PURPLE.
- push(Style) - Method in class com.dua3.utility.text.RichTextBuilder
-
Push style.
- push(String, Object) - Method in class com.dua3.utility.text.RichTextBuilder
-
Push attribute.
- put(K, V) - Method in class com.dua3.utility.lang.CompactableSortedMap
- put(K, V) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- put(T) - Method in class com.dua3.utility.lang.RingBuffer
-
Add an item at the end of this collection.
- putAll(Map<? extends K, ? extends V>) - Method in class com.dua3.utility.lang.CompactableSortedMap
- putAll(Map<? extends K, ? extends V>) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- putAll(Map<? super K, ? super V>, Map.Entry<K, V>...) - Static method in class com.dua3.utility.lang.LangUtil
-
Insert key-value pairs into map, replacing existing mappings.
- putAllIfAbsent(Map<? super K, ? super V>, Map.Entry<K, V>...) - Static method in class com.dua3.utility.lang.LangUtil
-
Insert key-value pairs into map, not overwriting existing mappings.
- putFontProperties(Map<? super String, Object>, Font) - Static method in interface com.dua3.utility.text.RichTextConverter
-
Add font properties of to a properties map.
Q
- quadrantDegrees(double) - Static method in class com.dua3.utility.math.MathUtil
-
Determines the quadrant number (1-based) of an angle given in degrees.
- quadrantIndexDegrees(double) - Static method in class com.dua3.utility.math.MathUtil
-
Determines the quadrant index (0-based) of an angle given in degrees.
- quadrantIndexRadians(double) - Static method in class com.dua3.utility.math.MathUtil
-
Determines the quadrant index (0-based) of an angle given in radians.
- quadrantRadians(double) - Static method in class com.dua3.utility.math.MathUtil
-
Determines the quadrant number (1-based) of an angle given in radians.
- quote(String) - Method in class com.dua3.utility.io.CsvIo
-
Surrounds a string with quotes.
- quote(String) - Static method in class com.dua3.utility.text.TextUtil
-
Surrounds a string with quotes and escapes control characters according to Java conventions.
- quoteIfNeeded(String) - Method in class com.dua3.utility.io.CsvIo
-
Returns a quoted string if needed, otherwise returns the original string.
- quoteIfNeeded(String) - Static method in class com.dua3.utility.text.TextUtil
-
Returns a quoted string if needed, otherwise returns the original string.
- quoteProcessBuilderArg(String) - Method in enum class com.dua3.utility.lang.Platform
-
Quote argument for
ProcessBuilder
.
R
- r() - Method in record class com.dua3.utility.data.RGBColor
-
Get red component of color.
- rad(double) - Static method in class com.dua3.utility.math.MathUtil
-
Converts an angle measured in degrees to an equivalent angle measured in radians.
- radf(float) - Static method in class com.dua3.utility.math.MathUtil
-
Converts an angle measured in degrees to an equivalent angle measured in radians.
- radioList(String, String, Supplier<T>, Class<T>, Collection<T>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled list of radiobuttons.
- radioList(String, String, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Creates a radio list component.
- radioList(String, String, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- radioList(String, String, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- radioList(String, String, Supplier<T>, Class<T>, Collection<T>, Function<T, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- RadioPane<T> - Class in com.dua3.utility.fx.controls
-
A custom control pane that arranges radio buttons vertically.
- RadioPane(Collection<T>, T, Function<T, Optional<String>>) - Constructor for class com.dua3.utility.fx.controls.RadioPane
-
Constructs a RadioPane with a given set of items, current value, and validation function.
- RandomUtil - Class in com.dua3.utility.crypt
-
Utility class for secure random number generation.
- read(URI) - Method in class com.dua3.utility.io.FileType
-
Read document from file.
- read(URI, Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Read data.
- read(URI, Class<T>, Function<FileType<? extends T>, Arguments>) - Static method in class com.dua3.utility.io.FileType
-
Read data.
- read(URI, Charset) - Static method in class com.dua3.utility.io.IoUtil
-
Read content of URI into String.
- read(URI, Function<FileType<? extends T>, Arguments>) - Method in class com.dua3.utility.io.FileType
-
Read document from file.
- read(URL, Charset) - Static method in class com.dua3.utility.io.IoUtil
-
Read content of URL into String.
- read(Path) - Method in class com.dua3.utility.io.FileType
-
Read document from file.
- read(Path, Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Read data.
- read(Path, Class<T>, Function<FileType<? extends T>, Arguments>) - Static method in class com.dua3.utility.io.FileType
-
Read data.
- read(Path, Function<FileType<? extends T>, Arguments>) - Method in class com.dua3.utility.io.FileType
-
Read document from file.
- READ - Enum constant in enum class com.dua3.utility.io.OpenMode
-
Open file for reading.
- READ_AND_WRITE - Enum constant in enum class com.dua3.utility.io.OpenMode
-
Open file for reading and/or writing.
- READ_COLUMN_NAMES - Static variable in class com.dua3.utility.io.CsvReader
-
A flag that determines whether the CSV reader should read column names from the CSV data.
- readAll() - Method in class com.dua3.utility.io.CsvReader
-
Reads all rows in a file.
- readColumnNames() - Method in class com.dua3.utility.io.CsvReader
-
Read the column names from the file.
- readerForType(Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Retrieves the first file type that can read the given document class.
- readExternal(ObjectInput) - Method in class com.dua3.utility.logging.LogBuffer
- ReadOnlyValue<T> - Interface in com.dua3.utility.concurrent
-
Represents a read-only value that can be accessed and observed.
- readSome(int) - Method in class com.dua3.utility.io.CsvReader
-
Read some rows of CSV data.
- readX509Certificate(InputStream) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Reads and parses an X.509 certificate from the provided input stream.
- REBECCAPURPLE - Static variable in interface com.dua3.utility.data.Color
-
The color REBECCAPURPLE.
- Rectangle2f - Record Class in com.dua3.utility.math.geometry
-
Immutable rectangle with float coordinates.
- Rectangle2f(float, float, float, float) - Constructor for record class com.dua3.utility.math.geometry.Rectangle2f
-
Constructor.
- RED - Static variable in interface com.dua3.utility.data.Color
-
The color RED.
- RED - Static variable in class com.dua3.utility.text.Style
-
Red text.
- redirectStandardStreams(Path) - Static method in class com.dua3.utility.io.IoUtil
-
Redirect
System.out
andSystem.err
to a file - refineStyleProperties(UnaryOperator<Map<String, Object>>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Set the refineStyleProperties function which refines the style properties of the converted HTML.
- refresh() - Method in class com.dua3.utility.data.FileTreeNode
-
Refreshes the FileTree by invoking the refresh listeners of all its children.
- refresh() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Refreshes the PinBoard skin.
- refresh() - Method in class com.dua3.utility.fx.FxRefresh
-
Request refresh.
- registerCodec(Class<T>, Encoder<? super T>, Decoder<? extends T>) - Method in class com.dua3.utility.io.Codecs
-
Register a codec for a specific class.
- registerForCleanup(Object, Runnable) - Static method in class com.dua3.utility.lang.LangUtil
-
Registers an object and a cleanup action to be executed when the object becomes phantom reachable.
- REGULAR - Static variable in class com.dua3.utility.text.Style
-
Regular style.
- relevantAttributes() - Method in class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Get the list of attributes that are mapped to tags
- remove(Object) - Method in class com.dua3.utility.lang.RingBuffer
- remove(Object) - Method in class com.dua3.utility.lang.CompactableSortedMap
- remove(Object) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- remove(Object) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- remove(Object) - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- removeActionListener(ActionListener) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Removes an ActionListener from the ComboBoxEx.
- removeAll(Collection<?>) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- removeAll(Collection<?>) - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- removeAll(Collection<?>) - Method in class com.dua3.utility.lang.RingBuffer
- removeChangeListener(BiConsumer<? super T, ? super T>) - Method in interface com.dua3.utility.concurrent.ReadOnlyValue
-
Removes a change listener for the given method.
- removeChangeListener(BiConsumer<? super T, ? super T>) - Method in class com.dua3.utility.concurrent.SimpleValue
- removeDecoration(Node, String) - Static method in class com.dua3.utility.fx.controls.Decoration
-
Removes a decoration from the given Node as identified by the specified ID.
- removeFirst() - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- removeFirst() - Method in class com.dua3.utility.lang.RingBuffer
- removeIf(Predicate<? super T>) - Method in class com.dua3.utility.lang.RingBuffer
- removeItemListener(ItemListener) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Removes an ItemListener from the ComboBoxEx.
- removeLast() - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- removeLast() - Method in class com.dua3.utility.lang.RingBuffer
- removeLeading(List<T>, Predicate<? super T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Removes leading elements from the list that satisfy the given predicate.
- removeLeadingAndTrailing(List<T>, Predicate<? super T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Removes elements from the beginning and the end of the specified list that match the given predicate.
- removeLogBufferListener(LogBuffer.LogBufferListener) - Method in class com.dua3.utility.logging.LogBuffer
-
Remove LogBufferListener.
- removeLogEntryHandler(LogEntryHandler) - Method in class com.dua3.utility.logging.log4j.LogAppenderLog4j.LogEntryDispatcherLog4J
- removeLogEntryHandler(LogEntryHandler) - Method in interface com.dua3.utility.logging.LogEntryDispatcher
-
Removes a previously added log entry handler.
- removeLogEntryHandler(LogEntryHandler) - Method in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
- removePopupMenuListener(PopupMenuListener) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Removes a PopupMenuListener from the ComboBoxEx.
- removeRefreshListener(Consumer<T>) - Method in class com.dua3.utility.data.FileTreeNode
-
Removes the specified refresh listener from the list of refresh listeners.
- removeTaskTracker(FxTaskTracker) - Method in class com.dua3.utility.fx.FxService
-
Removes an FxTaskTracker from the list of task trackers.
- removeTrailing(List<T>, Predicate<? super T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Removes trailing elements from the provided list that match the given predicate.
- removeUpdate(DocumentEvent) - Method in interface com.dua3.utility.swing.SwingDocumentListener
- renderText(Vector2f, RichText, Graphics.HAnchor, Graphics.VAnchor, Alignment, VerticalAlignment, Dimension2f, Graphics.TextWrapping) - Method in interface com.dua3.utility.ui.Graphics
-
Renders the given text at the specified position with alignment, anchoring, and wrapping options.
- renderText(Vector2f, RichText, Graphics.HAnchor, Graphics.VAnchor, Alignment, VerticalAlignment, Dimension2f, Graphics.TextWrapping, double, Graphics.TextRotationMode) - Method in interface com.dua3.utility.ui.Graphics
-
Renders the given text within the specified bounding rectangle using the provided font, alignment, wrapping, and rotation settings.
- repetitions() - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Retrieves the repetitions constraint for this option.
- repetitions() - Method in class com.dua3.utility.options.Option
-
Retrieves the
Repetitions
instance associated with thisOption
. - repetitions(Repetitions) - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Sets the repetitions constraint for this option.
- repetitions(Repetitions) - Method in class com.dua3.utility.options.FlagBuilder
- repetitions(Repetitions) - Method in class com.dua3.utility.options.OptionBuilder
- Repetitions - Record Class in com.dua3.utility.options
-
Represents a range of repetitions with a minimum and maximum value.
- Repetitions(int, int) - Constructor for record class com.dua3.utility.options.Repetitions
-
Represents a range of repetitions defined by a minimum and a maximum value.
- replace(DocumentFilter.FilterBypass, int, int, String, AttributeSet) - Method in class com.dua3.utility.swing.SwingDocumentFilter
- replaceAll(CharSequence) - Method in class com.dua3.utility.text.RichTextMatcher
-
Replaces all occurrences of the pattern in the input sequence with the specified replacement.
- replaceAll(String, RichText) - Method in class com.dua3.utility.text.RichText
-
Replaces each substring of this RichText that matches the given regular expression with the specified RichText replacement.
- replaceAll(String, String) - Method in class com.dua3.utility.text.RichText
-
Replaces every occurrence of the specified regular expression in the text with the given replacement string.
- replaceExtension(String, String) - Static method in class com.dua3.utility.io.IoUtil
-
Replace file extension.
- replaceExtension(Path, String) - Static method in class com.dua3.utility.io.IoUtil
-
Replace the file extension.
- replaceFirst(CharSequence) - Method in class com.dua3.utility.text.RichTextMatcher
-
Replaces the first occurrence of the pattern in the input sequence with the specified replacement.
- replaceFirst(String, RichText) - Method in class com.dua3.utility.text.RichText
-
Replaces the first substring of this RichText that matches the given regular expression with the specified replacement RichText.
- replaceFirst(String, String) - Method in class com.dua3.utility.text.RichText
-
Replaces the first substring of this RichText object that matches the given regular expression with the specified replacement string.
- replaceMapping(String, Function<Object, HtmlTag>) - Static method in class com.dua3.utility.text.HtmlConverter
-
Set the mapper for a specific attribute.
- requestFocus() - Method in class com.dua3.utility.fx.controls.RadioPane
- REQUIRED - Enum constant in enum class com.dua3.utility.options.Param.Required
-
Indicates that a value is required.
- requireInInterval(double, double, double) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if a given value is within a specified interval.
- requireInInterval(double, double, double, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is within the specified interval and throws an exception if it is not.
- requireInInterval(float, float, float) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if a given value is within a specified interval.
- requireInInterval(float, float, float, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is within the specified interval and throws an exception if it is not.
- requireInInterval(int, int, int) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is within the specified interval.
- requireInInterval(int, int, int, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Ensures that the given value is within the specified interval.
- requireInInterval(long, long, long) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if a given value is within a specified interval.
- requireInInterval(long, long, long, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is within the specified interval and throws an exception if it is not.
- requireInInterval(short, short, short) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is within the specified interval.
- requireInInterval(short, short, short, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Ensures that the given value is within the specified interval.
- requireNegative(double) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is a negative number.
- requireNegative(double, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Throws an IllegalArgumentException if the specified value is not negative.
- requireNegative(float) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is a negative number.
- requireNegative(float, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Throws an IllegalArgumentException if the specified value is not negative.
- requireNegative(int) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the negative value of the given integer value.
- requireNegative(int, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the negative value of the given integer if it is not already negative.
- requireNegative(long) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is a negative number.
- requireNegative(long, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Throws an IllegalArgumentException if the specified value is not negative.
- requireNegative(short) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the negative value of the given integer value.
- requireNegative(short, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the negative value of the given integer if it is not already negative.
- requireNonNegative(double) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the given value if it is non-negative, otherwise throws an IllegalArgumentException with a specified error message.
- requireNonNegative(double, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Ensures that a given long value is non-negative.
- requireNonNegative(float) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the given value if it is non-negative, otherwise throws an IllegalArgumentException with a specified error message.
- requireNonNegative(float, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Ensures that a given long value is non-negative.
- requireNonNegative(int) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is non-negative.
- requireNonNegative(int, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is a non-negative integer.
- requireNonNegative(long) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the given value if it is non-negative, otherwise throws an IllegalArgumentException with a specified error message.
- requireNonNegative(long, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Ensures that a given long value is non-negative.
- requireNonNegative(short) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is non-negative.
- requireNonNegative(short, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is a non-negative integer.
- requirePositive(double) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the specified value if it is greater than 0.
- requirePositive(double, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is positive.
- requirePositive(float) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the specified value if it is greater than 0.
- requirePositive(float, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is positive.
- requirePositive(int) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the given value if it is a positive integer.
- requirePositive(int, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the absolute value of the given integer if it is positive.
- requirePositive(long) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the specified value if it is greater than 0.
- requirePositive(long, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Checks if the given value is positive.
- requirePositive(short) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the given value if it is a positive integer.
- requirePositive(short, String, Object...) - Static method in class com.dua3.utility.lang.LangUtil
-
Returns the absolute value of the given integer if it is positive.
- requiresIv() - Method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Checks if this algorithm requires an initialization vector (IV).
- reset() - Method in class com.dua3.utility.fx.controls.ChoiceInputControl
- reset() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
- reset() - Method in class com.dua3.utility.fx.controls.FileInput
- reset() - Method in interface com.dua3.utility.fx.controls.InputControl
-
Reset value to default
- reset() - Method in class com.dua3.utility.fx.controls.InputControl.State
-
Resets the state to its default value.
- reset() - Method in class com.dua3.utility.fx.controls.InputGrid
-
Resets all input controls in the grid to their default values.
- reset() - Method in class com.dua3.utility.fx.controls.OptionsPane
- reset() - Method in class com.dua3.utility.fx.controls.RadioPane
- reset() - Method in class com.dua3.utility.fx.controls.SimpleInputControl
- reset() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
- reset() - Method in class com.dua3.utility.fx.FxGraphics
- reset() - Static method in class com.dua3.utility.io.AnsiCode
-
Reset.
- reset() - Method in class com.dua3.utility.swing.SwingGraphics
- reset() - Method in interface com.dua3.utility.ui.Graphics
-
Resets the state of the object and clears it to a transparent color.
- reset(boolean) - Static method in class com.dua3.utility.text.AnsiConverter
-
Send RESET sequence at beginning.
- RESET - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: reset.
- resetClip() - Method in class com.dua3.utility.fx.FxGraphics
- resetClip() - Method in class com.dua3.utility.swing.SwingGraphics
- resetClip() - Method in interface com.dua3.utility.ui.Graphics
-
Resets the clipping area to the default state.
- resolve(String) - Method in class com.dua3.utility.io.FileSystemView
-
Resolve path.
- resultHandler() - Method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Returns the value of the
resultHandler
record component. - resultHandler(DialogPaneBuilder.ResultHandler<R>) - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Sets the result handler for this dialog pane builder.
- retainAll(Collection<?>) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- retainAll(Collection<?>) - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- retainAll(Collection<?>) - Method in class com.dua3.utility.lang.RingBuffer
- reverse(boolean) - Static method in class com.dua3.utility.io.AnsiCode
-
Set reverse video output.
- REVERSE_VIDEO_OFF - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: disable REVERSE video output.
- REVERSE_VIDEO_ON - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: enable REVERSE video output.
- reversed() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- reversed() - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- reversed() - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- reversed() - Method in class com.dua3.utility.lang.RingBuffer
- ReversedSequencedCollectionWrapper<T> - Class in com.dua3.utility.lang
-
A wrapper class that reverses the order of elements in a
SequencedCollection
. - ReversedSequencedCollectionWrapper(SequencedCollection<T>) - Constructor for class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
-
Constructs a new
ReversedSequencedCollectionWrapper
that wraps the specifiedSequencedCollection
. - reverseInPlace(T[]) - Static method in class com.dua3.utility.lang.LangUtil
-
Reverses the elements of the given array in place.
- reverseInPlace(T[], int, int) - Static method in class com.dua3.utility.lang.LangUtil
-
Reverses the elements of the specified array within the given range in place.
- reverseVideo(boolean) - Static method in class com.dua3.utility.text.AnsiConverter
-
Enable reverse video for output.
- rf() - Method in record class com.dua3.utility.data.RGBColor
-
Get red component of color.
- rgb(int) - Static method in record class com.dua3.utility.data.RGBColor
-
Create color from RGB value.
- rgb(int, int, int) - Static method in interface com.dua3.utility.data.Color
-
Create color from RGB values.
- rgba() - Method in interface com.dua3.utility.data.Color
-
Get the color value as an integer in RGBA order.
- rgba(int, int, int, int) - Static method in interface com.dua3.utility.data.Color
-
Create color from RGBA values.
- rgbaF(float, float, float, float) - Static method in interface com.dua3.utility.data.Color
-
Create color from RGB values.
- RGBColor - Record Class in com.dua3.utility.data
-
Color in ARGB format.
- RGBColor(int) - Constructor for record class com.dua3.utility.data.RGBColor
-
Creates an instance of a
RGBColor
record class. - RGBColor(int, int, int) - Constructor for record class com.dua3.utility.data.RGBColor
-
Create a new Color.
- RGBColor(int, int, int, int) - Constructor for record class com.dua3.utility.data.RGBColor
-
Create a new Color.
- rgbF(float, float, float) - Static method in interface com.dua3.utility.data.Color
-
Create color from RGB values.
- rgroup() - Method in class com.dua3.utility.text.RichTextMatcher
-
Returns the input subsequence matched by the previous match, see
Matcher.group()
. - rgroup(int) - Method in class com.dua3.utility.text.RichTextMatcher
-
Returns the input subsequence captured by the given group during the previous match operation, see
Matcher.group(int)
. - RichText - Class in com.dua3.utility.text
-
A class for rich text, i.e., text together with attributes like color, font etc.
- RichTextBuilder - Class in com.dua3.utility.text
-
A builder class for rich text data.
- RichTextBuilder() - Constructor for class com.dua3.utility.text.RichTextBuilder
-
Construct a new empty builder.
- RichTextBuilder(int) - Constructor for class com.dua3.utility.text.RichTextBuilder
-
Construct a new empty builder.
- RichTextConverter<T> - Interface in com.dua3.utility.text
-
Interface for
RichText
converters. - RichTextJoiner - Class in com.dua3.utility.text
-
A Joiner for
RichText
to be used withStream.collect(Collector)
. - RichTextJoiner(RichText) - Constructor for class com.dua3.utility.text.RichTextJoiner
-
Creates a RichTextJoiner instance with the given delimiter.
- RichTextJoiner(RichText, RichText, RichText) - Constructor for class com.dua3.utility.text.RichTextJoiner
-
Creates a RichTextJoiner instance with the given delimiter, prefix, and suffix.
- RichTextJoiner(CharSequence) - Constructor for class com.dua3.utility.text.RichTextJoiner
-
Creates a RichTextJoiner instance with the given delimiter.
- RichTextJoiner(CharSequence, CharSequence, CharSequence) - Constructor for class com.dua3.utility.text.RichTextJoiner
-
Creates a RichTextJoiner instance with the given delimiter, prefix, and suffix.
- RichTextJoiner.AccumulationType - Record Class in com.dua3.utility.text
-
A record representing an accumulation type used within a context requiring text and counter aggregation.
- RichTextMatcher - Class in com.dua3.utility.text
- RIGHT - Enum constant in enum class com.dua3.utility.fx.controls.Position
-
The right position.
- RIGHT - Enum constant in enum class com.dua3.utility.text.Alignment
-
Right aligned.
- RIGHT - Enum constant in enum class com.dua3.utility.ui.Graphics.HAnchor
-
Aligns element to the right side.
- rigidLabel(String) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create a fixed minimum width label with the given text to prevent an ellipsis being displayed.
- rigidLabel(String, Node) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create a fixed minimum width label with the given text to prevent an ellipsis being display.
- RingBuffer<T> - Class in com.dua3.utility.lang
-
A ring buffer implementation.
- RingBuffer(int) - Constructor for class com.dua3.utility.lang.RingBuffer
-
Construct a new RingBuffer instance.
- ROSYBROWN - Static variable in interface com.dua3.utility.data.Color
-
The color ROSYBROWN.
- rotate(double) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Create an affine transformation for a rotation around the origin.
- rotate(double, Vector2f) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Create an affine transformation for a rotation around the
c
. - ROTATE_AND_TRANSLATE - Enum constant in enum class com.dua3.utility.ui.Graphics.TextRotationMode
-
Rotate the text as a whole, then translate the text to be placed inside the output area
- ROTATE_AND_TRANSLATE_LINES - Enum constant in enum class com.dua3.utility.ui.Graphics.TextRotationMode
-
Rotate each line independently, then translate the rotated lines into the original output area.
- ROTATE_LINES - Enum constant in enum class com.dua3.utility.ui.Graphics.TextRotationMode
-
Rotate each line independently.
- ROTATE_OUTPUT_AREA - Enum constant in enum class com.dua3.utility.ui.Graphics.TextRotationMode
-
Rotate the output area as a whole, i.e., the text is rendered the same as with no rotation applied and then the whole block is rotated with the anchor as pivot.
- round(double, int) - Static method in class com.dua3.utility.math.MathUtil
-
Round to decimal places.
- roundingOperation(int, RoundingMode) - Static method in class com.dua3.utility.math.MathUtil
-
Get the operation that performs rounding to a fixed number of decimal places.
- roundToPrecision(double, int) - Static method in class com.dua3.utility.math.MathUtil
-
Round to precision.
- ROYALBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color ROYALBLUE.
- RSA - Enum constant in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
RSA (Rivest-Shamir-Adleman) algorithm with OAEP padding
- run() - Method in interface com.dua3.utility.lang.LangUtil.RunnableThrows
-
Equivalent to
Runnable.run()
, but may throw checked exceptions. - Run - Class in com.dua3.utility.text
-
A sequence of characters that share the same properties.
- runAndWait(Runnable) - Static method in class com.dua3.utility.fx.PlatformHelper
-
Run a task on the JavaFX application thread and wait for completion.
- runAndWait(Supplier<T>) - Static method in class com.dua3.utility.fx.PlatformHelper
-
Run a task on the JavaFX application thread and return result.
- runAt(int) - Method in class com.dua3.utility.text.RichText
-
Get run at position.
- runLater(Runnable) - Static method in class com.dua3.utility.fx.PlatformHelper
-
Run a task on the JavaFX application thread.
- RUNNING - Enum constant in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
Represents a running task.
- runOnNextFrame(Runnable) - Static method in class com.dua3.utility.fx.FxUtil
-
Schedules the provided action to execute on the next frame using an AnimationTimer.
- runOnNextFrame(LongConsumer) - Static method in class com.dua3.utility.fx.FxUtil
-
Schedules a task to be executed on the next frame of the JavaFX application thread.
- runs() - Method in class com.dua3.utility.text.RichText
-
Get the runs of this instance.
- runStream() - Method in class com.dua3.utility.text.RichText
-
Get a stream containing the runs of this instance.
- rx() - Method in class com.dua3.utility.math.geometry.Arc2f
-
Returns the x-radius of the arc curve.
- ry() - Method in class com.dua3.utility.math.geometry.Arc2f
-
Returns the y-radius of the arc curve.
S
- s() - Method in record class com.dua3.utility.data.HSVColor
-
Returns the value of the
s
record component. - SADDLEBROWN - Static variable in interface com.dua3.utility.data.Color
-
The color SADDLEBROWN.
- SALMON - Static variable in interface com.dua3.utility.data.Color
-
The color SALMON.
- SANDYBROWN - Static variable in interface com.dua3.utility.data.Color
-
The color SANDYBROWN.
- SANS_SERIF - Static variable in class com.dua3.utility.text.Style
-
Default Sansserif font.
- SAVE - Enum constant in enum class com.dua3.utility.fx.controls.FileDialogMode
-
Mode of the file dialog that allows the user to save a file.
- saveKeyStore(KeyStore, OutputStream, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Saves a KeyStore to an OutputStream.
- saveKeyStoreToFile(KeyStore, Path, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Saves a KeyStore to a file.
- saveToFile(Stage, T, FileType<? extends T>, Path) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Opens a file save dialog to allow the user to save the given object to a file.
- scalarProduct(Vector2f, Vector2f) - Static method in record class com.dua3.utility.math.geometry.Vector2f
-
Scalar product.
- scale(double) - Static method in class com.dua3.utility.swing.StyledDocumentConverter
-
Set font scaling factor.
- scale(float) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Create an affine transformation for a scaling operation (using the same factor for x and y coordinates)
(x,y) -> (sx,sy)
. - scale(float, float) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Create an affine transformation for a scaling operation
(x,y) -> (sx,ty)
. - scale(Scale2f) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Create an affine transformation for a scaling operation.
- Scale2f - Record Class in com.dua3.utility.math.geometry
-
Record holding scaling factors for x- and y-axis.
- Scale2f(float) - Constructor for record class com.dua3.utility.math.geometry.Scale2f
-
Constructs a new
Scale2f
object with the specified scaling factor s for both x and y axes. - Scale2f(float, float) - Constructor for record class com.dua3.utility.math.geometry.Scale2f
-
Creates an instance of a
Scale2f
record class. - scaled(float) - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Scales the dimension by a given factor.
- scaled(float) - Method in class com.dua3.utility.text.Font
-
Scales the font by a given factor.
- scaled(Scale2f) - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Scales the current
Dimension2f
object by the specifiedScale2f
object. - schedule(T) - Method in interface com.dua3.utility.concurrent.ProgressTracker
-
Schedule task.
- schedule(T) - Method in class com.dua3.utility.concurrent.ProgressView
- schedule(T) - Method in class com.dua3.utility.fx.controls.ProgressView
- schedule(T) - Method in class com.dua3.utility.swing.SwingProgressView
- SCHEDULED - Enum constant in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
Indicates that the task is scheduled and waiting to be executed.
- scroll(double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Adjusts the scroll position of the PinBoard by the specified horizontal and vertical deltas.
- scrollHorizontal(double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Scrolls the PinBoard horizontally by the specified amount.
- scrollHValuePropertyProperty() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Returns the property representing the horizontal scroll value of the PinBoard.
- scrollIntoView(double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Scrolls the PinBoard the specified position into view.
- scrollIntoView(PinBoard.Item, double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Scrolls the PinBoard so that the point (x, y) in the item becomes visible.
- scrollNRows(int) - Method in class com.dua3.utility.swing.SwingLogPane
-
Scrolls the specified number of rows in the table.
- ScrollPosition - Record Class in com.dua3.utility.fx.controls
-
The ScrollPosition record combines the scroll positions for horizontal and vertical scrollbars.
- ScrollPosition(double, double) - Constructor for record class com.dua3.utility.fx.controls.ScrollPosition
-
Creates an instance of a
ScrollPosition
record class. - scrollRowIntoView(int) - Method in class com.dua3.utility.swing.SwingLogPane
-
Scrolls the specified row into view.
- scrollTo(double, double, double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Scrolls the PinBoard to the specified position within an item.
- scrollTo(PinBoard.Item, double, double, double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Scrolls the PinBoard to the specified position within an item.
- scrollTo(PinBoard.PositionInItem, double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Scrolls the PinBoard to the specified position within an item.
- scrollToBottom(JScrollPane) - Static method in class com.dua3.utility.swing.SwingUtil
-
Scroll pane to bottom.
- scrollToEnd(JScrollBar) - Static method in class com.dua3.utility.swing.SwingUtil
-
Scroll scrollbar to end.
- scrollVertical(double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Scrolls the PinBoard vertically by the specified amount.
- scrollVValuePropertyProperty() - Method in class com.dua3.utility.fx.controls.PinBoard
-
Returns the property representing the vertical scroll value of the PinBoard.
- SEAGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color SEAGREEN.
- SEASHELL - Static variable in interface com.dua3.utility.data.Color
-
The color SEASHELL.
- second() - Method in record class com.dua3.utility.data.Pair
-
Returns the value of the
second
record component. - SECONDS_MILLIS - Enum constant in enum class com.dua3.utility.lang.Stopwatch.Format
-
Seconds formatted as floating point value.
- secureHash(byte[], String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Generates a secure hash for the given input using a combination of HMAC-SHA256 and Argon2id.
- Segment2f - Class in com.dua3.utility.math.geometry
-
Base class for segments that form a
Path2f
. - segments() - Method in class com.dua3.utility.math.geometry.Path2f
-
This path's segments as a list.
- SELECT_DIRECTORY - Enum constant in enum class com.dua3.utility.swing.FileInput.SelectionMode
-
The SELECT_DIRECTORY constant indicates that only directories should be selectable.
- SELECT_DIRECTORY - Static variable in class com.dua3.utility.swing.FileInput
-
Select directories only.
- SELECT_FILE - Enum constant in enum class com.dua3.utility.swing.FileInput.SelectionMode
-
The SELECT_FILE constant indicates that only files should be selectable.
- SELECT_FILE - Static variable in class com.dua3.utility.swing.FileInput
-
Select files only.
- SELECT_FILE_OR_DIRECTORY - Enum constant in enum class com.dua3.utility.swing.FileInput.SelectionMode
-
The SELECT_DIRECTORY constant indicates that both files and directories should be selectable.
- SELECT_FILE_OR_DIRECTORY - Static variable in class com.dua3.utility.swing.FileInput
-
Select files or directories.
- selectedFilter(FileChooser.ExtensionFilter) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Set selected filter.
- selectedItemProperty() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
-
Returns the property containing the selected item in the ComboBoxEx.
- self() - Method in class com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
-
Returns the current instance of the builder with the proper type.
- self() - Method in class com.dua3.utility.options.AbstractOptionBuilder
-
Returns this builder instance cast to the concrete builder type.
- separator - Variable in class com.dua3.utility.io.CsvIo
-
The separator character used for CSV data.
- separator(Orientation) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create
Separator
. - SERIF - Static variable in class com.dua3.utility.text.Style
-
Default Serif font.
- set(int, int, int) - Method in record class com.dua3.utility.data.ImageBuffer
-
Set the color at the given position.
- set(T) - Method in interface com.dua3.utility.fx.controls.InputControl
-
Set value.
- set(Arguments) - Method in class com.dua3.utility.fx.controls.OptionsPane
- set(Collection<PinBoard.Item>) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Sets the content to the given collection of items to the PinBoard and refreshes the skin.
- set(T) - Method in class com.dua3.utility.concurrent.SimpleValue
- set(T) - Method in interface com.dua3.utility.concurrent.Value
-
Sets the value of the method.
- setActive(boolean) - Method in class com.dua3.utility.fx.FxRefresh
-
Set the active state.
- setAlertHandler(WebEngine) - Static method in class com.dua3.utility.fx.web.WebViews
-
Sets the alert handler for the given WebEngine.
- setArray(String, Array) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setAsciiStream(String, InputStream) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setAsciiStream(String, InputStream, int) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setAsciiStream(String, InputStream, long) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setBigDecimal(String, BigDecimal) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setBinaryStream(String, InputStream) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setBlob(String, Blob) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setBlockIncrement(double) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the block increment value for the slider.
- setBold(Boolean) - Method in class com.dua3.utility.text.FontDef
-
Sets the bold property of the font definition.
- setBoolean(String, boolean) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setBounds(int, int, int, int) - Method in class com.dua3.utility.swing.SwingLogPane
- setByte(String, byte) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setBytes(String, byte[]) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setCapacity(int) - Method in class com.dua3.utility.lang.RingBuffer
-
Set the capacity.
- setCapacity(int) - Method in class com.dua3.utility.logging.LogBuffer
-
Updates the capacity of the buffer while retaining the existing elements.
- setClipboardText(String) - Static method in class com.dua3.utility.swing.SwingUtil
-
Set clipboard content.
- setClob(String, Clob) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setColor(Color) - Method in class com.dua3.utility.text.FontDef
-
Sets the color attribute of the FontDef instance.
- setColored(boolean) - Method in class com.dua3.utility.logging.ConsoleHandler
-
Enable/Disable colored output using ANSI codes.
- setColumnNames(List<String>) - Method in class com.dua3.utility.io.CsvReader
-
Sets the column names for the CSV reader.
- setComparator(Comparator<? super T>) - Method in class com.dua3.utility.fx.controls.ComboBoxEx
-
Sets the comparator for the ComboBoxEx and sorts the items accordingly.
- setComparator(Comparator<? super T>) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Sets the Comparator used for sorting items in the ComboBoxEx.
- setConfirmationHandler(WebEngine) - Static method in class com.dua3.utility.fx.web.WebViews
-
Sets the confirmation handler for the given WebEngine.
- setDecorateNodes(boolean) - Method in class com.dua3.utility.fx.controls.Validator
-
Set to true to enable decorating nodes with invalid values.
- setDecrementGraphic(Node) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the graphical representation for the decrement button of the slider.
- setDecrementText(String) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the text of the decrement button in the slider.
- setDefault(double) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the default value of the slider.
- setDefault(double) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the default value for the slider.
- setDefault(Supplier<? extends R>) - Method in class com.dua3.utility.fx.controls.InputControl.State
-
Sets the default value supplier for this State.
- setDefault(Supplier<Double>) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the default value supplier of the slider.
- setDefault(Supplier<Double>) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the default value supplier for the slider.
- setDefaultLevel(Level) - Static method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
-
Sets the default logging level.
- setDialogSupplier(Supplier<? extends D>) - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogPaneBuilder
-
Sets the supplier that provides instances of the dialog type.
- setDisplayScale(double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Sets the display scale of the component.
- setDividerLocation(double) - Method in class com.dua3.utility.swing.SwingLogPane
-
Set the divider location.
- setDividerLocation(int) - Method in class com.dua3.utility.swing.SwingLogPane
-
Set the divider location.
- setDouble(String, double) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setFamilies(SequencedCollection<String>) - Method in class com.dua3.utility.text.FontDef
-
Sets the font family names for the FontDef instance.
- setFamily(String) - Method in class com.dua3.utility.text.FontDef
-
Sets the font family names for the FontDef instance.
- setFetchSize(int) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set the fetch size for the statement (see {#link
Statement.setFetchSize(int)
}). - setFill(Color) - Method in class com.dua3.utility.fx.FxGraphics
- setFill(Color) - Method in class com.dua3.utility.swing.SwingGraphics
- setFill(Color) - Method in interface com.dua3.utility.ui.Graphics
-
Sets the fill color for drawing operations.
- setFilter(LogEntryFilter) - Method in class com.dua3.utility.logging.ConsoleHandler
-
Sets the filter for log entries.
- setFilter(LogEntryFilter) - Method in class com.dua3.utility.logging.log4j.LogAppenderLog4j.LogEntryDispatcherLog4J
- setFilter(LogEntryFilter) - Method in interface com.dua3.utility.logging.LogEntryDispatcher
-
Sets the
LogEntryFilter
for log entry events. - setFilter(LogEntryFilter) - Method in class com.dua3.utility.logging.slf4j.LoggerFactorySlf4j
- setFilterLoggerName(BiPredicate<String, LogLevel>) - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Sets the logger name filterLoggerName of the DefaultLogEntryFilter.
- setFilterText(BiPredicate<String, LogLevel>) - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Sets the message filterText of the DefaultLogEntryFilter.
- setFloat(String, float) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setFont(Font) - Method in class com.dua3.utility.fx.FxGraphics
- setFont(Font) - Method in class com.dua3.utility.swing.SwingGraphics
- setFont(Font) - Method in interface com.dua3.utility.ui.Graphics
-
Sets the font used for text rendering.
- setFontMapper(Function<String, String>) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets the font mapper function used to map font names.
- setHBarPolicy(ScrollPane.ScrollBarPolicy) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Sets the horizontal scrollbar policy of the PinBoardSkin's ScrollPane.
- setIconColor(Paint) - Method in interface com.dua3.utility.fx.icons.Icon
-
Set icon color.
- setIconColor(Paint) - Method in class com.dua3.utility.fx.icons.IconView
-
Sets the color of the icon.
- setIconIdentifier(String) - Method in class com.dua3.utility.fx.icons.IconView
-
Sets the identifier of the icon to be displayed in the IconView.
- setIconSize(int) - Method in class com.dua3.utility.fx.controls.Validator
-
Set icon size.
- setIconSize(int) - Method in interface com.dua3.utility.fx.icons.Icon
-
Set icon size.
- setIconSize(int) - Method in class com.dua3.utility.fx.icons.IconView
-
Sets the size of the icon.
- setIgnoreBold(boolean) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets whether the method should ignore the bold style when comparing texts.
- setIgnoreCase(boolean) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets whether the method should ignore case when comparing texts.
- setIgnoreExcessFields(boolean) - Method in class com.dua3.utility.io.CsvReader
-
Configures whether excess fields in the CSV data should be ignored during parsing.
- setIgnoreFontFamily(boolean) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets whether the method should ignore the font family when comparing texts.
- setIgnoreFontSize(boolean) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets whether the method should ignore the font size when comparing texts.
- setIgnoreItalic(boolean) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets whether the method should ignore the italic style when comparing texts.
- setIgnoreMissingFields(boolean) - Method in class com.dua3.utility.io.CsvReader
-
Configures whether missing fields in the CSV data should be ignored during parsing.
- setIgnoreStrikeThrough(boolean) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets whether the method should ignore the strike-through style when comparing texts.
- setIgnoreTextColor(boolean) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets whether the method should ignore the text color when comparing texts.
- setIgnoreUnderline(boolean) - Method in class com.dua3.utility.text.ComparisonSettings.Builder
-
Sets whether the method should ignore the underline style when comparing texts.
- setIncrementGraphic(Node) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the graphic for the increment button on the slider.
- setIncrementText(String) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the text label for the increment button on the slider.
- setInstant(String, Instant) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setInt(String, int) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setItalic(Boolean) - Method in class com.dua3.utility.text.FontDef
-
Sets the italic property of the font definition.
- setLevel(LogLevel) - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Sets the log level of the DefaultLogEntryFilter.
- setLevel(Level) - Method in class com.dua3.utility.logging.slf4j.LoggerSlf4j
-
Sets the logging level for this logger.
- setLineEnds(String, String) - Static method in class com.dua3.utility.text.TextUtil
-
Adjusts the line endings of a given string by replacing the current line terminators with the specified line end sequence.
- setLocalDate(String, LocalDate) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setLocalDateTime(String, LocalDateTime) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setLocalTime(String, LocalTime) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setLogFormatter(Function<? super LogEntry, String>) - Method in class com.dua3.utility.swing.SwingLogPane
-
Set the formatter used to convert log entries to text.
- setLogger(WebEngine, Logger) - Static method in class com.dua3.utility.fx.web.WebViews
-
Sets a logger for the provided WebEngine instance.
- setLoginTimeout(int) - Method in class com.dua3.utility.db.JdbcDataSource
- setLogWriter(PrintWriter) - Method in class com.dua3.utility.db.JdbcDataSource
- setLong(String, long) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setMajorTickUnit(double) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the major tick unit for the slider.
- setMax(double) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the maximum value for the slider.
- setMin(double) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the minimum value for the slider.
- setNativeLookAndFeel() - Static method in class com.dua3.utility.swing.SwingUtil
-
Set the Swing Look&Feel to the native Look&Feel.
- setNativeLookAndFeel(String) - Static method in class com.dua3.utility.swing.SwingUtil
-
Set the Swing Look&Feel to the native Look&Feel.
- setObject(String, Object) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setObject(String, Object, int, int) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setObject(String, Object, SQLType) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setObject(String, Object, SQLType, int) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setOptions(Collection<Option<?>>, Arguments) - Method in class com.dua3.utility.fx.controls.OptionsDialog
-
Set options.
- setOrientation(Orientation) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the orientation of the slider.
- setPages(Map<String, WizardDialog.Page<?, ?>>, String) - Method in class com.dua3.utility.fx.controls.WizardDialog
-
Sets the wizard pages and the initial page to start from.
- setParameter() - Method in record class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel.OptionInput
-
Returns the value of the
setParameter
record component. - setPassword(String) - Method in class com.dua3.utility.db.JdbcDataSource
-
Set database password.
- setPath(Path) - Method in class com.dua3.utility.swing.FileInput
-
Set path.
- setProgress(double) - Method in class com.dua3.utility.fx.controls.StatusBar
-
Sets the progress of the progress bar.
- setPromptHandler(WebEngine) - Static method in class com.dua3.utility.fx.web.WebViews
-
Sets the prompt handler for the given WebEngine.
- setRef(String, Ref) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setRegex(TextInputControl, String, String) - Method in class com.dua3.utility.fx.controls.Validator
-
Add a rule that assures the content matches a regular expression.
- setRenderingQualityHigh(Graphics2D) - Static method in class com.dua3.utility.swing.SwingUtil
-
Configures the rendering quality settings for a Graphics2D object to enhance visual quality.
- setRowId(String, RowId) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setScale(double) - Method in class com.dua3.utility.swing.StyledDocumentConverter
-
Set the scale to use in conversion.
- setScrollPosition(double, double) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Sets the scroll position of the PinBoardSkin's ScrollPane.
- setScrollPosition(ScrollPosition) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Sets the scroll position of the PinBoardSkin's ScrollPane.
- setSelectedItem(T) - Method in class com.dua3.utility.swing.ComboBoxEx
-
Sets the selected item in the ComboBoxEx to the specified item.
- setShort(String, short) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setShowTickLabels(boolean) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Configures whether to show the tick labels on the slider.
- setShowTickMarks(boolean) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Configures whether the slider should display tick marks.
- setSize(Float) - Method in class com.dua3.utility.text.FontDef
-
Sets the size of the font.
- setSnapToTicks(boolean) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets whether the slider should snap to the closest tick mark.
- setStartPage(String) - Method in class com.dua3.utility.fx.controls.WizardDialogBuilder
-
Sets the start page for the wizard dialog.
- setStrikeThrough(Boolean) - Method in class com.dua3.utility.text.FontDef
-
Sets the strike-through property for the font.
- setString(String, String) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setStroke(Color, float) - Method in class com.dua3.utility.fx.FxGraphics
- setStroke(Color, float) - Method in class com.dua3.utility.swing.SwingGraphics
- setStroke(Color, float) - Method in interface com.dua3.utility.ui.Graphics
-
Sets the stroke for drawing shapes.
- setStrokeColor(Color) - Method in class com.dua3.utility.fx.FxGraphics
- setStrokeColor(Color) - Method in class com.dua3.utility.swing.SwingGraphics
- setStrokeColor(Color) - Method in interface com.dua3.utility.ui.Graphics
-
Sets the stroke color for drawing operations.
- setStrokeWidth(float) - Method in class com.dua3.utility.fx.FxGraphics
- setStrokeWidth(float) - Method in class com.dua3.utility.swing.SwingGraphics
- setStrokeWidth(float) - Method in interface com.dua3.utility.ui.Graphics
-
Sets the width for the stroke to be applied in drawing operations.
- setStyle(Run) - Method in class com.dua3.utility.text.AttributeBasedConverter.AttributeBasedConverterImpl
-
Update style.
- setText(String) - Method in class com.dua3.utility.fx.controls.StatusBar
-
Sets the text of the status bar.
- setTransformation(AffineTransformation2f) - Method in class com.dua3.utility.fx.FxGraphics
- setTransformation(AffineTransformation2f) - Method in class com.dua3.utility.swing.SwingGraphics
- setTransformation(AffineTransformation2f) - Method in interface com.dua3.utility.ui.Graphics
-
Sets the transformation for the graphics context.
- setType(FontType) - Method in class com.dua3.utility.text.FontDef
-
Sets the type attribute for the font.
- setUnderline(Boolean) - Method in class com.dua3.utility.text.FontDef
-
Sets the underline attribute for the font.
- setUnitIncrement(JScrollBar, int) - Static method in class com.dua3.utility.swing.SwingUtil
-
Set the unit increment.
- setUnitIncrement(JScrollPane, int) - Static method in class com.dua3.utility.swing.SwingUtil
-
Set the unit increment.
- setupEngine(WebEngine, String) - Static method in class com.dua3.utility.fx.web.WebViews
-
Sets up the WebEngine with alert, confirmation, prompt handlers, and a logger.
- setUrl(String) - Method in class com.dua3.utility.db.JdbcDataSource
-
Set database URL.
- setURL(String, URL) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- setUser(String) - Method in class com.dua3.utility.db.JdbcDataSource
-
Set database user.
- setValidate(Function<? super R, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputControl.State
-
Sets the validation function for the State.
- setValue(double) - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Sets the value of the slider.
- setValue(T2) - Method in record class com.dua3.utility.data.Pair
-
Deprecated.
- setVBarPolicy(ScrollPane.ScrollBarPolicy) - Method in class com.dua3.utility.fx.controls.PinBoard
-
Sets the vertical scrollbar policy of the PinBoardSkin's ScrollPane.
- setZonedDateTime(String, ZonedDateTime) - Method in class com.dua3.utility.db.NamedParameterStatement
-
Set a parameter.
- shannonEntropy() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Returns the value of the
shannonEntropy
record component. - ShapeBuilder<S,
B> - Class in com.dua3.utility.fx.controls.abstract_builders -
An abstract base class for building nodes, providing a fluent API for configuring and creating instances of the node type specified by the generic parameter
N
. - ShapeBuilder(Supplier<? extends S>) - Constructor for class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Constructs a new instance of the ControlBuilder class using the specified factory.
- SharableString - Class in com.dua3.utility.text
-
A class that provides a sharable view of a
String
by implementing theCharSequence
interface. - SharableString(String) - Constructor for class com.dua3.utility.text.SharableString
-
Constructs a new SharableString using the specified string.
- SharedString - Class in com.dua3.utility.text
-
A class that provides a shared view of a portion of a base string, implementing the
CharSequence
interface. - shear(float) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Create an affine transformation for a shearing operation
(x,y) -> (x+my,y)
. - showAndWait() - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Displays the dialog and waits for the user to respond before returning.
- showAndWait() - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogBuilder
-
Build and show the dialog.
- showAndWait() - Method in class com.dua3.utility.fx.controls.WizardDialogBuilder
-
Displays the constructed wizard dialog and waits for the user to close it.
- showDelay() - Method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Returns the value of the
showDelay
record component. - showDialog(Window, ArgumentsParser) - Static method in class com.dua3.utility.swing.ArgumentsDialog
-
Displays a dialog for getting arguments from the user.
- showDialog(Window) - Method in class com.dua3.utility.fx.controls.DirectoryChooserBuilder
-
Show "Open" dialog.
- showDirectoryOpenDialog(Component, Path) - Static method in class com.dua3.utility.swing.SwingUtil
-
Show directory open dialog.
- showDuration() - Method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Returns the value of the
showDuration
record component. - showFileOpenDialog(Component, Path, Pair<String, String[]>...) - Static method in class com.dua3.utility.swing.SwingUtil
-
Show file open dialog.
- showFileSaveDialog(Component, Path, Pair<String, String[]>...) - Static method in class com.dua3.utility.swing.SwingUtil
-
Show file save dialog.
- showOpenDialog(Component, Path, int, Pair<String, String[]>...) - Static method in class com.dua3.utility.swing.SwingUtil
-
Show open dialog.
- showOpenDialog(Window) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Show "Open" dialog.
- showOpenMultipleDialog(Window) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Show "Open multiple" dialog.
- showSaveDialog(Window) - Method in class com.dua3.utility.fx.controls.FileChooserBuilder
-
Show "Save" dialog.
- showTickLabels(boolean) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Configures whether to show the tick labels on the slider.
- showTickLabelsProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the property for showing or hiding tick labels on the slider.
- showTickMarks(boolean) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Configures whether the slider should display tick marks.
- showTickMarksProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the property representing whether tick marks are shown on the slider.
- SIENNA - Static variable in interface com.dua3.utility.data.Color
-
The color SIENNA.
- sign(PrivateKey, byte[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.SignatureUtil
-
Sign data using a private key.
- sign(PrivateKey, char[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.SignatureUtil
-
Sign text using a private key.
- sign(PrivateKey, CharSequence) - Static method in class com.dua3.utility.crypt.SignatureUtil
-
Sign text using a private key.
- signatureAlgorithm(String) - Method in interface com.dua3.utility.crypt.X509CertificateBuilder
-
Specifies the signature algorithm to be used for signing the certificate.
- SignatureUtil - Class in com.dua3.utility.crypt
-
Utility class for digital signatures.
- SIGNED_INTEGER - Enum constant in enum class com.dua3.utility.fx.controls.TextFieldType
-
Represents unsigned integer input in a text field.
- signedBy(PrivateKey, X509Certificate...) - Method in interface com.dua3.utility.crypt.X509CertificateBuilder
-
Specifies the issuer certificate and private key to sign the certificate being built.
- SILVER - Static variable in interface com.dua3.utility.data.Color
-
The color SILVER.
- similar(FontData, FontData) - Static method in record class com.dua3.utility.text.FontData
-
Test if two fonts are similar.
- similar(Font, Font) - Static method in class com.dua3.utility.text.Font
-
Test if two fonts are similar.
- SimpleInputControl<C,
R> - Class in com.dua3.utility.fx.controls -
SimpleInputControl is a generic class designed to manage an input control element and its state.
- SimpleInputControl(C, Property<R>, Supplier<? extends R>, Function<R, Optional<String>>) - Constructor for class com.dua3.utility.fx.controls.SimpleInputControl
-
Constructs a SimpleInputControl instance for managing an input control element and its state.
- SimpleLogEntry - Record Class in com.dua3.utility.logging
-
Represents a single log entry containing details about a logging event.
- SimpleLogEntry(String, String, Instant, LogLevel, String, Throwable, String) - Constructor for record class com.dua3.utility.logging.SimpleLogEntry
-
Creates an instance of a
SimpleLogEntry
record class. - SimpleNamespaceContext - Class in com.dua3.utility.xml
-
A simple
NamespaceContext
implementation that automatically creates the reverse mapping from URI to namespace. - SimpleNamespaceContext(String) - Constructor for class com.dua3.utility.xml.SimpleNamespaceContext
-
Construct new instance with mappings and default namespace.
- SimpleNamespaceContext(Map<String, String>) - Constructor for class com.dua3.utility.xml.SimpleNamespaceContext
-
Construct new instance with mappings.
- SimpleNamespaceContext(Map<String, String>, String) - Constructor for class com.dua3.utility.xml.SimpleNamespaceContext
-
Construct new instance with mappings and default namespace.
- SimpleValue<T> - Class in com.dua3.utility.concurrent
-
A simple implementation of the Value interface that stores a single value of any type.
- SimpleValue(T) - Constructor for class com.dua3.utility.concurrent.SimpleValue
-
Initializes a new instance of the
SimpleValue
class. - size() - Method in class com.dua3.utility.lang.CompactableSortedMap
- size() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- size() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- size() - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- size() - Method in class com.dua3.utility.lang.RingBuffer
-
Get number of items in collection.
- size() - Method in class com.dua3.utility.lang.UnmodifiableArrayListWrapper
- size() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
size
record component. - size(Float) - Static method in class com.dua3.utility.text.FontDef
-
Create a FontDef instance with only the font size set.
- SKYBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color SKYBLUE.
- SLATEBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color SLATEBLUE.
- SLATEGRAY - Static variable in interface com.dua3.utility.data.Color
-
The color SLATEGRAY.
- SLATEGREY - Static variable in interface com.dua3.utility.data.Color
-
The color SLATEGREY.
- slider() - Static method in class com.dua3.utility.fx.controls.Controls
-
Create
SliderBuilder
instance. - slider(SliderWithButtons.Mode, BiFunction<Double, Double, String>) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create
SliderBuilder
instance. - slider(String, String, Supplier<Double>, double, double) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Creates a slider component.
- slider(String, String, Supplier<Double>, double, double) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- slider(String, String, Supplier<Double>, double, double) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- slider(String, String, Supplier<Double>, double, double) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- SLIDER_INPUT_TOTAL - Enum constant in enum class com.dua3.utility.fx.controls.SliderWithButtons.Mode
-
Mode where the slider, its current value, and the total input value are displayed or utilized.
- SLIDER_ONLY - Enum constant in enum class com.dua3.utility.fx.controls.SliderWithButtons.Mode
-
Mode where only the slider component is enabled.
- SLIDER_VALUE - Enum constant in enum class com.dua3.utility.fx.controls.SliderWithButtons.Mode
-
Mode where only the current value of the slider is displayed.
- SLIDER_VALUE_TOTAL - Enum constant in enum class com.dua3.utility.fx.controls.SliderWithButtons.Mode
-
Mode where the slider displays its current value along with the total possible value.
- SliderBuilder - Class in com.dua3.utility.fx.controls
-
A builder class for constructing a
SliderWithButtons
instance with various configuration options. - SliderWithButtons - Class in com.dua3.utility.fx.controls
-
A custom UI component that combines a slider with increment and decrement buttons.
- SliderWithButtons.Mode - Enum Class in com.dua3.utility.fx.controls
-
Enum representing various modes of a slider component.
- snapToTicks(boolean) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Set to
true
to snap to tick marks. - snapToTicksProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Represents the property that indicates whether the slider will snap to the closest tick mark.
- SNOW - Static variable in interface com.dua3.utility.data.Color
-
The color SNOW.
- SOFT_REFERENCES - Enum constant in enum class com.dua3.utility.data.Cache.ReferenceType
-
Use
SoftReference
. - SoftResource<T> - Class in com.dua3.utility.io
-
A lazily loaded and cached resource.
- SoftResource.ResourceHolder<T> - Class in com.dua3.utility.io
-
Helper class to prevent the resource from being garbage collected.
- sortItems() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
-
Sorts the items in the ComboBoxEx using the defined comparator.
- sortItems() - Method in class com.dua3.utility.swing.ComboBoxEx
-
Sorts the items in the ComboBoxEx using the current Comparator.
- space() - Static method in class com.dua3.utility.text.RichText
-
Returns RichText containing a single space character.
- spaceWidth() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
spaceWidth
record component. - SpiLoader<T> - Class in com.dua3.utility.spi
-
A generic Service Provider Interface (SPI) loader that dynamically loads implementations of a specified type using Java's
ServiceLoader
mechanism. - SpiLoader.LoaderBuilder<T> - Class in com.dua3.utility.spi
-
LoaderBuilder is a helper class to configure and construct an instance of SpiLoader.
- split(String) - Method in class com.dua3.utility.text.RichText
-
Splits this RichText into an array of RichText objects based on the provided regular expression.
- split(String, int) - Method in class com.dua3.utility.text.RichText
-
Splits the current RichText object into an array of RichText objects based on the given regular expression and limit.
- split(Pattern) - Method in class com.dua3.utility.text.RichText
-
Splits the current RichText into an array of RichText instances based on the provided pattern.
- split(Pattern, int) - Method in class com.dua3.utility.text.RichText
-
Splits the current text into an array of RichText objects based on the given pattern and limit.
- SPLIT_MARKER - Static variable in class com.dua3.utility.text.RichText
-
A character used as a delimiter or marker to insert where subsequent text segment should not be joined into a single one.
- spliterator() - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- SPRINGGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color SPRINGGREEN.
- SQRT_2 - Static variable in class com.dua3.utility.math.MathUtil
-
A constant that represents the square root of 2 (√2) with high precision.
- SQRT_3 - Static variable in class com.dua3.utility.math.MathUtil
-
A constant holding the square root of 3, approximately 1.7320508075688772.
- SQRT_5 - Static variable in class com.dua3.utility.math.MathUtil
-
Represents the square root of 5 as a constant value.
- STANDARD - Enum constant in enum class com.dua3.utility.lang.Stopwatch.Format
-
standard format, same as
Stopwatch.Format.HOURS_MINUTES_SECONDS_MILLIS
. - StandardFontMapper - Enum Class in com.dua3.utility.text
-
Enum class with entries for standard font mappers.
- start() - Method in class com.dua3.utility.concurrent.ProgressTracker.TaskUpdater
-
Mark task as started.
- start() - Method in class com.dua3.utility.math.geometry.AbstractCurve2f
- start() - Method in class com.dua3.utility.math.geometry.ClosePath2f
- start() - Method in class com.dua3.utility.math.geometry.Line2f
- start() - Method in class com.dua3.utility.math.geometry.MoveTo2f
- start() - Method in class com.dua3.utility.math.geometry.Segment2f
-
The segment's starting point.
- start() - Method in class com.dua3.utility.text.RichTextMatcher
- start(int) - Method in class com.dua3.utility.text.RichTextMatcher
- start(T) - Method in interface com.dua3.utility.concurrent.ProgressTracker
-
Start a task.
- start(T) - Method in class com.dua3.utility.concurrent.ProgressView
- start(T) - Method in class com.dua3.utility.fx.controls.ProgressView
- start(T) - Method in class com.dua3.utility.swing.SwingProgressView
- startEdit() - Method in class com.dua3.utility.fx.controls.TableCellAutoCommit
- startRow() - Method in class com.dua3.utility.io.CsvReader.ListRowBuilder
- startRow() - Method in interface com.dua3.utility.io.CsvReader.RowBuilder
-
Start a new row.
- startsWith(CharSequence) - Method in class com.dua3.utility.text.RichText
-
Test whether this instance starts with the given
CharSequence
. - startsWith(CharSequence, CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Test whether a
CharSequence
starts with anotherCharSequence
. - State(Property<R>) - Constructor for class com.dua3.utility.fx.controls.InputControl.State
-
Constructs a State object with the given value.
- State(Property<R>, Supplier<? extends R>, Function<? super R, Optional<String>>) - Constructor for class com.dua3.utility.fx.controls.InputControl.State
-
Constructs a State object with the given value, default value supplier, and validation function.
- State(Property<R>, Supplier<R>) - Constructor for class com.dua3.utility.fx.controls.InputControl.State
-
Constructs a State object with the given value and default value supplier.
- StatusBar - Class in com.dua3.utility.fx.controls
-
Dialog to configure a editor settings.
- StatusBar() - Constructor for class com.dua3.utility.fx.controls.StatusBar
-
Construct new StatusBar instance.
- STEELBLUE - Static variable in interface com.dua3.utility.data.Color
-
The color STEELBLUE.
- stop() - Method in class com.dua3.utility.fx.FxRefresh
-
Stop the refresher.
- Stopwatch - Class in com.dua3.utility.lang
-
A simple stopwatch class.
- Stopwatch(String) - Constructor for class com.dua3.utility.lang.Stopwatch
-
Construct instance.
- Stopwatch(Supplier<String>) - Constructor for class com.dua3.utility.lang.Stopwatch
-
Construct instance.
- Stopwatch.AutoCloseableStopWatch - Class in com.dua3.utility.lang
-
A stopwatch that can be used in a try-with-resources block and automatically closed.
- Stopwatch.Format - Enum Class in com.dua3.utility.lang
-
Enum defining the different output formats.
- storeCertificate(KeyStore, String, Certificate) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Stores a certificate in the KeyStore.
- storeKeyPair(KeyStore, String, KeyPair, Certificate[], char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Stores a KeyPair with a certificate chain in the KeyStore.
- storeSecretKey(KeyStore, String, SecretKey, char[]) - Static method in class com.dua3.utility.crypt.KeyStoreUtil
-
Stores a SecretKey in the KeyStore.
- stream() - Method in class com.dua3.utility.data.FileTreeNode
- stream() - Method in interface com.dua3.utility.data.TreeNode
-
Get stream of this node's children.
- stream() - Method in class com.dua3.utility.options.Arguments
-
Get the stream of parsed options.
- stream() - Method in class com.dua3.utility.text.RichText
-
A stream of the Runs this text consists of.
- stream() - Method in class com.dua3.utility.text.Style
-
Get a stream of this style's entries.
- stream(Option<T>) - Method in class com.dua3.utility.options.Arguments
-
Get the stream of values for an option.
- stream(Iterable<T>) - Static method in class com.dua3.utility.lang.StreamUtil
-
Create a stream from the elements obtained from an iterable.
- stream(ResultSet, Function<? super ResultSet, ? extends T>, AutoCloseable...) - Static method in class com.dua3.utility.db.DbUtil
-
Create a stream of objects from a
ResultSet
. - stream(Iterator<T>) - Static method in class com.dua3.utility.lang.StreamUtil
-
Create a stream from the elements obtained from an iterator.
- StreamUtil - Class in com.dua3.utility.lang
-
Utility class for Java streams.
- strengthLevel() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Returns the value of the
strengthLevel
record component. - STRIKE_THROUGH_OFF - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: disable STRIKETHROUGH output.
- STRIKE_THROUGH_ON - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: enable STRIKETHROUGH output.
- strikeThrough() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
strikeThrough
record component. - strikeThrough(boolean) - Static method in class com.dua3.utility.io.AnsiCode
-
Set strike-through output.
- strikeThrough(boolean) - Static method in class com.dua3.utility.text.FontDef
-
Create FontDef instance with only the strikethrough field set.
- string(String, String, Supplier<String>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled string input.
- string(String, String, Supplier<String>, Function<String, Optional<String>>) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a labeled string input.
- string(String, String, Supplier<String>, Function<String, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- string(String, String, Supplier<String>, Function<String, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- string(String, String, Supplier<String>, Function<String, Optional<String>>) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- stringBounds(CharSequence, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
-
Calculate the string bounds of a text using the font passed as argument.
- stringBounds(CharSequence, Font) - Method in class com.dua3.utility.awt.AwtFontUtil
-
Calculate the string bounds of a text using the font passed as argument.
- stringConverter(Class<T>) - Static method in interface com.dua3.utility.data.Converter
-
Creates a converter to transform objects of type T to their String representation and parse Strings back to objects of type T using either the method
public static T valueOf(String)
in the specified class (preferred) or the constructorpublic T(String)
of the class. - stringConverter(Function<String, T>) - Static method in interface com.dua3.utility.data.Converter
-
Creates a converter to transform objects of type T to their String representation and parse Strings back to objects of type T.
- stringInput(Supplier<String>, Function<String, Optional<String>>) - Static method in interface com.dua3.utility.fx.controls.InputControl
-
Creates a
SimpleInputControl
for a TextField with String input. - stringInput(Supplier<T>, Function<T, Optional<String>>, StringConverter<T>) - Static method in interface com.dua3.utility.fx.controls.InputControl
-
Creates a new
SimpleInputControl
for aTextField
with bidirectional binding. - stringInputStream(String) - Static method in class com.dua3.utility.io.IoUtil
-
Get
InputStream
instance that reads from a string. - stringInputStream(String, Charset) - Static method in class com.dua3.utility.io.IoUtil
-
Get
InputStream
instance that reads from a string. - strip() - Method in class com.dua3.utility.text.RichText
-
Remove leading and trailing whitespace, as defined by Unicode, removed.
- strip(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Removes leading and trailing whitespace characters from the given character sequence.
- stripExtension(String) - Static method in class com.dua3.utility.io.IoUtil
-
Remove file extension.
- stripLeading() - Method in class com.dua3.utility.text.RichText
-
Remove leading whitespace, as defined by Unicode, removed.
- stripLeading(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Removes all leading whitespace characters from the given character sequence.
- stripTrailing() - Method in class com.dua3.utility.text.RichText
-
Remove trailing whitespace, as defined by Unicode, removed.
- stripTrailing(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Removes trailing whitespace characters from the given character sequence.
- stroke(Color) - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Sets the stroke paint property for the shape being built.
- stroke(Paint) - Method in class com.dua3.utility.fx.controls.abstract_builders.ShapeBuilder
-
Sets the stroke paint property for the shape being built.
- strokeCircle(float, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Draws the outline of a circle centered at the specified coordinates with the given radius.
- strokeCircle(Vector2f, float) - Method in interface com.dua3.utility.ui.Graphics
-
Draws the outline of a circle centered at the specified coordinates with the given radius.
- strokeEllipse(float, float, float, float, float) - Method in class com.dua3.utility.fx.FxGraphics
- strokeEllipse(float, float, float, float, float) - Method in class com.dua3.utility.swing.SwingGraphics
- strokeEllipse(float, float, float, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Draws the outline of an ellipse on the canvas with the specified center coordinates and radii.
- strokeLine(float, float, float, float) - Method in class com.dua3.utility.fx.FxGraphics
- strokeLine(float, float, float, float) - Method in class com.dua3.utility.swing.SwingGraphics
- strokeLine(float, float, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Draws a line on the graphics context from the specified starting point (x1, y1) to the specified ending point (x2, y2).
- strokeLine(Vector2f, Vector2f) - Method in interface com.dua3.utility.ui.Graphics
-
Draws a line between two specified points.
- strokePath(Path2f) - Method in class com.dua3.utility.fx.FxGraphics
- strokePath(Path2f) - Method in class com.dua3.utility.swing.SwingGraphics
- strokePath(Path2f) - Method in interface com.dua3.utility.ui.Graphics
-
Strokes the outline of the specified path using the current stroke settings.
- strokePolygon(Vector2f...) - Method in interface com.dua3.utility.ui.Graphics
-
Strokes a polygon by connecting its vertices and closing the shape by linking the last vertex to the first.
- strokePolyLines(Vector2f...) - Method in interface com.dua3.utility.ui.Graphics
-
Draws a series of connected lines, forming a polyline, between the given vertices.
- strokeRect(float, float, float, float) - Method in class com.dua3.utility.fx.FxGraphics
- strokeRect(float, float, float, float) - Method in class com.dua3.utility.swing.SwingGraphics
- strokeRect(float, float, float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Draws the outline of a rectangle with the specified dimensions and coordinates.
- strokeRect(Rectangle2f) - Method in interface com.dua3.utility.ui.Graphics
-
Stroke rectangle.
- strokeRect(Vector2f, Dimension2f) - Method in interface com.dua3.utility.ui.Graphics
-
Stroke rectangle.
- STRONG - Enum constant in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
-
Represents a strong level of password strength.
- Style - Class in com.dua3.utility.text
-
A Style is a set of property names and corresponding values that control the appearance of
RichText
. - StyledDocumentConversionOption - Record Class in com.dua3.utility.swing
-
Options controlling the conversion process.
- StyledDocumentConversionOption(Consumer<? super StyledDocumentConverter>) - Constructor for record class com.dua3.utility.swing.StyledDocumentConversionOption
-
Creates an instance of a
StyledDocumentConversionOption
record class. - StyledDocumentConverter - Class in com.dua3.utility.swing
-
A
AttributeBasedConverter
implementation for translatingRichText
to StyledDocument. - stylesAt(int) - Method in class com.dua3.utility.text.RichText
-
Get active styles at position.
- subject(String) - Method in interface com.dua3.utility.crypt.X509CertificateBuilder
-
Sets the subject distinguished name (DN) for the X.509 certificate.
- subList(int, int) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- subList(int, int) - Method in class com.dua3.utility.lang.RingBuffer
-
Returns a view of the portion of this buffer between the specified
fromIndex
, inclusive, andtoIndex
, exclusive. - subList(int, int) - Method in class com.dua3.utility.logging.LogBuffer
-
Returns a view of the portion of this LogBuffer between the specified
fromIndex
, inclusive, andtoIndex
, exclusive. - subMap(K, K) - Method in class com.dua3.utility.lang.CompactableSortedMap
- subMap(K, K) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- subSequence(int) - Method in class com.dua3.utility.text.RichText
-
Get a subrange of this instance.
- subSequence(int, int) - Method in interface com.dua3.utility.text.AttributedCharSequence
- subSequence(int, int) - Method in class com.dua3.utility.text.RichText
-
Get a subrange of this instance.
- subSequence(int, int) - Method in class com.dua3.utility.text.RichTextBuilder
- subSequence(int, int) - Method in class com.dua3.utility.text.Run
- subSequence(int, int) - Method in class com.dua3.utility.text.SharableString
- subSequence(int, int) - Method in class com.dua3.utility.text.SharedString
- subSet(T, T) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- subSet(T, T) - Method in interface com.dua3.utility.lang.ImmutableSortedListSet
- subtract(Vector2f) - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Vector subtraction.
- suffix() - Method in record class com.dua3.utility.lang.Version
-
Returns the value of the
suffix
record component. - supplier() - Method in class com.dua3.utility.lang.BatchCollector
- supplier() - Method in class com.dua3.utility.text.RichTextJoiner
- surroundingItems(List<? extends T>, Predicate<? super T>, int, int) - Static method in class com.dua3.utility.lang.LangUtil
-
Filter surrounding items of a list.
- surroundingItems(List<? extends T>, Predicate<? super T>, int, int, BiFunction<? super Integer, ? super Integer, ? extends T>) - Static method in class com.dua3.utility.lang.LangUtil
-
Filter surrounding items of a list.
- sweep() - Method in class com.dua3.utility.math.geometry.Arc2f
-
Returns the value of the sweep property for the
Arc2f
object. - SwingDocumentFilter - Class in com.dua3.utility.swing
-
A
DocumentFilter
implementation useful for creating JTextFields that restrict input. - SwingDocumentListener - Interface in com.dua3.utility.swing
-
A helper interface that serves as a demultiplexer for
DocumentEvent
, i.e., update events received by either of the three methodsSwingDocumentListener.insertUpdate(DocumentEvent)
,SwingDocumentListener.removeUpdate(DocumentEvent)
, andSwingDocumentListener.changedUpdate(DocumentEvent)
are mapped to the single methodSwingDocumentListener.update(DocumentEvent)
. - SwingFileFilter<T> - Class in com.dua3.utility.swing
-
A FileFilter class to be used as a drop-in file filter for dialogs.
- SwingGraphics - Class in com.dua3.utility.swing
-
The SwingGraphics class implements the
Graphics
interface for rendering graphics in swing based applications. - SwingGraphics(Graphics2D, Rectangle) - Constructor for class com.dua3.utility.swing.SwingGraphics
-
Constructor.
- SwingLogFrame - Class in com.dua3.utility.swing
-
SwingLogFrame
is aJFrame
that provides a user interface component for displaying log messages. - SwingLogFrame() - Constructor for class com.dua3.utility.swing.SwingLogFrame
-
Creates a new instance of
SwingLogFrame
with the default title "Log". - SwingLogFrame(String) - Constructor for class com.dua3.utility.swing.SwingLogFrame
-
Constructs a
SwingLogFrame
with the specified title. - SwingLogFrame(String, LogBuffer) - Constructor for class com.dua3.utility.swing.SwingLogFrame
-
Constructs a new
SwingLogFrame
with the specified title and log buffer. - SwingLogPane - Class in com.dua3.utility.swing
-
A Swing component that displays logging messages.
- SwingLogPane() - Constructor for class com.dua3.utility.swing.SwingLogPane
-
Creates a new instance of SwingLogPane with the default buffer size and connects all known loggers.
- SwingLogPane(int) - Constructor for class com.dua3.utility.swing.SwingLogPane
-
Creates a new instance of SwingLogPane with the given buffer size and connects all known loggers.
- SwingLogPane(LogBuffer) - Constructor for class com.dua3.utility.swing.SwingLogPane
-
Constructs a new SwingLogPane with the given LogBuffer instance.
- SwingLogPane(LogBuffer, Function<LogEntry, Color>) - Constructor for class com.dua3.utility.swing.SwingLogPane
-
Constructs a new SwingLogPane with the given LogBuffer instance and colorize function.
- SwingProgressView<T> - Class in com.dua3.utility.swing
-
A
ProgressTracker
implementation for use in Swing applications. - SwingProgressView() - Constructor for class com.dua3.utility.swing.SwingProgressView
-
Constructor.
- SwingUtil - Class in com.dua3.utility.swing
-
Utility methods for Swing applications.
- switches() - Method in class com.dua3.utility.options.Option
-
Retrieves the list of switches associated with this option.
- sx() - Method in record class com.dua3.utility.math.geometry.Scale2f
-
Returns the value of the
sx
record component. - sy() - Method in record class com.dua3.utility.math.geometry.Scale2f
-
Returns the value of the
sy
record component. - SymmetricAlgorithm - Enum Class in com.dua3.utility.crypt
-
Enum representing symmetric encryption algorithms.
- system() - Method in record class com.dua3.utility.lang.BuildInfo
-
Returns the value of the
system
record component. - SystemInfo - Record Class in com.dua3.utility.lang
-
A record that stores detailed system information, including operating system details, Java runtime details, and JavaFX version if available.
- SystemInfo(String, String, String, String, String, String, String) - Constructor for record class com.dua3.utility.lang.SystemInfo
-
Creates an instance of a
SystemInfo
record class.
T
- tab() - Static method in class com.dua3.utility.text.RichText
-
Returns RichText containing a single tabulator.
- TableCellAutoCommit<S,
T> - Class in com.dua3.utility.fx.controls -
An editable cell in a
TableView
that commits changes upon focus lost. - TableCellAutoCommit(StringConverter<T>) - Constructor for class com.dua3.utility.fx.controls.TableCellAutoCommit
-
Constructs an EditCell with the given converter.
- TableViews - Class in com.dua3.utility.fx
-
Utility class providing methods for manipulating TableView instances.
- tag(String, String) - Static method in interface com.dua3.utility.text.HtmlTag
-
Create a new simple tag.
- tag(String, String, HtmlTag.FormattingHint) - Static method in interface com.dua3.utility.text.HtmlTag
-
Creates a new HTML tag with the specified opening and closing tags and a formatting hint.
- TagBasedConverter<T> - Class in com.dua3.utility.text
-
Base class for tag based converters.
- TagBasedConverter() - Constructor for class com.dua3.utility.text.TagBasedConverter
-
Constructs a new instance of
TagBasedConverter
. - TagBasedConverter.AttributeChange - Record Class in com.dua3.utility.text
-
Represents a change made to an attribute, capturing its old value and new value.
- TagBasedConverter.TagBasedConverterImpl<T> - Class in com.dua3.utility.text
-
Abstract base class for the tag-based converter implementation classes.
- TagBasedConverterImpl() - Constructor for class com.dua3.utility.text.TagBasedConverter.TagBasedConverterImpl
-
Constructs an instance of
TagBasedConverterImpl
. - tailMap(K) - Method in class com.dua3.utility.lang.CompactableSortedMap
- tailMap(K) - Method in class com.dua3.utility.lang.ImmutableSortedMap
- tailSet(T) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- TAN - Static variable in interface com.dua3.utility.data.Color
-
The color TAN.
- targetType() - Method in record class com.dua3.utility.options.Param
-
Returns the value of the
targetType
record component. - taskUpdater(T) - Method in interface com.dua3.utility.concurrent.ProgressTracker
-
Create task updater.
- TEAL - Static variable in interface com.dua3.utility.data.Color
-
The color TEAL.
- TeeOutputStream - Class in com.dua3.utility.io
-
An
OutputStream
implementation that writes to two different streams. - TeeOutputStream(OutputStream, boolean, OutputStream, boolean) - Constructor for class com.dua3.utility.io.TeeOutputStream
-
Constructor.
- test(LogEntry) - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
- test(LogEntry) - Method in interface com.dua3.utility.logging.LogEntryFilter
-
Test if a
LogEntry
should be processed. - text() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns the value of the
text
record component. - text() - Method in record class com.dua3.utility.text.HtmlConverter.HeaderStyle
-
Returns the value of the
text
record component. - text(String) - Method in class com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
-
Set text for the Labeled.
- text(String) - Static method in class com.dua3.utility.fx.controls.Controls
-
Creates and returns a new instance of TextBuilder.
- text(String) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a static text without label.
- text(String) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- text(String) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- text(String) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- text(String) - Method in class com.dua3.utility.fx.controls.TextFieldBuilder
-
Sets the text for the TextField being constructed.
- text(String, Object...) - Method in class com.dua3.utility.fx.controls.AlertBuilder
-
Set text.
- text(String, Object...) - Method in class com.dua3.utility.fx.controls.AlertPaneBuilder
-
Sets the text content of the alert dialog.
- text(String, String) - Method in interface com.dua3.utility.fx.controls.InputBuilder
-
Add a static text without label.
- text(String, String) - Method in class com.dua3.utility.fx.controls.InputDialogBuilder
- text(String, String) - Method in class com.dua3.utility.fx.controls.InputGridBuilder
- text(String, String) - Method in class com.dua3.utility.fx.controls.InputPaneBuilder
- text(ObservableValue<String>) - Static method in class com.dua3.utility.fx.controls.Controls
-
Creates and returns a new instance of TextBuilder.
- TEXT - Enum constant in enum class com.dua3.utility.fx.controls.TextFieldType
-
Represents plain text input in a text field.
- TEXT_DECORATION_LINE_THROUGH - Static variable in class com.dua3.utility.text.Style
-
property name for the line-through text decoration
- TEXT_DECORATION_LINE_THROUGH_VALUE_LINE - Static variable in class com.dua3.utility.text.Style
-
Indicates that text decoration line-through should be applied.
- TEXT_DECORATION_LINE_THROUGH_VALUE_NO_LINE - Static variable in class com.dua3.utility.text.Style
-
Indicates that text decoration line-through should not be applied.
- TEXT_DECORATION_UNDERLINE - Static variable in class com.dua3.utility.text.Style
-
property name for the underline text decoration
- TEXT_DECORATION_UNDERLINE_VALUE_LINE - Static variable in class com.dua3.utility.text.Style
-
Indicates that text decoration underline should be applied.
- TEXT_DECORATION_UNDERLINE_VALUE_NO_LINE - Static variable in class com.dua3.utility.text.Style
-
Indicates that text decoration underline should not be applied.
- TEXT_INDENT_LEFT - Static variable in class com.dua3.utility.text.Style
-
text indentation
- TEXT_INDENT_LEFT_VALUE_0 - Static variable in class com.dua3.utility.text.Style
-
Represents the left text indentation value of 0.
- TEXT_INDENT_LEFT_VALUE_1 - Static variable in class com.dua3.utility.text.Style
-
Represents the left text indentation value of 40 points.
- textAndFontEquals(RichText, RichText) - Static method in class com.dua3.utility.text.RichText
-
Check if texts and style are equal, ignoring other attributes.
- TextAttributes - Class in com.dua3.utility.text
-
An immutable set of text attributes.
- TextBuilder - Class in com.dua3.utility.fx.controls
-
An abstract base class for building nodes, providing a fluent API for configuring and creating instances of the node type specified by the generic parameter
N
. - TextBuilder(String) - Constructor for class com.dua3.utility.fx.controls.TextBuilder
-
Constructs a new instance of the ControlBuilder class using the specified factory.
- TextBuilder(ObservableValue<String>) - Constructor for class com.dua3.utility.fx.controls.TextBuilder
-
Constructs a new instance of the ControlBuilder class using the specified factory.
- textDelimiter(Supplier<Character>) - Static method in class com.dua3.utility.io.IoOptions
-
Creates an option for specifying the text delimiter for quoted texts.
- textEquals(Run) - Method in class com.dua3.utility.text.Run
-
Compare text ignoring attributes.
- textField(Locale) - Static method in class com.dua3.utility.fx.controls.Controls
-
Get TextFieldBuilder for creating a TextField.
- TextFieldBuilder - Class in com.dua3.utility.fx.controls
-
A builder class for constructing customized TextFields.
- TextFieldType - Enum Class in com.dua3.utility.fx.controls
-
A type enum for text fields.
- texts() - Method in record class com.dua3.utility.text.RichTextJoiner.AccumulationType
-
Returns the value of the
texts
record component. - TextUtil - Class in com.dua3.utility.text
-
Text-related utility class.
- theoreticalEntropy() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Returns the value of the
theoreticalEntropy
record component. - THISTLE - Static variable in interface com.dua3.utility.data.Color
-
The color THISTLE.
- throwable() - Method in class com.dua3.utility.logging.log4j.LogEntryLog4J
- throwable() - Method in interface com.dua3.utility.logging.LogEntry
-
Returns the throwable object associated with this LogEntry.
- throwable() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns the value of the
throwable
record component. - throwable() - Method in class com.dua3.utility.logging.slf4j.LogEntrySlf4j
- time() - Method in class com.dua3.utility.logging.log4j.LogEntryLog4J
- time() - Method in interface com.dua3.utility.logging.LogEntry
-
Returns the time when the logging event was created as an Instant object.
- time() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns the value of the
time
record component. - time() - Method in class com.dua3.utility.logging.slf4j.LogEntrySlf4j
- timeFormatter - Variable in class com.dua3.utility.io.CsvIo
-
The formatter used for formatting time values.
- title(String) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the title for the about dialog.
- title(String) - Method in class com.dua3.utility.fx.controls.WizardDialogBuilder
-
Sets the title for the wizard dialog being built.
- title(String, Object...) - Method in class com.dua3.utility.fx.controls.abstract_builders.DialogBuilder
-
Set dialog title.
- toArgb() - Method in interface com.dua3.utility.data.Color
-
Get hex-string in ARGB form for this color.
- toArray() - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- toArray() - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- toArray() - Method in class com.dua3.utility.lang.RingBuffer
- toArray() - Method in class com.dua3.utility.logging.LogBuffer
-
Converts the LogBuffer into an array of LogEntry objects.
- toArray(T1[]) - Method in class com.dua3.utility.lang.ImmutableListBackedSortedSet
- toArray(T1[]) - Method in class com.dua3.utility.lang.ReversedSequencedCollectionWrapper
- toArray(U[]) - Method in class com.dua3.utility.lang.RingBuffer
- toByteArray() - Method in interface com.dua3.utility.data.Color
-
Get the color components.
- toByteArray() - Method in class com.dua3.utility.data.CompressedBytes
-
Converts the compressed data stored in this instance into a byte array by decompressing it.
- toByteArray(char[]) - Static method in class com.dua3.utility.text.TextUtil
-
Convert a char array to a byte array using UTF-8 encoding.
- toByteArray(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Convert a char array to a byte array using UTF-8 encoding.
- toByteArray(UUID) - Static method in class com.dua3.utility.lang.LangUtil
-
Converts the given UUID to a byte array representation.
- toByteArrayRGB() - Method in interface com.dua3.utility.data.Color
-
Get the color components.
- toCharArray(byte[]) - Static method in class com.dua3.utility.text.TextUtil
-
Convert a byte array to a char array using UTF-8 encoding.
- toCharArray(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
Converts a
CharSequence
into achar[]
array. - toCss() - Method in interface com.dua3.utility.data.Color
-
Get CSS compatible string representation of this color.
- toFontDef() - Method in class com.dua3.utility.text.Font
-
Get a
FontDef
instance with all fields set according to this font. - toggleButton() - Static method in class com.dua3.utility.fx.controls.Controls
-
Create
ButtonBuilder
instance for toggle buttons. - toggleButton(boolean) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create
ButtonBuilder
instance for toggle buttons. - ToggleButtonBuilder - Class in com.dua3.utility.fx.controls
-
The ToggleButtonBuilder class is a utility class for constructing ToggleButton instances with properties configured using a fluent API.
- toHSVColor() - Method in interface com.dua3.utility.data.Color
-
Convert this color to
HSVColor
. - toHSVColor() - Method in record class com.dua3.utility.data.HSVColor
- toImageBuffer(Image) - Method in interface com.dua3.utility.data.ImageUtil
-
Convert
Image
toImageBuffer
. - toKeyPair(byte[], byte[], AsymmetricAlgorithm) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Creates a
KeyPair
using the given public and private key byte arrays. - toLocalDate(Object) - Static method in class com.dua3.utility.db.DbUtil
-
Get
LocalDate
from SQL result. - toLocalDateTime(Object) - Static method in class com.dua3.utility.db.DbUtil
-
Get
LocalDateTime
from SQL result. - toLocalTime(Object) - Static method in class com.dua3.utility.db.DbUtil
-
Get
LocalTime
from SQL result. - TOMATO - Static variable in interface com.dua3.utility.data.Color
-
The color TOMATO.
- toMatrixString() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
a string representation of the matrix elements for the affine transformation.
- toMatrixString(Locale) - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
a string representation of the matrix elements for the affine transformation.
- toObservableValue(Value<T>) - Static method in class com.dua3.utility.fx.FxUtil
-
Converts a
Value
object into anObservableValue
. - tooltip(String) - Method in class com.dua3.utility.fx.controls.abstract_builders.ControlBuilder
-
Set the tooltip for the control.
- TooltipConfig - Record Class in com.dua3.utility.fx.controls
-
A record holding tooltip durations.
- TooltipConfig(Duration, Duration, Duration) - Constructor for record class com.dua3.utility.fx.controls.TooltipConfig
-
Creates an instance of a
TooltipConfig
record class. - tooltipIcon(String, int, Color, String) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create an Icon with a tooltip.
- tooltipIcon(String, int, Paint, String) - Static method in class com.dua3.utility.fx.controls.Controls
-
Create an Icon with a tooltip.
- TOP - Enum constant in enum class com.dua3.utility.fx.controls.Position
-
The top position.
- TOP - Enum constant in enum class com.dua3.utility.text.VerticalAlignment
-
Align top.
- TOP - Enum constant in enum class com.dua3.utility.ui.Graphics.VAnchor
-
Align the top of the element.
- toPath(String) - Static method in class com.dua3.utility.io.IoUtil
-
Convert string to Path.
- toPath(URI) - Static method in class com.dua3.utility.io.IoUtil
- toPath(URL) - Static method in class com.dua3.utility.io.IoUtil
-
Get URI for URL.
- toPem(T...) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Converts one or more certificates into their PEM-encoded string representation.
- toPrivateKey(byte[]) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Converts a byte array representing a private key into a
PrivateKey
object using the default key generation algorithm. - toPrivateKey(byte[], AsymmetricAlgorithm) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Converts a given byte array into a
PrivateKey
instance using the specified algorithm. - toPublicKey(byte[]) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Converts a byte array into a
PublicKey
using the default key generation algorithm. - toPublicKey(byte[], AsymmetricAlgorithm) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Converts the provided byte array into a
PublicKey
instance using the specified algorithm. - toReader() - Method in class com.dua3.utility.data.CompressedCharacters
-
Converts the underlying compressed byte data into a
Reader
for reading the decompressed character stream using UTF-8 encoding. - toRepetitions() - Method in enum class com.dua3.utility.options.Param.Required
-
Converts the current
Required
instance to a correspondingRepetitions
value. - toRgba() - Method in interface com.dua3.utility.data.Color
-
Get hex-string in RGBA form for this color.
- toRGBColor() - Method in interface com.dua3.utility.data.Color
-
Convert this color to
RGBColor
. - toRGBColor() - Method in record class com.dua3.utility.data.RGBColor
- toRichText() - Method in class com.dua3.utility.text.RichText
- toRichText() - Method in class com.dua3.utility.text.RichTextBuilder
-
Convert to RichText.
- toRichText() - Method in interface com.dua3.utility.text.ToRichText
-
Get RichText representation of this object (similar to
toString()
). - ToRichText - Interface in com.dua3.utility.text
-
An interface for classes that can be represented as RichText.
- toSecretKey(byte[]) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Create a SecretKey from a byte array using the default algorithm.
- toSecretKey(byte[], SymmetricAlgorithm) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Converts the provided byte array into a
SecretKey
using the specified symmetric algorithm. - toString() - Method in class com.dua3.utility.concurrent.SimpleValue
- toString() - Method in record class com.dua3.utility.crypt.PasswordUtil.PasswordStrength
-
Returns a string representation of this record class.
- toString() - Method in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
- toString() - Method in class com.dua3.utility.data.Cache
- toString() - Method in class com.dua3.utility.data.CompressedCharacters
-
Returns the decompressed textual representation of the compressed data as a
String
. - toString() - Method in class com.dua3.utility.data.FileTreeNode
- toString() - Method in record class com.dua3.utility.data.Histogram.Entry
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.data.HSVColor
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.data.ImageBuffer
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.data.Pair
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.data.RGBColor
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.db.JdbcDriverInfo
- toString() - Method in class com.dua3.utility.db.NamedParameterStatement.ParameterInfo
- toString() - Method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.fx.controls.PinBoard.BoardPosition
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.fx.controls.PinBoard.Item
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.fx.controls.PinBoard.PositionInItem
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.fx.controls.PinBoard
- toString() - Method in record class com.dua3.utility.fx.controls.ScrollPosition
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.fx.controls.TooltipConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.fx.FxStandardImage
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.fx.icons.IconView
- toString() - Method in record class com.dua3.utility.fx.ValidationResult
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.io.FileSystemView
- toString() - Method in enum class com.dua3.utility.io.PredefinedDateTimeFormat
- toString() - Method in class com.dua3.utility.io.SoftResource.ResourceHolder
- toString() - Method in record class com.dua3.utility.lang.BuildInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.lang.NamedFunction
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.lang.RingBuffer
- toString() - Method in class com.dua3.utility.lang.Stopwatch
- toString() - Method in record class com.dua3.utility.lang.SystemInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.lang.Version
-
Returns a string representation of this record class.
- toString() - Method in exception class com.dua3.utility.lang.WrappedException
- toString() - Method in class com.dua3.utility.logging.log4j.LogEntryLog4J
- toString() - Method in record class com.dua3.utility.logging.LogBuffer.BufferState
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.logging.SimpleLogEntry
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.logging.slf4j.LogEntrySlf4j
- toString() - Method in class com.dua3.utility.math.geometry.AbstractCurve2f
- toString() - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.math.geometry.Arc2f
- toString() - Method in class com.dua3.utility.math.geometry.ClosePath2f
- toString() - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.math.geometry.Line2f
- toString() - Method in class com.dua3.utility.math.geometry.MoveTo2f
- toString() - Method in class com.dua3.utility.math.geometry.Path2f
- toString() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.math.geometry.Scale2f
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.math.geometry.Segment2f
- toString() - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.options.Arguments
- toString() - Method in record class com.dua3.utility.options.Param
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.options.Repetitions
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.swing.ArgumentsDialog.ArgumentsPanel.OptionInput
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.swing.StyledDocumentConversionOption
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.text.AnsiConversionOption
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.text.ComparisonSettings
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.text.Font
- toString() - Method in record class com.dua3.utility.text.FontData
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.text.FontDef
- toString() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.text.FragmentedText
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.text.HtmlConversionOption
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.text.HtmlConverter.HeaderStyle
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.text.RichText
- toString() - Method in class com.dua3.utility.text.RichTextBuilder
- toString() - Method in record class com.dua3.utility.text.RichTextJoiner.AccumulationType
-
Returns a string representation of this record class.
- toString() - Method in class com.dua3.utility.text.Run
- toString() - Method in class com.dua3.utility.text.SharableString
- toString() - Method in class com.dua3.utility.text.SharedString
- toString() - Method in class com.dua3.utility.text.Style
- toString() - Method in record class com.dua3.utility.text.TagBasedConverter.AttributeChange
-
Returns a string representation of this record class.
- toString() - Method in record class com.dua3.utility.xml.XmlUtil.DocumentWithNamespace
-
Returns a string representation of this record class.
- toString(Object, String) - Static method in class com.dua3.utility.text.TextUtil
-
Returns a string representation of the specified object.
- toStringListMapper() - Static method in class com.dua3.utility.options.OptionBuilder
-
Returns a function that maps an array of objects to a list of strings.
- toSystemLineEnds(String) - Static method in class com.dua3.utility.text.TextUtil
-
Convert all line ends to system convention.
- totalAdded() - Method in record class com.dua3.utility.logging.LogBuffer.BufferState
-
Returns the value of the
totalAdded
record component. - totalRemoved() - Method in record class com.dua3.utility.logging.LogBuffer.BufferState
-
Returns the value of the
totalRemoved
record component. - toUnixLineEnds(String) - Static method in class com.dua3.utility.text.TextUtil
-
Convert all line ends to Unix convention.
- toUnixPath(Path) - Static method in class com.dua3.utility.io.IoUtil
-
Convert path to a string using the unix path separator (forward slash).
- toURI(String) - Static method in class com.dua3.utility.io.IoUtil
-
Convert string to URI.
- toURI(URL) - Static method in class com.dua3.utility.io.IoUtil
-
Get URI for URL.
- toURI(Path) - Static method in class com.dua3.utility.io.IoUtil
-
Get the
URI
for a path. - toURL(String) - Static method in class com.dua3.utility.io.IoUtil
-
Get URL for string.
- toURL(URI) - Static method in class com.dua3.utility.io.IoUtil
-
Get URL for URI.
- toURL(Path) - Static method in class com.dua3.utility.io.IoUtil
-
Get URL for path.
- toWindowsLineEnds(String) - Static method in class com.dua3.utility.text.TextUtil
-
Convert all line ends to Windows convention.
- toX509Certificate(byte[]) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Converts a byte array representing an encoded X.509 certificate into an
X509Certificate
object. - toX509Certificate(String) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Reads and parses an X.509 certificate from a PEM-encoded string.
- toX509CertificateChain(String) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Converts a PEM-encoded string containing one or more X.509 certificates into an array of
X509Certificate
instances. - trace(JSObject) - Method in class com.dua3.utility.fx.web.WebViews.JSLogger
-
Logs a trace message with the formatted message obtained from the provided JSObject argument.
- TRACE - Enum constant in enum class com.dua3.utility.logging.LogLevel
-
TRACE log level.
- transform(float, float) - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Transform vector by applying this affine transformation to it.
- transform(float, float) - Method in interface com.dua3.utility.ui.Graphics
-
Calculates the transformation of a point.
- transform(AffineTransformation2f...) - Method in interface com.dua3.utility.ui.Graphics
-
Apply the given transformations to this
Graphics
instance. - transform(Vector2f) - Method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Transform vector by applying this affine transformation to it.
- transform(Vector2f) - Method in interface com.dua3.utility.ui.Graphics
-
Calculates the transformation of a point.
- transform(RichText, Function<? super String, RichText>) - Static method in class com.dua3.utility.text.TextUtil
-
Transform a templated String.
- transform(String, Iterable<? extends Map.Entry<String, ?>>) - Static method in class com.dua3.utility.text.TextUtil
-
Transforms a given template string by replacing placeholders with corresponding values from substitutions.
- transform(String, Function<? super String, String>) - Static method in class com.dua3.utility.text.TextUtil
-
Transform a templated String.
- transform(String, Map.Entry<String, ?>...) - Static method in class com.dua3.utility.text.TextUtil
-
Transform a templated String.
- transform(String, Map<String, ?>) - Static method in class com.dua3.utility.text.TextUtil
-
Takes a template string and a map of substitutions, and returns a transformed string
- transform(T, Function<? super String, ? extends T>, Consumer<? super CharSequence>) - Static method in class com.dua3.utility.text.TextUtil
-
Transform a templated Text.
- translate(float, float) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Create an affine transformation for a translation
(x,y) -> (x+u,y+v)
. - translate(float, float) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Translates the rectangle by the specified amounts in the x and y directions.
- translate(float, float) - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Translates the vector by the specified amounts in the x and y directions.
- translate(LogLevel) - Static method in class com.dua3.utility.logging.log4j.LogUtilLog4J
-
Translates a
LogLevel
object to a Log4JLevel
object. - translate(Vector2f) - Static method in record class com.dua3.utility.math.geometry.AffineTransformation2f
-
Create an affine transformation for a translation.
- translate(Vector2f) - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Translates the rectangle by the specified amounts in the x and y directions.
- translate(Level) - Static method in class com.dua3.utility.logging.log4j.LogUtilLog4J
-
Translates a Log4J Level object to a custom LogLevel object.
- TRANSPARENT_BLACK - Static variable in interface com.dua3.utility.data.Color
-
The color TRANSPARENT.
- TRANSPARENT_WHITE - Static variable in interface com.dua3.utility.data.Color
-
The color TRANSPARENT.
- tree(Path) - Static method in class com.dua3.utility.data.FileTreeNode
-
Create a lazily populated FileTree with the given path as its root.
- tree(Path, boolean) - Static method in class com.dua3.utility.data.FileTreeNode
-
Create FileTree with the given path as its root.
- TreeNode<N> - Interface in com.dua3.utility.data
-
Interface for tree nodes.
- trim() - Method in class com.dua3.utility.text.RichText
-
Remove leading and trailing whitespace, defined as "any character whose codepoint is less than or equal to
'U+0020'
(the space character)". - trimWithByteOrderMark(String) - Static method in class com.dua3.utility.lang.LangUtil
-
Trim string, remove prepending byte order mark.
- triStateSelect(Boolean, T, T, T) - Static method in class com.dua3.utility.lang.LangUtil
-
Select argument based on tri-state logic.
- TRUE - Static variable in class com.dua3.utility.fx.FxUtil
-
A constant ObservableBooleanValue that always holds the value
true
. - TURQUOISE - Static variable in interface com.dua3.utility.data.Color
-
The color TURQUOISE.
- TWO_PI - Static variable in class com.dua3.utility.math.MathUtil
-
Represents the constant 2π (in degrees: 360°).
- type() - Method in record class com.dua3.utility.fx.controls.InputDialogPane.ButtonDef
-
Returns the value of the
type
record component. - type(TextFieldType) - Method in class com.dua3.utility.fx.controls.TextFieldBuilder
-
Sets the type of the TextField.
U
- uncheckedConsumer(LangUtil.ConsumerThrows<T, E>) - Static method in class com.dua3.utility.lang.LangUtil
-
Helper method that converts checked
IOException
toUncheckedIOException
and other checked exceptions toWrappedException
. - uncheckedFunction(LangUtil.FunctionThrows<T, R, E>) - Static method in class com.dua3.utility.lang.LangUtil
-
Helper method that converts checked
IOException
toUncheckedIOException
and other checked exceptions toWrappedException
. - uncheckedRunnable(LangUtil.RunnableThrows<E>) - Static method in class com.dua3.utility.lang.LangUtil
-
Helper method that converts checked
IOException
toUncheckedIOException
. - uncheckedSupplier(LangUtil.SupplierThrows<? extends T, E>) - Static method in class com.dua3.utility.lang.LangUtil
-
Helper method that converts checked
IOException
toUncheckedIOException
and other checked exceptions toWrappedException
. - underline() - Method in record class com.dua3.utility.text.FontData
-
Returns the value of the
underline
record component. - underline(boolean) - Static method in class com.dua3.utility.io.AnsiCode
-
Set underline output.
- underline(boolean) - Static method in class com.dua3.utility.text.FontDef
-
Create FontDef instance with only the underline field set.
- UNDERLINE - Static variable in class com.dua3.utility.text.Style
-
Underline style.
- UNDERLINE_OFF - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: disable UNDERLINE output.
- UNDERLINE_ON - Static variable in class com.dua3.utility.io.AnsiCode
-
ESC: enable UNDERLINE output.
- unescapeHtml(CharSequence) - Static method in class com.dua3.utility.text.TextUtil
-
HTML-unescape a string.
- union(Rectangle2D, Rectangle2D) - Static method in class com.dua3.utility.fx.FxUtil
-
Create the union of two rectangles.
- UNKNOWN - Enum constant in enum class com.dua3.utility.lang.Platform
-
Unknown operating system.
- UnmodifiableArrayListWrapper<T> - Class in com.dua3.utility.lang
-
A simple unmodifiable wrapper for an array that implements the
List
interface. - UnmodifiableArrayListWrapper(T...) - Constructor for class com.dua3.utility.lang.UnmodifiableArrayListWrapper
-
Constructs an unmodifiable wrapper around the provided array of elements.
- UnsupportedFileTypeException(String) - Constructor for exception class com.dua3.utility.fx.controls.Dialogs.UnsupportedFileTypeException
-
Constructs a new UnsupportedFileTypeException with a specified detail message.
- UnsupportedFileTypeException(String, Path) - Constructor for exception class com.dua3.utility.fx.controls.Dialogs.UnsupportedFileTypeException
-
Constructs a new
UnsupportedFileTypeException
with the specified detail message and an optional file path associated with the exception. - unwrap(Class<T>) - Method in class com.dua3.utility.db.JdbcDataSource
- unzip(URL, Path) - Static method in class com.dua3.utility.io.IoUtil
-
Unzips the contents of a ZIP file to the specified destination directory.
- unzip(URL, Path, long, long, double) - Static method in class com.dua3.utility.io.IoUtil
-
Unzips the contents of a ZIP file to the specified destination directory with safety limits.
- update(double) - Method in class com.dua3.utility.concurrent.ProgressTracker.TaskUpdater
-
Update progress of task.
- update(double) - Method in interface com.dua3.utility.concurrent.ProgressView.ProgressIndicator
-
Update task progress.
- update(int, int) - Method in class com.dua3.utility.concurrent.ProgressTracker.TaskUpdater
-
Update progress of task.
- update(int, int) - Method in interface com.dua3.utility.concurrent.ProgressView.ProgressIndicator
-
Update task progress.
- update(DocumentEvent) - Method in interface com.dua3.utility.swing.SwingDocumentListener
-
Document event handling method.
- update(T, double) - Method in interface com.dua3.utility.concurrent.ProgressTracker
-
Update task progress.
- update(T, double) - Method in class com.dua3.utility.concurrent.ProgressView
- update(T, double) - Method in class com.dua3.utility.fx.controls.ProgressView
- update(T, double) - Method in class com.dua3.utility.swing.SwingProgressView
- update(T, int, int) - Method in interface com.dua3.utility.concurrent.ProgressTracker
-
Update task progress.
- update(T, int, int) - Method in class com.dua3.utility.concurrent.ProgressView
- update(T, int, int) - Method in class com.dua3.utility.fx.controls.ProgressView
- update(T, int, int) - Method in class com.dua3.utility.swing.SwingProgressView
- updateAndScrollToBottom(JScrollPane, Runnable) - Static method in class com.dua3.utility.swing.SwingUtil
-
Execute update and scroll to bottom.
- updateAndScrollToEnd(JScrollBar, Runnable) - Static method in class com.dua3.utility.swing.SwingUtil
-
Execute update and scroll to end.
- updateLoggers() - Static method in class com.dua3.utility.logging.log4j.LogUtilLog4J
-
Updates all loggers to add the global appender and refresh their configurations.
- updateTaskMessage(Task<?>, String) - Method in class com.dua3.utility.fx.controls.StatusBar
- updateTaskMessage(Task<?>, String) - Method in interface com.dua3.utility.fx.FxTaskTracker
-
Updates the message associated with a specified task.
- updateTaskProgress(Task<?>, double) - Method in class com.dua3.utility.fx.controls.StatusBar
- updateTaskProgress(Task<?>, double) - Method in interface com.dua3.utility.fx.FxTaskTracker
-
Updates the progress of a given task.
- updateTaskState(Task<?>, Worker.State) - Method in class com.dua3.utility.fx.controls.StatusBar
- updateTaskState(Task<?>, Worker.State) - Method in interface com.dua3.utility.fx.FxTaskTracker
-
Updates the state of the specified task.
- updateTaskTitle(Task<?>, String) - Method in class com.dua3.utility.fx.controls.StatusBar
- updateTaskTitle(Task<?>, String) - Method in interface com.dua3.utility.fx.FxTaskTracker
-
Updates the title of a given task.
- urlPrefix - Variable in class com.dua3.utility.db.JdbcDriverInfo
-
URL prefix used by this driver (used to identify the correct driver to use when accessing a database URL).
- urlScheme - Variable in class com.dua3.utility.db.JdbcDriverInfo
-
The URL scheme for JDBC connections used by this driver.
- useCss(boolean) - Static method in class com.dua3.utility.text.HtmlConverter
-
Use CSS in output.
- UTF_BYTE_ORDER_MARK - Static variable in class com.dua3.utility.lang.LangUtil
-
The byte order mark in UTF files
V
- v() - Method in record class com.dua3.utility.data.HSVColor
-
Returns the value of the
v
record component. - valid - Variable in class com.dua3.utility.fx.controls.InputDialogPane
-
Represents a property that indicates whether the current state of the input dialog pane is valid.
- valid - Variable in class com.dua3.utility.fx.controls.InputGrid
-
A
BooleanProperty
representing the overall validity state of the input grid. - validate() - Method in record class com.dua3.utility.options.Param
-
Returns the value of the
validate
record component. - validate(Collection<? extends Option<?>>) - Method in class com.dua3.utility.options.Arguments
-
Validates a collection of options.
- validate(Function<Path, Optional<String>>) - Method in class com.dua3.utility.fx.controls.FileInputBuilder
-
Sets the validation function for the file input.
- validate(Predicate<? super String>) - Method in class com.dua3.utility.fx.controls.PromptBuilder
-
Sets the validation logic for the input prompt.
- validate(O...) - Method in class com.dua3.utility.options.Arguments
-
Validates a variable number of options.
- validateAll() - Method in class com.dua3.utility.fx.controls.Validator
-
Validate all rules of this validator, update decorations, and update value of validProperty.
- validateAsymmetricEncryptionKey(PublicKey, int) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Validates the provided asymmetric encryption key to ensure it satisfies the requirements for encrypting data of the specified length.
- validateAsymmetricKeySize(AsymmetricAlgorithm, int) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Validates the size of an asymmetric key based on the specified algorithm.
- validateKeySize(int) - Method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Validates that the given key size is valid for this algorithm.
- validateSymmetricKey(Key, SymmetricAlgorithm) - Static method in class com.dua3.utility.crypt.KeyUtil
-
Validates a symmetric key for use with the specified algorithm.
- ValidationResult - Record Class in com.dua3.utility.fx
-
Represents the result of a validation process performed on a Control.
- ValidationResult(Control, ValidationResult.Level, String) - Constructor for record class com.dua3.utility.fx.ValidationResult
-
Creates an instance of a
ValidationResult
record class. - ValidationResult.Level - Enum Class in com.dua3.utility.fx
-
Enum representing the level of a validation result.
- Validator - Class in com.dua3.utility.fx.controls
-
The Validator class is used for validating controls in a JavaFX application.
- Validator() - Constructor for class com.dua3.utility.fx.controls.Validator
-
Creates a Validator instance without assigning a resource bundle.
- Validator(ResourceBundle) - Constructor for class com.dua3.utility.fx.controls.Validator
-
^ Creates a Validator instance.
- validityDays(int) - Method in interface com.dua3.utility.crypt.X509CertificateBuilder
-
Sets the validity period of the certificate by specifying the number of days from the current date that the certificate should remain valid.
- validProperty() - Method in class com.dua3.utility.fx.controls.ChoiceInputControl
- validProperty() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
- validProperty() - Method in class com.dua3.utility.fx.controls.FileInput
- validProperty() - Method in class com.dua3.utility.fx.controls.InputControl.State
-
Provides a read-only boolean property indicating the validity state.
- validProperty() - Method in interface com.dua3.utility.fx.controls.InputControl
-
Provides a read-only property representing the validity of the input.
- validProperty() - Method in class com.dua3.utility.fx.controls.InputDialogPane
-
Get valid state property.
- validProperty() - Method in class com.dua3.utility.fx.controls.InputGrid
-
Get valid state property.
- validProperty() - Method in class com.dua3.utility.fx.controls.OptionsPane
- validProperty() - Method in class com.dua3.utility.fx.controls.RadioPane
- validProperty() - Method in class com.dua3.utility.fx.controls.SimpleInputControl
- validProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
- validProperty() - Method in class com.dua3.utility.fx.controls.Validator
-
Returns the read-only boolean property indicating the validity of all controls.
- value(double) - Method in class com.dua3.utility.fx.controls.SliderBuilder
-
Sets the value of the slider to the specified value.
- Value<T> - Interface in com.dua3.utility.concurrent
-
Represents a mutable value of type T.
- valueAsDoubleProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Gets the value property of the slider as a DoubleProperty.
- valueChangingProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Retrieves the value changing property of the slider.
- valueOf(char) - Static method in class com.dua3.utility.text.RichText
-
Convert char to RichText.
- valueOf(char, Style...) - Static method in class com.dua3.utility.text.RichText
-
Convert char to RichText.
- valueOf(char, Collection<Style>) - Static method in class com.dua3.utility.text.RichText
-
Convert char to RichText.
- valueOf(int) - Static method in record class com.dua3.utility.data.HSVColor
-
Create HSVColor from packed ARGB integer value.
- valueOf(int) - Static method in record class com.dua3.utility.data.RGBColor
-
Create color from ARGB value.
- valueOf(Object) - Static method in class com.dua3.utility.text.RichText
-
Get RichText containing an objects string representation.
- valueOf(Object, Style...) - Static method in class com.dua3.utility.text.RichText
-
Get styled RichText containing an object's string representation.
- valueOf(Object, Collection<Style>) - Static method in class com.dua3.utility.text.RichText
-
Get styled RichText containing an object's string representation.
- valueOf(String) - Static method in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.crypt.InputBufferHandling
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.data.Cache.ReferenceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in interface com.dua3.utility.data.Color
-
Convert String to Color.
- valueOf(String) - Static method in enum class com.dua3.utility.fx.controls.FileDialogMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.fx.controls.Position
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.fx.controls.SliderWithButtons.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.fx.controls.TextFieldType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.fx.ValidationResult.Level
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.io.FileSystemView.Flags
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.io.OpenMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.lang.Platform
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.lang.Stopwatch.Format
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in record class com.dua3.utility.lang.Version
-
Parse a version string and return a Version object.
- valueOf(String) - Static method in enum class com.dua3.utility.logging.LogLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.math.geometry.FillRule
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.options.Param.Required
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.swing.FileInput.SelectionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.text.Alignment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.text.FontType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.text.FontUtil.FontTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.text.HtmlTag.TagType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in class com.dua3.utility.text.RichText
-
Convert String to RichText.
- valueOf(String) - Static method in enum class com.dua3.utility.text.StandardFontMapper
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.text.VerticalAlignment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.ui.Graphics.HAnchor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.ui.Graphics.TextRotationMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.ui.Graphics.TextWrapping
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dua3.utility.ui.Graphics.VAnchor
-
Returns the enum constant of this class with the specified name.
- valueProperty() - Method in class com.dua3.utility.fx.controls.ChoiceInputControl
- valueProperty() - Method in class com.dua3.utility.fx.controls.ComboBoxEx
- valueProperty() - Method in class com.dua3.utility.fx.controls.FileInput
- valueProperty() - Method in class com.dua3.utility.fx.controls.InputControl.State
-
Returns the property representing the value managed by this State.
- valueProperty() - Method in interface com.dua3.utility.fx.controls.InputControl
-
Provides the property representing the value of this input control.
- valueProperty() - Method in class com.dua3.utility.fx.controls.OptionsPane
- valueProperty() - Method in class com.dua3.utility.fx.controls.RadioPane
- valueProperty() - Method in class com.dua3.utility.fx.controls.SimpleInputControl
- valueProperty() - Method in class com.dua3.utility.fx.controls.SliderWithButtons
-
Gets the value property of the slider.
- values() - Static method in enum class com.dua3.utility.concurrent.ProgressTracker.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.crypt.AsymmetricAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.crypt.InputBufferHandling
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.crypt.SymmetricAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.data.Cache.ReferenceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in interface com.dua3.utility.data.Color
-
Get Iterable over all declared color values.
- values() - Static method in enum class com.dua3.utility.fx.controls.FileDialogMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.fx.controls.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.fx.controls.SliderWithButtons.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.fx.controls.TextFieldType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.fx.ValidationResult.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.io.FileSystemView.Flags
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.io.OpenMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.io.PredefinedDateTimeFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class com.dua3.utility.lang.CompactableSortedMap
- values() - Method in class com.dua3.utility.lang.ImmutableSortedMap
- values() - Static method in enum class com.dua3.utility.lang.Platform
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.lang.Stopwatch.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.logging.LogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.math.geometry.FillRule
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.options.Param.Required
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.swing.FileInput.SelectionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.text.Alignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.text.FontType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.text.FontUtil.FontTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.text.HtmlTag.FormattingHint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.text.HtmlTag.TagType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.text.StandardFontMapper
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.text.VerticalAlignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.ui.Graphics.HAnchor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.ui.Graphics.TextRotationMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.ui.Graphics.TextWrapping
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dua3.utility.ui.Graphics.VAnchor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector2f - Record Class in com.dua3.utility.math.geometry
-
An immutable 2-dimensional vector using float coordinates.
- Vector2f(float, float) - Constructor for record class com.dua3.utility.math.geometry.Vector2f
-
Creates an instance of a
Vector2f
record class. - verify(PublicKey, byte[], byte[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.SignatureUtil
-
Verify a digital signature.
- verify(PublicKey, char[], byte[], InputBufferHandling) - Static method in class com.dua3.utility.crypt.SignatureUtil
-
Verify a digital signature for text.
- verify(PublicKey, CharSequence, byte[]) - Static method in class com.dua3.utility.crypt.SignatureUtil
-
Verify a digital signature for text.
- verifyArgon2id(byte[], byte[], String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Verifies the provided input against a given Argon2id hash and salt combination.
- verifyArgon2id(byte[], String, String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Verifies an Argon2id hash by comparing the provided input, pepper, and the combined salt and hash string.
- verifyArgon2id(byte[], SecretKey, String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Verifies if the input data, when combined with the provided secret key and salt, produces the same Argon2id hash as the one specified in the saltAndHash string.
- verifyArgon2id(String, byte[], String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Verifies if the input string, along with a secret, matches the provided Argon2id hash.
- verifyArgon2id(String, String, String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Verifies if the provided input, combined with a pepper, matches the given Argon2id-derived hash.
- verifyArgon2id(String, SecretKey, String) - Static method in class com.dua3.utility.crypt.CryptUtil
-
Verifies whether the provided input matches the given Argon2id hash.
- verifyCertificateChain(T...) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Verifies the validity of a given X.509 certificate chain.
- version() - Method in record class com.dua3.utility.lang.BuildInfo
-
Returns the value of the
version
record component. - version(String) - Method in class com.dua3.utility.fx.controls.AboutDialogBuilder
-
Sets the version information for the about dialog.
- Version - Record Class in com.dua3.utility.lang
-
Represents a software version with major, minor, patch components and an optional suffix.
- Version(int, int, int, String) - Constructor for record class com.dua3.utility.lang.Version
-
Creates an instance of a
Version
record class. - vertex(int) - Method in class com.dua3.utility.math.geometry.PathBuilder2f
-
Get vertex by index.
- vertex(int) - Method in class com.dua3.utility.math.geometry.Segment2f
-
Retrieves the vertex at the specified index from the associated path.
- vertexToString(int) - Method in class com.dua3.utility.math.geometry.Segment2f
-
Converts a vertex at a specified index into a string representation.
- VerticalAlignment - Enum Class in com.dua3.utility.text
-
Vertical alignment.
- vertices() - Method in class com.dua3.utility.math.geometry.Path2f
-
Get this path's vertices as a list.
- VERY_STRONG - Enum constant in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
-
Indicates the highest level of password strength, labeled as "Very Strong".
- VERY_WEAK - Enum constant in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
-
Represents a password strength level categorized as "Very Weak."
- VIOLET - Static variable in interface com.dua3.utility.data.Color
-
The color VIOLET.
- vline(int, int, int, int) - Method in record class com.dua3.utility.data.ImageBuffer
-
Draw a vertical line.
- vValue() - Method in record class com.dua3.utility.fx.controls.ScrollPosition
-
Returns the value of the
vValue
record component.
W
- w() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns the value of the
w
record component. - warn(JSObject) - Method in class com.dua3.utility.fx.web.WebViews.JSLogger
-
Logs a warning message with the formatted message obtained from the provided JSObject argument.
- WARN - Enum constant in enum class com.dua3.utility.logging.LogLevel
-
WARN log level.
- warning(Window) - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new Warning dialog.
- warningPane() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new Warning pane.
- WEAK - Enum constant in enum class com.dua3.utility.crypt.PasswordUtil.StrengthLevel
-
Represents a password strength level classified as "Weak".
- WEAK_REFERENCES - Enum constant in enum class com.dua3.utility.data.Cache.ReferenceType
-
Use
WeakReference
. - WebViews - Class in com.dua3.utility.fx.web
-
The
WebViews
class provides utility methods for setting upWebEngine
instances and handling events in JavaFX WebViews. - WebViews.JSLogger - Class in com.dua3.utility.fx.web
-
The JSLogger class is a utility class for logging messages from JavaScript code.
- WHEAT - Static variable in interface com.dua3.utility.data.Color
-
The color WHEAT.
- WHITE - Static variable in interface com.dua3.utility.data.Color
-
The color WHITE.
- WHITE - Static variable in class com.dua3.utility.text.Style
-
White text.
- WHITESMOKE - Static variable in interface com.dua3.utility.data.Color
-
The color WHITESMOKE.
- width() - Method in class com.dua3.utility.awt.AwtImage
- width() - Method in interface com.dua3.utility.data.Image
-
Get image width.
- width() - Method in record class com.dua3.utility.data.ImageBuffer
-
Returns the value of the
width
record component. - width() - Method in class com.dua3.utility.fx.FxBufferedImage
- width() - Method in record class com.dua3.utility.fx.FxStandardImage
- width() - Method in record class com.dua3.utility.math.geometry.Dimension2f
-
Returns the value of the
width
record component. - width() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns the value of the
width
record component. - width() - Method in record class com.dua3.utility.text.FragmentedText
-
Returns the value of the
width
record component. - WINDOWS - Enum constant in enum class com.dua3.utility.lang.Platform
-
The Windows operating system.
- withBold(boolean) - Method in class com.dua3.utility.text.Font
-
Return a font derived from this font by applying the given value for the bold attribute.
- withCenter(Vector2f, Dimension2f) - Static method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Creates a new rectangle with the specified center point and dimensions.
- withColor(Color) - Method in class com.dua3.utility.text.Font
-
Return a font derived from this font by replacing the color with the given value.
- withCorners(Vector2f, Vector2f) - Static method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Create rectangle from two vectors.
- withFamily(String) - Method in class com.dua3.utility.text.Font
-
Return a font derived from this font by replacing the family with the given value.
- withFilterLoggerName(BiPredicate<String, LogLevel>) - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Returns a new {code DefaultLogEntryFilter} with the same log level and the specified logger name filter.
- withFilterText(BiPredicate<String, LogLevel>) - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Returns a new {code DefaultLogEntryFilter} with the same log level and the specified message filter.
- withItalic(boolean) - Method in class com.dua3.utility.text.Font
-
Return a font derived from this font by applying the given value for the italic attribute.
- withLevel(LogLevel) - Method in class com.dua3.utility.logging.DefaultLogEntryFilter
-
Returns a new DefaultLogEntryFilter with the same filter and the specified log level.
- withSize(float) - Method in class com.dua3.utility.text.Font
-
Return a font derived from this font by applying the given size.
- withStrikeThrough(boolean) - Method in class com.dua3.utility.text.Font
-
Return a font derived from this font by applying the given value for the strike-through attribute.
- withUnderline(boolean) - Method in class com.dua3.utility.text.Font
-
Return a font derived from this font by applying the given value for the underline attribute.
- wizard() - Static method in class com.dua3.utility.fx.controls.Dialogs
-
Start definition of new wizard dialog.
- WizardDialog - Class in com.dua3.utility.fx.controls
-
Represents a wizard dialog that guides the user through a sequence of pages.
- WizardDialog() - Constructor for class com.dua3.utility.fx.controls.WizardDialog
-
WizardDialog initializes a new dialog that handles the navigation and data collection of a sequence of wizard pages.
- WizardDialog.Page<D,
R> - Class in com.dua3.utility.fx.controls -
Represents a single page within the wizard dialog.
- WizardDialogBuilder - Class in com.dua3.utility.fx.controls
-
A builder class for constructing a
WizardDialog
instance. - wrap(Style) - Method in class com.dua3.utility.text.RichText
-
Wrap RichText in style.
- wrap(String, int, Alignment, boolean) - Static method in class com.dua3.utility.text.TextUtil
-
Wraps a given string `s` into multiple lines based on the specified `width`, alignment, and hard wrap options.
- wrap(String, int, Alignment, boolean, String) - Static method in class com.dua3.utility.text.TextUtil
-
Wraps a given string `s` into multiple lines based on the specified `width`, alignment, and hard wrap options.
- WRAP - Enum constant in enum class com.dua3.utility.ui.Graphics.TextWrapping
-
Wrap text when the current line width exceeds the output area width.
- wrapException(Exception) - Static method in class com.dua3.utility.lang.LangUtil
-
Re-throw checked exception as unchecked.
- WrappedException - Exception Class in com.dua3.utility.lang
-
RuntimeException that wraps an unchecked exception.
- WrappedException(Exception) - Constructor for exception class com.dua3.utility.lang.WrappedException
-
Construct new wrapped exception.
- write(byte[]) - Method in class com.dua3.utility.io.LineOutputStream
- write(byte[], int, int) - Method in class com.dua3.utility.io.LineOutputStream
- write(byte[], int, int) - Method in class com.dua3.utility.io.TeeOutputStream
- write(int) - Method in class com.dua3.utility.io.LineOutputStream
- write(int) - Method in class com.dua3.utility.io.TeeOutputStream
- write(URI, T) - Method in class com.dua3.utility.io.FileType
-
Write document to file.
- write(URI, T, Function<FileType<? super T>, Arguments>) - Method in class com.dua3.utility.io.FileType
-
Write document to file.
- write(Path, T) - Method in class com.dua3.utility.io.FileType
-
Write document to file.
- write(Path, T, Function<FileType<? super T>, Arguments>) - Method in class com.dua3.utility.io.FileType
-
Write document to file.
- WRITE - Enum constant in enum class com.dua3.utility.io.OpenMode
-
Open file for writing.
- writeExternal(ObjectOutput) - Method in class com.dua3.utility.logging.LogBuffer
- writePem(U, T...) - Static method in class com.dua3.utility.crypt.CertificateUtil
-
Writes a PEM-encoded representation of a chain of certificates to the provided writer.
- writerForType(Class<T>) - Static method in class com.dua3.utility.io.FileType
-
Retrieves the first file type that can write the given document class.
- writeToPropertiesFile(Path) - Method in record class com.dua3.utility.lang.BuildInfo
-
Writes the build information as properties to the specified file destination.
X
- x() - Method in record class com.dua3.utility.fx.controls.PinBoard.BoardPosition
-
Returns the value of the
x
record component. - x() - Method in record class com.dua3.utility.fx.controls.PinBoard.PositionInItem
-
Returns the value of the
x
record component. - x() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns the value of the
x
record component. - x() - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Returns the value of the
x
record component. - x() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns the value of the
x
record component. - X509CertificateBuilder - Interface in com.dua3.utility.crypt
-
Interface for building custom X.509 certificates.
- xCenter() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
The center of the two x-coordinates.
- xMax() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
The maximum of the two x-coordinates.
- xMin() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
The minimum of the two x-coordinates.
- XmlUtil - Class in com.dua3.utility.xml
-
A Utility class for handling
org.w3c.dom
documents and nodes. - XmlUtil(DocumentBuilderFactory, TransformerFactory, XPathFactory) - Constructor for class com.dua3.utility.xml.XmlUtil
-
Construct a new instance.
- XmlUtil.DocumentWithNamespace - Record Class in com.dua3.utility.xml
-
A record that encapsulates an XML Document along with its associated NamespaceContext.
- xpath() - Method in class com.dua3.utility.xml.XmlUtil
-
Create
XPath
instance. - xpath(String) - Method in class com.dua3.utility.xml.XmlUtil
-
Create
XPath
instance with only a default namespace set The default namespace will be identified by the name "ns" in xpath expressions. - xpath(Map<String, String>, String) - Method in class com.dua3.utility.xml.XmlUtil
-
Create
XPath
instance with a mapping and a default namespace. - xpath(NamespaceContext) - Method in class com.dua3.utility.xml.XmlUtil
-
Create
XPath
instance with a namespace context. - xpath(Node) - Method in class com.dua3.utility.xml.XmlUtil
-
Create
XPath
instance for a node with a matchingNamespaceContext
.
Y
- y() - Method in record class com.dua3.utility.fx.controls.PinBoard.BoardPosition
-
Returns the value of the
y
record component. - y() - Method in record class com.dua3.utility.fx.controls.PinBoard.PositionInItem
-
Returns the value of the
y
record component. - y() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
Returns the value of the
y
record component. - y() - Method in record class com.dua3.utility.math.geometry.Vector2f
-
Returns the value of the
y
record component. - y() - Method in record class com.dua3.utility.text.FragmentedText.Fragment
-
Returns the value of the
y
record component. - yCenter() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
The center of the two y-coordinates.
- YELLOW - Static variable in interface com.dua3.utility.data.Color
-
The color YELLOW.
- YELLOW - Static variable in class com.dua3.utility.text.Style
-
Yellow text.
- YELLOWGREEN - Static variable in interface com.dua3.utility.data.Color
-
The color YELLOWGREEN.
- yMax() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
The maximum of the two y-coordinates.
- yMin() - Method in record class com.dua3.utility.math.geometry.Rectangle2f
-
The minimum of the two y-coordinates.
Z
- ZERO - Static variable in record class com.dua3.utility.options.Repetitions
-
A constant representing a
Repetitions
instance with both minimum and maximum repetitions set to 0. - ZERO_MINUS_ONE - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The vector (0,-1).
- ZERO_ONE - Static variable in record class com.dua3.utility.math.geometry.Vector2f
-
The vector (0,1).
- ZERO_OR_MORE - Static variable in record class com.dua3.utility.options.Repetitions
-
Represents a
Repetitions
instance allowing zero or more repetitions. - ZERO_OR_ONE - Static variable in record class com.dua3.utility.options.Repetitions
-
A predefined
Repetitions
instance representing a minimum of zero repetitions and a maximum of one repetition. - zip(OutputStream, Path, String, Stream<? extends Path>) - Static method in class com.dua3.utility.io.IoUtil
-
Compresses the given files and directories into a zip file and writes it to the specified output stream.
- zip(Path, Path) - Static method in class com.dua3.utility.io.IoUtil
-
Compresses the given files and directories into a zip file and writes it to the specified output stream.
- zip(Path, Path, String) - Static method in class com.dua3.utility.io.IoUtil
-
Compresses the given files and directories into a zip file and writes it to the specified output stream.
- zip(Path, Path, String, Predicate<? super Path>) - Static method in class com.dua3.utility.io.IoUtil
-
Compresses the given files and directories into a zip file and writes it to the specified output stream.
- zip(Path, Path, Predicate<? super Path>) - Static method in class com.dua3.utility.io.IoUtil
-
Compresses the given files and directories into a zip file and writes it to the specified output stream.
- zip(Stream<A>, Stream<B>, BiFunction<? super A, ? super B, ? extends C>) - Static method in class com.dua3.utility.lang.StreamUtil
-
Zip two streams, creating a new stream consisting of items generated by applying the given
BiFunction
on items taken from the input streams. - Zip - Class in com.dua3.utility.io
-
A Class helping with the creation of zip files.
- Zip(OutputStream) - Constructor for class com.dua3.utility.io.Zip
-
Create a new Zip instance.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form