Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCEPTED - Static variable in interface nl.colorize.util.http.HttpStatus
 
AccordionPanel<K> - Class in nl.colorize.util.swing
Panel that contains a number of vertically stacked sub-panels, which can be expanded or collapsed when clicking on them.
AccordionPanel(boolean) - Constructor for class nl.colorize.util.swing.AccordionPanel
 
add(Date, ChronoUnit, int) - Static method in class nl.colorize.util.DateParser
Returns a new date that is created by adding the specified time unit to the original date.
add(L, R) - Method in class nl.colorize.util.stats.TupleList
 
addActionListener(ActionListener) - Method in class nl.colorize.util.swing.Table
 
addBin(B) - Method in class nl.colorize.util.stats.Histogram
 
addBins(Iterable<B>) - Method in class nl.colorize.util.stats.Histogram
 
addBoldRow(String) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that only consists of a single text label with a bold font that spans the entire width of the row.
addDescription(String...) - Method in class nl.colorize.util.cli.CommandLineArgumentParser
Extends the usage description with the specified line.
addDoubleClickListener(ActionListener) - Method in class nl.colorize.util.swing.Table
 
addEllipsesRow(Supplier<String>, Runnable) - Method in class nl.colorize.util.swing.FormPanel
Adds a row with a text label and an ellipsis button (...) that when invoked will trigger a callback action, which will in turn update the label.
addEmptyRow() - Method in class nl.colorize.util.swing.FormPanel
Adds an empty row that takes vertical space, but does not have any components in it.
addKeyFrame(float, float) - Method in class nl.colorize.util.animation.Timeline
Adds a key frame with the specified position and value to this timeline.
addKeyFrame(float, Color) - Method in class nl.colorize.util.swing.AnimatedColor
Adds a key frame that describes the RGBA values of this color at the specified point in time.
addKeyFrame(KeyFrame) - Method in class nl.colorize.util.animation.Timeline
Adds a key frame to this timeline.
addLayoutComponent(String, Component) - Method in class nl.colorize.util.swing.AccordionPanel
 
addLayoutComponent(String, Component) - Method in class nl.colorize.util.swing.FormPanel
 
addLeading(String, String) - Static method in class nl.colorize.util.TextUtils
Adds the specified prefix string to the start of another string, but only if it is not already there.
addListener(Consumer<Map<String, String>>) - Method in class nl.colorize.util.swing.PropertyEditor
 
addPadding(BufferedImage, int) - Static method in class nl.colorize.util.swing.Utils2D
Creates a new image containing the source image, applying the specified amount of padding to the top/bottom/left/right.
addPadding(BufferedImage, int, int) - Static method in class nl.colorize.util.swing.Utils2D
Creates a new image containing the source image, padded with empty space to meet the specified dimensions.
addRow() - Method in class nl.colorize.util.swing.FormPanel
Deprecated.
Use the more clearly named FormPanel.addEmptyRow() instead.
addRow(String) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that only consists of a single text label that spans the entire width of the row.
addRow(String, String) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that consists of a text label and a value label.
addRow(String, String, String, Callable<String>) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that consists of a text label, a value label, and a button.
addRow(String, String, Callable<String>) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that consists of a text label and a button.
addRow(String, JComponent) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that consists of the specified text label and value cells.
addRow(String, JComponent, JComponent) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that consists of a text label in the left column, and two components in the right column.
addRow(String, JRadioButton...) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that consists of a text label in and a number of radio buttons.
addRow(String, JSlider, boolean) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that consists of a text label and a slider.
addRow(JButton, boolean) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that consists of a single button.
addRow(JComponent) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that contains a single component that will use the entire available width.
addRow(JComponent, int) - Method in class nl.colorize.util.swing.FormPanel
Adds a row that contains a single component that will use the entire available width and the specified height.
addRow(JComponent, JComponent) - Method in class nl.colorize.util.swing.FormPanel
Adda a row that consists of the specified label and value cells.
addRow(R, String...) - Method in class nl.colorize.util.swing.Table
 
addRow(R, List<String>) - Method in class nl.colorize.util.swing.Table
 
addSeries(Iterable<String>) - Method in class nl.colorize.util.stats.Histogram
 
addSeries(String) - Method in class nl.colorize.util.stats.Histogram
 
addSpacerRow(int) - Method in class nl.colorize.util.swing.FormPanel
Adds an empty row that takes the specified amount of vertical space.
addSubPanel(K, JComponent, JComponent) - Method in class nl.colorize.util.swing.AccordionPanel
 
addTableModelListener(TableModelListener) - Method in class nl.colorize.util.swing.Table
 
addTrailing(String, String) - Static method in class nl.colorize.util.TextUtils
Adds the specified suffix string to the end of another string, but only if it is not already there.
addTranslation(Locale, TranslationBundle) - Method in class nl.colorize.util.TranslationBundle
 
all(List<Promise<T>>) - Static method in class nl.colorize.util.Promise
Combines multiple Promises and returns a single Promise that returns the results of each input as a list.
all(Promise<T>...) - Static method in class nl.colorize.util.Promise
Combines multiple Promises and returns a single Promise that returns the results of each input as a list.
allowErrorStatus() - Method in class nl.colorize.util.http.URLLoader
Allows response error codes (HTTP status 4xx and 5xx).
ANDROID - Enum constant in enum class nl.colorize.util.Platform
 
Animatable - Interface in nl.colorize.util.animation
Animated object that expects to receive frame updates for as long as the animation is active.
animateBackgroundColor(JComponent, Color, float) - Method in class nl.colorize.util.swing.SwingAnimator
 
AnimatedColor - Class in nl.colorize.util.swing
Color with red, green, blue, and alpha components that change over time.
AnimatedColor(Color) - Constructor for class nl.colorize.util.swing.AnimatedColor
Creates a new AnimatedColor that will start out with the RGBA values of startColor.
AnimatedColor(Color, Color, float) - Constructor for class nl.colorize.util.swing.AnimatedColor
Creates a new color with the specified RGBA values.
AnimatedColor(Color, Interpolation) - Constructor for class nl.colorize.util.swing.AnimatedColor
 
animateForegroundColor(JComponent, Color, float) - Method in class nl.colorize.util.swing.SwingAnimator
 
animateHeight(JComponent, int, float) - Method in class nl.colorize.util.swing.SwingAnimator
 
animateWidth(JComponent, int, float) - Method in class nl.colorize.util.swing.SwingAnimator
 
append(String, String) - Method in class nl.colorize.util.http.Headers
Deprecated.
Use Headers.concat(String, String) instead. This method has been renamed to concat to make it more explicit that the original instance is not modified.
append(L, R) - Method in class nl.colorize.util.stats.TupleList
Adds a tuple to the list, then returns this TupleList instance.
ApplicationMenuListener - Interface in nl.colorize.util.swing
Interface for receiving events from the macOS application menu.
applyDropShadow(BufferedImage, int, int) - Static method in class nl.colorize.util.swing.Utils2D
Creates a new image by applying a drop shadow to an existing image.
applyGaussianBlur(BufferedImage, int) - Static method in class nl.colorize.util.swing.Utils2D
Creates a new image by applying gaussian blur to an existing image.
applyTint(BufferedImage, Color) - Static method in class nl.colorize.util.swing.Utils2D
Creates a new image by applying a color tint to an existing image.
AQUA_BUTTON - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_BUTTON_SEGMENT_POS - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_PROGRESSBAR - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_SIZE - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_TEXTFIELD - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_VALUE_CIRCULAR - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_VALUE_FIRST - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_VALUE_LAST - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_VALUE_MIDDLE - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_VALUE_SEARCH - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_VALUE_SEGMENTED - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_VALUE_SMALL - Static variable in class nl.colorize.util.swing.MacIntegration
 
AQUA_VALUE_TEXTURED - Static variable in class nl.colorize.util.swing.MacIntegration
 
Arg - Annotation Interface in nl.colorize.util.cli
Annotates a field to represent one of the arguments in a command line interface.
attachPseudoActionListener(JComponent, ActionListener) - Static method in class nl.colorize.util.swing.SwingUtils
Attaches a MouseListener to a Swing component and forwards "click" events to a ActionListener.
attempt(String, Class<T>) - Method in class nl.colorize.util.PropertyDeserializer
Attempts to deserialize a text-based property to the specified type, but returns an empty optional when this results in an exception.
attempt(Callable<T>) - Method in class nl.colorize.util.http.Retry
Attempts to perform the specified operation, for the number of attempts as configured in this Retry.
augmentLookAndFeel() - Static method in class nl.colorize.util.swing.MacIntegration
Augments the Swing look-and-feel to look more like native macOS applications.

B

BAD_GATEWAY - Static variable in interface nl.colorize.util.http.HttpStatus
 
BAD_REQUEST - Static variable in interface nl.colorize.util.http.HttpStatus
 
body() - Method in record class nl.colorize.util.http.URLResponse
Returns the value of the body record component.
bounceDockIcon() - Static method in class nl.colorize.util.swing.MacIntegration
Notifies the user of an event by bouncing the application's dock icon.
bundle - Variable in class nl.colorize.util.swing.ComboFileDialog
 

C

Cache<K,V> - Class in nl.colorize.util.stats
Data structure for key/value pairs, where the value for each key is based on an underlying compute function.
calculateLevenshteinDistance(String, String) - Static method in class nl.colorize.util.TextUtils
Calculates the Levenshtein distance between two strings.
calculateLongestCommonPrefix(String[], String[]) - Static method in class nl.colorize.util.TextUtils
Returns the longest possible list of strings that is a prefix for both a and b.
calculateLongestCommonPrefix(String, String) - Static method in class nl.colorize.util.TextUtils
Returns the longest possible string that is a prefix for both a and b.
calculateLongestCommonPrefix(List<String>, List<String>) - Static method in class nl.colorize.util.TextUtils
Returns the longest possible list of strings that is a prefix for both a and b.
calculateRelativeLevenshteinDistance(String, String) - Static method in class nl.colorize.util.TextUtils
Calculates the Levenshtein distance between two strings, but returns the result relative to the length of the longest input string.
callMethod(Object, String, Object...) - Static method in class nl.colorize.util.ReflectionUtils
Calls the object's method with the specified name using reflection.
cancel() - Method in class nl.colorize.util.Promise
Cancels this Promise.
cancel(Animatable) - Method in class nl.colorize.util.swing.SwingAnimator
Cancels an animation that is currently playing.
cancelAll() - Method in class nl.colorize.util.swing.SwingAnimator
Cancels all animations that are currently playing.
canParse(String) - Static method in class nl.colorize.util.Version
Returns true if versionString represents a version number that can be represented by this class.
changedUpdate(DocumentEvent) - Method in class nl.colorize.util.swing.SuggestingComboBox
 
CircularLoader - Class in nl.colorize.util.swing
A circular progressbar commonly used in web based AJAX applications.
CircularLoader(int) - Constructor for class nl.colorize.util.swing.CircularLoader
Creates a new CircularLoader of the specified size.
clearGraphics(Graphics2D, BufferedImage) - Static method in class nl.colorize.util.swing.Utils2D
 
clearSubPanels() - Method in class nl.colorize.util.swing.AccordionPanel
 
combine(List<L>, List<R>) - Static method in class nl.colorize.util.stats.TupleList
Creates a TupleList by combining two lists.
ComboFileDialog - Class in nl.colorize.util.swing
A wrapper around both AWT's FileDialog and Swing's JFileChooser.
ComboFileDialog() - Constructor for class nl.colorize.util.swing.ComboFileDialog
Creates a file dialog with the platform's default dialog title and start directory.
ComboFileDialog(String, File) - Constructor for class nl.colorize.util.swing.ComboFileDialog
Creates a file dialog with the specified title and start directory.
CommandLineArgumentParser - Class in nl.colorize.util.cli
Define supported arguments for a command line interface, then parse the provided arguments accordingly.
CommandLineArgumentParser(Class<?>) - Constructor for class nl.colorize.util.cli.CommandLineArgumentParser
 
CommandLineArgumentParser(String) - Constructor for class nl.colorize.util.cli.CommandLineArgumentParser
 
CommandLineArgumentParser(String, PrintWriter, boolean) - Constructor for class nl.colorize.util.cli.CommandLineArgumentParser
 
CommandLineInterfaceException - Exception in nl.colorize.util.cli
Exception that indicates invalid or missing input was provided to an application's command line interface.
CommandLineInterfaceException(String) - Constructor for exception nl.colorize.util.cli.CommandLineInterfaceException
 
CommandLineInterfaceException(String, Throwable) - Constructor for exception nl.colorize.util.cli.CommandLineInterfaceException
 
CompactFormatter - Class in nl.colorize.util
Creates a log message formatter that uses a compact format with log records only taking up a single line.
CompactFormatter() - Constructor for class nl.colorize.util.CompactFormatter
 
compareTo(KeyFrame) - Method in record class nl.colorize.util.animation.KeyFrame
 
compareTo(DateRange) - Method in record class nl.colorize.util.stats.DateRange
 
compareTo(Range) - Method in record class nl.colorize.util.stats.Range
 
compareTo(Version) - Method in class nl.colorize.util.Version
Compares this version number to other.
compareTo(Version, int) - Method in class nl.colorize.util.Version
Compares this version number to other, considering only the first N digits.
concat(String, String) - Method in class nl.colorize.util.http.Headers
Returns a new Headers instance that consists of this list of headers plus the specified additional header concatenated to the end of the list.
confirmMessage(JFrame, String) - Static method in class nl.colorize.util.swing.Popups
Shows a simple pop-up window that displays a text message and contains default "OK" and "cancel" buttons.
confirmMessage(JFrame, String, JComponent) - Static method in class nl.colorize.util.swing.Popups
Shows a simple pop-up window that displays a text message and contains default "OK" and "cancel" buttons.
CONFLICT - Static variable in interface nl.colorize.util.http.HttpStatus
 
CONNECT - Enum constant in enum class nl.colorize.util.http.Method
 
connectionProperties() - Method in record class nl.colorize.util.http.URLResponse
Returns the value of the connectionProperties record component.
contains(int) - Method in record class nl.colorize.util.stats.Range
Returns true if n is included in this range.
contains(Object) - Method in record class nl.colorize.util.stats.Tuple
Returns true if element is one of this tuple's elements.
contains(String) - Method in class nl.colorize.util.http.PostData
 
contains(String, Collection<String>) - Static method in class nl.colorize.util.TextUtils
 
contains(Date) - Method in record class nl.colorize.util.stats.DateRange
 
contains(Range) - Method in record class nl.colorize.util.stats.Range
Returns true if all numbers in the range r are also included within this range.
CONTINUE - Static variable in interface nl.colorize.util.http.HttpStatus
 
convertImage(BufferedImage, int) - Static method in class nl.colorize.util.swing.Utils2D
Converts a BufferedImage to the specified image format.
copyDirectory(File, File) - Static method in class nl.colorize.util.FileUtils
Copies a directory to the specified location.
copyToClipboard(String) - Static method in class nl.colorize.util.swing.SwingUtils
Copies the specified text to the system clipboard.
count(String, B) - Method in class nl.colorize.util.stats.Histogram
 
count(String, B, int) - Method in class nl.colorize.util.stats.Histogram
 
countDirectorySize(File) - Static method in class nl.colorize.util.FileUtils
Returns the size of the specified directory, in bytes.
countIndent(String) - Static method in class nl.colorize.util.TextUtils
Counts the indent for the specified line.
countOccurrences(String, String) - Static method in class nl.colorize.util.TextUtils
Returns the number of occurrences of the string needle within the string haystack.
create() - Static method in class nl.colorize.util.stats.TupleList
 
create(String...) - Static method in class nl.colorize.util.CSVRecord
Creates an individual CSV record from the specified array of cells.
create(String, String, String...) - Static method in class nl.colorize.util.http.PostData
Creates a PostData instance from a number of key/value pairs.
create(List<String>) - Static method in class nl.colorize.util.CSVRecord
Creates an indivudual CSV record from the specified list of cells, with no column headers.
create(List<String>, List<String>) - Static method in class nl.colorize.util.CSVRecord
Creates an indivudual CSV record from the specified list of cells and column headers.
create(Map<String, ?>) - Static method in class nl.colorize.util.http.PostData
Creates a PostData instance from existing key/value pairs.
createAddRemoveItemsPanel(Supplier<List<String>>, String, Consumer<String>, Consumer<String>) - Static method in class nl.colorize.util.swing.SwingUtils
Deprecated.
Use PropertyEditor instead.
createAnimation(int, Color, Stroke) - Static method in class nl.colorize.util.swing.CircularLoader
Returns an array of frame images.
createCallbackHandler(Consumer<Throwable>) - Static method in class nl.colorize.util.LogHelper
Creates a log handler that will invoke the specified callback function for every log message that contains an attached Throwable.
createComboBox(Collection<T>, T) - Static method in class nl.colorize.util.swing.SwingUtils
 
createComboBox(T[], T) - Static method in class nl.colorize.util.swing.SwingUtils
 
createCompactFormatter() - Static method in class nl.colorize.util.LogHelper
Creates a log message formatter that uses a compact format with log records only taking up a single line.
createConsoleHandler() - Static method in class nl.colorize.util.LogHelper
Creates a log handler that will log to stderr.
createCustomGraphicsPanel(BiConsumer<Graphics2D, Dimension>) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a JPanel that uses the supplied callback function to draw its background graphics.
CREATED - Static variable in interface nl.colorize.util.http.HttpStatus
 
createDashedStroke(float, int) - Static method in class nl.colorize.util.swing.Utils2D
 
createFileHandler(File) - Static method in class nl.colorize.util.LogHelper
Creates a log handler that will log to the specified file using the platform's default character encoding.
createFileHandler(File, Charset) - Static method in class nl.colorize.util.LogHelper
Creates a log handler that will log to the specified file.
createGraphics(Graphics, boolean, boolean) - Static method in class nl.colorize.util.swing.Utils2D
 
createGraphics(BufferedImage, boolean, boolean) - Static method in class nl.colorize.util.swing.Utils2D
 
createHoverButton(String, Color) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a button that does not follow the platform's UI conventions and changes foreground color on hover.
createImagePanel(BufferedImage) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a new panel with contents consisting of the specified image.
createKeyPressedListener(Consumer<KeyEvent>) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a KeyListener that will only listen to key pressed events, and will invoke the specified callback when such events occur.
createKeyReleasedListener(Consumer<KeyEvent>) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a KeyListener that will only listen to key released events, and will invoke the specified callback when such events occur.
createLabel(String, Font, Color) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a label with the specified font and color.
createMenuItem(JMenu, String, int) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a new JMenuItem with the specified label and (optional) keyboard shortcut, and adds it to a menu.
createNumericTextField(float) - Static method in class nl.colorize.util.swing.SwingUtils
Returns a text field that always returns a valid float when its getText() method is called.
createNumericTextField(int) - Static method in class nl.colorize.util.swing.SwingUtils
Returns a text field that always returns a valid integer when its getText() method is called.
createOutlineButton(String, Color, Color) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a button that does not follow the platform's UI conventions, but only consists of a text label and an outline.
createPlainConsoleHandler() - Static method in class nl.colorize.util.LogHelper
Deprecated.
Use LogHelper.createConsoleHandler() in combination with a CompactFormatter instead.
createResizeListener(Runnable) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a ComponentListener that will only listen to component resize events, and will invoke the specified callback when such events occur.
createSpacerPanel(int, int) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a JPanel without any visible contents and a transparent background.
createSpacerPanel(int, int, Color) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a JPanel without any visible contents and a colored background.
createStringHandler(StringWriter) - Static method in class nl.colorize.util.LogHelper
Creates a log handler that will write log messages to the specified StringWriter and uses a compact formatter.
createStringHandler(StringWriter, Formatter) - Static method in class nl.colorize.util.LogHelper
Creates a log handler that will write log messages to the specified StringWriter.
createStripedList(List<E>) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a JTree that paints rows in alternating background colors, if allowed by the platform's UI conventions.
createStripedTree(DefaultTreeModel) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a JTree that paints rows in alternating background colors, if allowed by the platform's UI conventions.
createTempDir() - Static method in class nl.colorize.util.FileUtils
Creates a temporary directory within the platform's default location for storing temporary files.
createTempDir(String) - Static method in class nl.colorize.util.FileUtils
Creates a temporary directory with the specified name.
createTempFile(byte[]) - Static method in class nl.colorize.util.FileUtils
Creates a temporary file with the specified contents.
createTempFile(String, Charset) - Static method in class nl.colorize.util.FileUtils
Creates a temporary file with the specified text as contents.
createTestImage(int, int) - Static method in class nl.colorize.util.swing.Utils2D
 
createTestImage(int, int, Color) - Static method in class nl.colorize.util.swing.Utils2D
 
createTextButton(String, Font, Color, Color) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a button that does not use the platform's normal look-and-feel, and instead only consists of a text link in the specified color.
createToolBarButton(String, BufferedImage) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a button suitable for usage in a toolbar.
createToolBarButton(String, ImageIcon) - Static method in class nl.colorize.util.swing.SwingUtils
Creates a button suitable for usage in a toolbar.
CSVRecord - Class in nl.colorize.util
Immutable record within a CSV file.
CUBIC - Static variable in interface nl.colorize.util.animation.Interpolation
Cubic easing interpolation.

D

DateParser - Class in nl.colorize.util
Convenience functions for parsing, formatting, and working with dates.
DateRange - Record Class in nl.colorize.util.stats
Defines a range between two Dates, with the start date being inclusive and the end date being exclusive.
DateRange(String, String) - Constructor for record class nl.colorize.util.stats.DateRange
 
DateRange(Date, Date) - Constructor for record class nl.colorize.util.stats.DateRange
 
DateRange(Date, Date, ChronoUnit) - Constructor for record class nl.colorize.util.stats.DateRange
Creates an instance of a DateRange record class.
DEFAULT_FRAMERATE - Static variable in class nl.colorize.util.swing.SwingAnimator
 
defaultValue() - Element in annotation interface nl.colorize.util.cli.Arg
The command line argument's default value that is used when no value for the argument has been provided.
delegate() - Method in class nl.colorize.util.stats.TupleList
 
delete(File) - Static method in class nl.colorize.util.FileUtils
Deletes a file.
delete(String) - Static method in class nl.colorize.util.http.URLLoader
Factory method that creates a DELETE request to the specified URL.
DELETE - Enum constant in enum class nl.colorize.util.http.Method
 
deleteDirectory(File) - Static method in class nl.colorize.util.FileUtils
Deletes a directory and all of its contents.
delta(Date, Date, ChronoUnit) - Static method in class nl.colorize.util.DateParser
Returns the difference between two dates, expressed in the specified time unit.
disableCertificateValidation() - Method in class nl.colorize.util.http.URLLoader
Disables SSL certificate validation performed for HTTPS connections, ignoring any errors or warnings that may occur while checking the certificate.
DISCRETE - Static variable in interface nl.colorize.util.animation.Interpolation
Discrete interpolation.
display(BufferedImage) - Method in class nl.colorize.util.swing.ImageViewer
 
doInBackground(Runnable, Runnable) - Static method in class nl.colorize.util.swing.SwingUtils
Performs task in a background thread, and when done calls swingCallback on the Swing thread.
drawCircle(Graphics2D, int, int, int) - Static method in class nl.colorize.util.swing.Utils2D
Convenience method for drawing a circle from its center, rather than from its top left corner.
drawMultiLineString(Graphics2D, String, int, int, int) - Static method in class nl.colorize.util.swing.Utils2D
Draws a string that will word-wrap around a set width.
drawStringCentered(Graphics2D, String, int, int) - Static method in class nl.colorize.util.swing.Utils2D
 
drawStringRight(Graphics2D, String, int, int) - Static method in class nl.colorize.util.swing.Utils2D
 

E

EASE - Static variable in interface nl.colorize.util.animation.Interpolation
Easing interpolation.
empty() - Static method in class nl.colorize.util.http.PostData
 
empty() - Static method in class nl.colorize.util.stats.TupleList
Creates a new TupleList that is initially empty, and will throw an UnsupportedOperationException when trying to modify it.
empty() - Static method in class nl.colorize.util.TranslationBundle
Returns a bundle that, unless additional translations for specific locales are added, will not actually translate anything and just use the keys.
emulateUnicodeProperties(String, Properties) - Static method in class nl.colorize.util.LoadUtils
 
enableApplicationMenuBar() - Static method in class nl.colorize.util.swing.MacIntegration
Enables the application menu bar for Swing applications.
encode(Charset) - Method in class nl.colorize.util.http.PostData
 
encoding() - Method in record class nl.colorize.util.http.URLResponse
Returns the value of the encoding record component.
end() - Method in class nl.colorize.util.animation.Timeline
Moves the playhead to the end of the timeline.
end() - Method in record class nl.colorize.util.stats.DateRange
Returns the value of the end record component.
end() - Method in record class nl.colorize.util.stats.Range
Returns the value of the end record component.
end() - Method in class nl.colorize.util.swing.AnimatedColor
 
endsWith(String, Collection<String>) - Static method in class nl.colorize.util.TextUtils
 
equals(Object) - Method in record class nl.colorize.util.animation.KeyFrame
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.colorize.util.http.URLResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.colorize.util.ResourceFile
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.colorize.util.stats.DateRange
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.colorize.util.stats.Range
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.colorize.util.stats.Tuple
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class nl.colorize.util.Version
 
exclusive(int, int) - Static method in record class nl.colorize.util.stats.Range
 
exists() - Method in record class nl.colorize.util.ResourceFile
Returns true if the resource file exists in one of the searched locations.
expandSubPanel(K) - Method in class nl.colorize.util.swing.AccordionPanel
 
expandUser(String) - Static method in class nl.colorize.util.FileUtils
Expands a file path that contains a reference to the user's home directory.
EXPECTATION_FAILED - Static variable in interface nl.colorize.util.http.HttpStatus
 

F

FileUtils - Class in nl.colorize.util
Utility class for loading data from and saving data to files.
filterPrefix(Properties, String) - Static method in class nl.colorize.util.LoadUtils
Returns a new Properties object that only includes properties from the original that have a name matching the specified prefix.
findAvailableFontFamily(String...) - Static method in class nl.colorize.util.swing.SwingUtils
Looks through the available font families and returns the first match from requestedFontFamilies which is available on the system.
focusGained(FocusEvent) - Method in class nl.colorize.util.swing.SuggestingComboBox
 
focusLost(FocusEvent) - Method in class nl.colorize.util.swing.SuggestingComboBox
 
FORBIDDEN - Static variable in interface nl.colorize.util.http.HttpStatus
 
FORCE_LEGACY_HTTP_CLIENT_SYSTEM_PROPERTY - Static variable in class nl.colorize.util.http.URLLoader
Deprecated.
Applications should prefer automatic detection, to avoid ending up with a HTTP client that is not actually supported on the current platform.
forEach(BiConsumer<String, String>) - Method in class nl.colorize.util.http.Headers
 
forEach(BiConsumer<L, R>) - Method in class nl.colorize.util.stats.TupleList
 
forget(K) - Method in class nl.colorize.util.stats.Cache
Forgets a cached key/value pairs in this cache.
forgetAll() - Method in class nl.colorize.util.stats.Cache
Forgets all cached key/value pairs in this cache.
format(String, Throwable, Level, Date) - Method in class nl.colorize.util.CompactFormatter
 
format(Date, String) - Static method in class nl.colorize.util.DateParser
Convenience method that wraps around SimpleDateFormat.format and formats a date using the default time zone.
format(Date, String, String) - Static method in class nl.colorize.util.DateParser
Convenience method that wraps around SimpleDateFormat.format and formats a date in the time zone with the specified name.
format(LogRecord) - Method in class nl.colorize.util.CompactFormatter
 
formatFileSize(long) - Static method in class nl.colorize.util.FileUtils
Returns a human-readable description of the specified file size in bytes.
formatFileSize(File) - Static method in class nl.colorize.util.FileUtils
Returns a human-readable description of the specified file's size.
formatRelative(Date) - Static method in class nl.colorize.util.DateParser
Formats a date relative to the current date, with the precision being decided by the distance between the two dates.
formatRelative(Date, Date) - Static method in class nl.colorize.util.DateParser
Formats a date relative to another date, with the precision being decided by the distance between the two dates.
FormPanel - Class in nl.colorize.util.swing
Panel that arranges components in a 2 x N grid.
FormPanel() - Constructor for class nl.colorize.util.swing.FormPanel
Creates a FormPanel with alignments and margins conforming to the user interface conventions for the underlying platform.
FOUND - Static variable in interface nl.colorize.util.http.HttpStatus
 
from(Function<K, V>) - Static method in class nl.colorize.util.stats.Cache
Creates a lookup table based on the specified function.
from(Function<K, V>, int) - Static method in class nl.colorize.util.stats.Cache
Creates a lookup table based on the specified function.
fromDataURL(String) - Static method in class nl.colorize.util.swing.Utils2D
Creates an image from a data URL.
fromMap(Map<String, String>) - Static method in class nl.colorize.util.TranslationBundle
Factory method that creates a TranslationBundle from a map with key/value pairs for the default translation.
fromMap(Map<L, R>) - Static method in class nl.colorize.util.stats.TupleList
 
fromProperties(Properties) - Static method in class nl.colorize.util.TranslationBundle
Factory method that creates a TranslationBundle from an existing Properties instance.
fromPropertiesFile(ResourceFile) - Static method in class nl.colorize.util.TranslationBundle
Convenience factory method that loads data from a .properties file, and then uses that data to create a TranslationBundle instance.
fromStream(Stream<Tuple<L, R>>) - Static method in class nl.colorize.util.stats.TupleList
 
fulfill(Supplier<T>) - Method in class nl.colorize.util.Promise
Runs the specified operation, and uses the resulting value to resolve this promise.
fulfillWith(Supplier<T>) - Static method in class nl.colorize.util.Promise
Creates a new Promise that will immediately perform the specified (synchronous) operation, and either resolve or reject itself depending on the outcome.
fuzzyMatch(String, Collection<String>, float) - Static method in class nl.colorize.util.TextUtils
Returns all candidates that "fuzzy match" the specified string.

G

GATEWAY_TIMEOUT - Static variable in interface nl.colorize.util.http.HttpStatus
 
get(int) - Method in class nl.colorize.util.CSVRecord
Returns the value of the cell with the specified index.
get(String) - Method in class nl.colorize.util.CSVRecord
Returns the value for the cell with the specified column name.
get(String) - Method in class nl.colorize.util.http.Headers
Returns the value of the header with the specified name.
get(String) - Static method in class nl.colorize.util.http.URLLoader
Factory method that creates a GET request to the specified URL.
get(K) - Method in class nl.colorize.util.stats.Cache
Returns the value mapped to the specified key.
GET - Enum constant in enum class nl.colorize.util.http.Method
 
getAll(String) - Method in class nl.colorize.util.http.Headers
Returns all values for headers with the specified name.
getAlpha() - Method in class nl.colorize.util.swing.AnimatedColor
 
getApplicationData(String, String) - Static method in enum class nl.colorize.util.Platform
Returns a File handle that points to a file inside the platform's directory for storing application data, for the application with the specified name.
getApplicationDataDirectory(String) - Static method in enum class nl.colorize.util.Platform
Returns the platform's directory for storing application data, for the application with the specified name.
getAvailableHeight(Container) - Static method in class nl.colorize.util.swing.SwingUtils
Returns the width available to child components within a container.
getAvailableWidth(Container) - Static method in class nl.colorize.util.swing.SwingUtils
Returns the width available to child components within a container.
getBins() - Method in class nl.colorize.util.stats.Histogram
Returns all bins in this histogram, sorted in their natural order.
getBinValues(B) - Method in class nl.colorize.util.stats.Histogram
 
getBlue() - Method in class nl.colorize.util.swing.AnimatedColor
 
getBody() - Method in record class nl.colorize.util.http.URLResponse
Parses the response body to text, using the same character encoding that was used to send the request.
getCapacity() - Method in class nl.colorize.util.stats.Cache
 
getCells() - Method in class nl.colorize.util.CSVRecord
Returns the list of cells in this CSV record.
getClosestKeyFrameBefore(float) - Method in class nl.colorize.util.animation.Timeline
Returns the key frame on this timeline that is closest to and less than or equal to position.
getColumnClass(int) - Method in class nl.colorize.util.swing.Table
 
getColumnCount() - Method in class nl.colorize.util.swing.Table
 
getColumnName(int) - Method in class nl.colorize.util.swing.Table
 
getColumns() - Method in class nl.colorize.util.CSVRecord
Returns a list of all named columns in this CSV record.
getColumnValues() - Method in class nl.colorize.util.CSVRecord
Returns a list of column values for all cells in this CSV record.
getConnectionProperty(String) - Method in record class nl.colorize.util.http.URLResponse
 
getContentType() - Method in record class nl.colorize.util.http.URLResponse
Returns the value of the HTTP Content-Type header.
getCurrentlyPlaying() - Method in class nl.colorize.util.swing.SwingAnimator
 
getCustomComponentsBundle() - Static method in class nl.colorize.util.swing.SwingUtils
Returns the resource bundle containing the user interface text for all custom Swing components provided by this library.
getDefaultTimeZone() - Static method in enum class nl.colorize.util.Platform
Returns the default timezone.
getDelta() - Method in class nl.colorize.util.animation.Timeline
Returns the position of the playhead as a number between 0 and 1, where 0 is the beginning of the timeline and 1 is its duration.
getDigit(int) - Method in class nl.colorize.util.Version
Returns the digit at the specified position.
getDuration() - Method in class nl.colorize.util.animation.Timeline
Returns the position of the last key frame, in seconds.
getFieldsWithAnnotation(Object, Class<? extends Annotation>) - Static method in class nl.colorize.util.ReflectionUtils
Returns a list containing all of an object's fields that are marked with the specified annotation.
getFileExtension(File) - Static method in class nl.colorize.util.FileUtils
Returns the file extension of the specified file, excluding the dot.
getFileExtensionFilter(String...) - Static method in class nl.colorize.util.FileUtils
Returns a file filter that will only accept files that match one of the specified file extensions.
getFirstKeyFrame() - Method in class nl.colorize.util.animation.Timeline
Returns the key frame with the lowest position.
getGreen() - Method in class nl.colorize.util.swing.AnimatedColor
 
getHeader(String) - Method in record class nl.colorize.util.http.URLResponse
Returns the value of the HTTP header with the specified name.
getHeaderNames() - Method in class nl.colorize.util.http.Headers
Iterates over header names.
getHeaderValues(String) - Method in record class nl.colorize.util.http.URLResponse
Returns all values for the HTTP header with the specified name.
getInterpolationMethod() - Method in class nl.colorize.util.animation.Timeline
 
getJavaHome() - Static method in enum class nl.colorize.util.Platform
Returns the home directory of the Java runtime environment used to run the application.
getJavaVersion() - Static method in enum class nl.colorize.util.Platform
Returns the version of the Java Virtual Machine.
getKeyFrames() - Method in class nl.colorize.util.animation.Timeline
Returns all key frames that have been added.
getKeys() - Method in class nl.colorize.util.TranslationBundle
 
getKeys(Locale) - Method in class nl.colorize.util.TranslationBundle
 
getKeyStroke(int) - Static method in class nl.colorize.util.swing.SwingUtils
Returns a keystroke for a key that uses the platform-specific modifier key for menu shortcuts.
getKeyStroke(int, boolean) - Static method in class nl.colorize.util.swing.SwingUtils
Returns a keystroke for a key that uses the platform-specific modifier key for menu shortcuts.
getLabel() - Method in class nl.colorize.util.swing.MultiLabel
 
getLastKeyFrame() - Method in class nl.colorize.util.animation.Timeline
Returns the key frame with the highest position.
getLeft() - Method in class nl.colorize.util.stats.TupleList
Returns a list consisting of the left element of every tuple.
getLineColor() - Method in class nl.colorize.util.swing.CircularLoader
 
getLineSeparator() - Static method in enum class nl.colorize.util.Platform
Deprecated.
This method is no longer necessary since System.lineSeparator() was introduced in Java 7.
getLineStroke() - Method in class nl.colorize.util.swing.CircularLoader
 
getLogger(Class<?>) - Static method in class nl.colorize.util.LogHelper
Obtains the logger with the name of the specified class.
getLogger(String) - Static method in class nl.colorize.util.LogHelper
Obtains the logger with the specified name.
getMethodsWithAnnotation(Object, Class<? extends Annotation>) - Static method in class nl.colorize.util.ReflectionUtils
Returns a list containing all of an object's methods that are marked with the specified annotation.
getName() - Method in record class nl.colorize.util.ResourceFile
Returns the name of this resource file.
getNumKeyFrames() - Method in class nl.colorize.util.animation.Timeline
 
getNumSubPanels() - Method in class nl.colorize.util.swing.AccordionPanel
 
getOptionalParameter(String, String) - Method in class nl.colorize.util.http.PostData
Returns either the value of the parameter with the specified name, or defaultValue if no parameter with that name exists.
getPlatform() - Static method in enum class nl.colorize.util.Platform
Returns the current platform family.
getPlatformName() - Static method in enum class nl.colorize.util.Platform
Returns the display name for the current platform, for example "Windows 11" or "macOS Ventura".
getPlayhead() - Method in class nl.colorize.util.animation.Timeline
Returns the position of the playhead, in seconds.
getProperties() - Method in class nl.colorize.util.swing.PropertyEditor
 
getProperties(Object) - Static method in class nl.colorize.util.ReflectionUtils
Accesses an object's properties using reflection.
getProperty(Object, String) - Static method in class nl.colorize.util.ReflectionUtils
Accesses the object's property with the specified name using reflection, and returns its value.
getPropertyComparator(String) - Static method in class nl.colorize.util.ReflectionUtils
Returns a comparator that compares objects based on the value of one of their properties.
getPropertyDeserializer() - Method in class nl.colorize.util.cli.CommandLineArgumentParser
Returns the PropertyDeserializer that is used to convert command line arguments, which are always strings, to the correct type.
getPropertyNames(Class<?>) - Static method in class nl.colorize.util.ReflectionUtils
Returns the names of the properties defined by the specified class.
getPropertyTypes(Class<?>) - Static method in class nl.colorize.util.ReflectionUtils
Returns the names and types of the properties defined by the specified class.
getRed() - Method in class nl.colorize.util.swing.AnimatedColor
 
getRelativePath(File, File) - Static method in class nl.colorize.util.FileUtils
Deprecated.
Use Path.relativize instead. This can be used even when working with APIs still using File instances: base.toPath().relativize(file.toPath).
getRequiredParameter(String) - Method in class nl.colorize.util.http.PostData
Returns the value of the parameter with the specified name.
getRGB() - Method in class nl.colorize.util.swing.AnimatedColor
 
getRight() - Method in class nl.colorize.util.stats.TupleList
Returns a list consisting of the right element of every tuple.
getRowCount() - Method in class nl.colorize.util.swing.Table
 
getRowData(R) - Method in class nl.colorize.util.swing.Table
 
getRowKeys() - Method in class nl.colorize.util.swing.Table
 
getRowTooltip(R) - Method in class nl.colorize.util.swing.Table
 
getScreenPixelRatio() - Static method in class nl.colorize.util.swing.SwingUtils
Deprecated.
This method relies on Apple-specific AWT properties, which remain from the old Apple JDK but will be removed from the JDK in Java 9.
getScreenSize() - Static method in class nl.colorize.util.swing.SwingUtils
Returns the platform's current screen size.
getScreenSizeDescription() - Static method in class nl.colorize.util.swing.SwingUtils
Returns a textual description the platform's current screen size.
getSelectedButton(List<? extends AbstractButton>) - Static method in class nl.colorize.util.swing.SwingUtils
 
getSelectedButton(ButtonGroup) - Static method in class nl.colorize.util.swing.SwingUtils
 
getSelectedRowIndex() - Method in class nl.colorize.util.swing.Table
Deprecated.
getSelectedRowKey() - Method in class nl.colorize.util.swing.Table
Returns the key of the row that is currently selected, or null when no row is selected.
getSelectedRowKeySupplier() - Method in class nl.colorize.util.swing.Table
Returns a Supplier that produces the currentlty selected row key when called.
getSeriesByName() - Method in class nl.colorize.util.stats.Histogram
Returns all series in this histogram, sorted alphabetically.
getSeriesByTotalValue() - Method in class nl.colorize.util.stats.Histogram
Returns all series in this histogram, sorted by total frequency so that the highest-scoring series is first in the list.
getSeriesValues(String) - Method in class nl.colorize.util.stats.Histogram
 
getSize() - Method in record class nl.colorize.util.stats.Range
Returns the number of integers in this range.
getStackTrace(Throwable) - Static method in class nl.colorize.util.LogHelper
Returns the strack trace for the specified exception as a string.
getStartDirectory() - Method in class nl.colorize.util.swing.ComboFileDialog
 
getString(String, Object...) - Method in class nl.colorize.util.TranslationBundle
Provided for API compatibility with ResourceBundle and the DynamicResourceBundle subclass that used to be included in previous versions of this library.
getStripedRowColor(int) - Static method in class nl.colorize.util.swing.SwingUtils
Returns the appropriate row background color for components with a striped appearance, such as tables, lists, and trees.
getSystemArchitecture() - Static method in enum class nl.colorize.util.Platform
Returns the system's processor architecture as described by the "os.arch" system property.
getTempDir() - Static method in enum class nl.colorize.util.Platform
Returns the platform's directory for temporary files.
getText(String, Object...) - Method in class nl.colorize.util.TranslationBundle
Returns the text string with the specified key for the default translation.
getText(Locale, String, Object...) - Method in class nl.colorize.util.TranslationBundle
Returns the text string with the specified key, for the requested locale.
getTitle() - Method in class nl.colorize.util.swing.ComboFileDialog
 
getTotalBinValue(B) - Method in class nl.colorize.util.stats.Histogram
 
getTotalSeriesValue(String) - Method in class nl.colorize.util.stats.Histogram
 
getUsedHeapMemory() - Static method in enum class nl.colorize.util.Platform
Returns the amount of heap memory that is currently being used by the JVM, in bytes.
getUserAccount() - Static method in enum class nl.colorize.util.Platform
Returns the name of the current user.
getUserData(String) - Static method in enum class nl.colorize.util.Platform
Returns a File handle that points to a file in the platform's standard directory for storing user data (e.g.
getUserDataDirectory() - Static method in enum class nl.colorize.util.Platform
Returns the platform's standard directory for storing user data (e.g.
getUserDesktopDir() - Static method in enum class nl.colorize.util.Platform
Returns a File that points to the current user's desktop directory.
getUserHomeDir() - Static method in enum class nl.colorize.util.Platform
Returns a File that points to the current user's home directory.
getUserWorkingDirectory() - Static method in enum class nl.colorize.util.Platform
Returns a File that points to the current working directory.
getValue() - Method in class nl.colorize.util.animation.Timeline
Returns the value of the property that is animated by this timeline.
getValue() - Method in class nl.colorize.util.Promise
Returns this Promise's result, which might be pending, or throws the exception that caused the Promise to be rejected.
getValue(String, B) - Method in class nl.colorize.util.stats.Histogram
 
getValueAt(int, int) - Method in class nl.colorize.util.swing.Table
 
getVerticalMargin() - Method in class nl.colorize.util.swing.FormPanel
 
goFullScreen(JFrame) - Static method in class nl.colorize.util.swing.MacIntegration
Enables fullscreen mode for the specified window.
goFullScreen(JFrame) - Static method in class nl.colorize.util.swing.SwingUtils
Enables full-screen mode for the specified window.
GONE - Static variable in interface nl.colorize.util.http.HttpStatus
 
GOOGLE_CLOUD - Enum constant in enum class nl.colorize.util.Platform
 

H

hasColumnNameInformation() - Method in class nl.colorize.util.CSVRecord
 
hashCode() - Method in record class nl.colorize.util.animation.KeyFrame
Returns a hash code value for this object.
hashCode() - Method in record class nl.colorize.util.http.URLResponse
Returns a hash code value for this object.
hashCode() - Method in record class nl.colorize.util.ResourceFile
Returns a hash code value for this object.
hashCode() - Method in record class nl.colorize.util.stats.DateRange
Returns a hash code value for this object.
hashCode() - Method in record class nl.colorize.util.stats.Range
Returns a hash code value for this object.
hashCode() - Method in record class nl.colorize.util.stats.Tuple
Returns a hash code value for this object.
hashCode() - Method in class nl.colorize.util.swing.AnimatedColor
 
hashCode() - Method in class nl.colorize.util.Version
 
hasKeyFrameAtPosition(float) - Method in class nl.colorize.util.animation.Timeline
 
hasPreferencesMenu() - Method in interface nl.colorize.util.swing.ApplicationMenuListener
When true, this will show the "Preferences" entry as part of the application menu.
hasRequestBody() - Method in enum class nl.colorize.util.http.Method
If true, HTTP requests using this method will send request parameters as part of the request body.
HEAD - Enum constant in enum class nl.colorize.util.http.Method
 
headers() - Method in record class nl.colorize.util.http.URLResponse
Returns the value of the headers record component.
Headers - Class in nl.colorize.util.http
Immutable representation of the HTTP headers sent as part of HTTP request and response messages.
Headers() - Constructor for class nl.colorize.util.http.Headers
 
Headers(Map<String, String>) - Constructor for class nl.colorize.util.http.Headers
 
Headers(Tuple<String, String>...) - Constructor for class nl.colorize.util.http.Headers
 
Headers(TupleList<String, String>) - Constructor for class nl.colorize.util.http.Headers
 
Histogram<B> - Class in nl.colorize.util.stats
Categorizes the frequency of data points within different bins.
Histogram() - Constructor for class nl.colorize.util.stats.Histogram
 
HTTP_VERSION_NOT_SUPPORTED - Static variable in interface nl.colorize.util.http.HttpStatus
 
HttpStatus - Interface in nl.colorize.util.http
HTTP response status codes, as defined by the HTTP/1.1 standard, as defined in RFC 2616.

I

IM_A_TEAPOT - Static variable in interface nl.colorize.util.http.HttpStatus
 
ImageViewer - Class in nl.colorize.util.swing
Custom Swing component for displaying an image in desktop applications, with configurable camera behavior.
ImageViewer(boolean) - Constructor for class nl.colorize.util.swing.ImageViewer
 
ImageViewer(boolean, BufferedImage) - Constructor for class nl.colorize.util.swing.ImageViewer
 
immutable() - Method in class nl.colorize.util.stats.TupleList
Creates a new TupleList that contains the same elements as this one, but does not allow modification.
inclusive(int, int) - Static method in record class nl.colorize.util.stats.Range
 
index(int) - Method in record class nl.colorize.util.stats.Range
Returns the index of the specified value within this range.
initializeSwing() - Static method in class nl.colorize.util.swing.SwingUtils
Initializes Swing by selecting the best look-and-feel for the current platform.
insertUpdate(DocumentEvent) - Method in class nl.colorize.util.swing.SuggestingComboBox
 
INTERNAL_SERVER_ERROR - Static variable in interface nl.colorize.util.http.HttpStatus
 
interpolate(float, float, float) - Method in interface nl.colorize.util.animation.Interpolation
Returns the interpolated value between x0 and x1.
interpolateColor(Color, Color, float) - Static method in class nl.colorize.util.swing.Utils2D
Creates a new color that calculates its red/green/blue/alpha components by interpolating between two other colors.
Interpolation - Interface in nl.colorize.util.animation
Interpolation methods.
intersects(Range) - Method in record class nl.colorize.util.stats.Range
Returns true if at least one number is included in both this range and the range r.
interval() - Method in record class nl.colorize.util.stats.DateRange
Returns the value of the interval record component.
inverse() - Method in record class nl.colorize.util.stats.Tuple
Returns a new tuple with the inverse of this tuple's elements.
inverse() - Method in class nl.colorize.util.stats.TupleList
 
IOS - Enum constant in enum class nl.colorize.util.Platform
 
isAtLeast(Version) - Method in class nl.colorize.util.Version
 
isAtStart() - Method in class nl.colorize.util.animation.Timeline
Returns true if the playhead is positioned at the start of the timeline.
isCached(K) - Method in class nl.colorize.util.stats.Cache
Returns true if the value for the specified key is currently cached, and false if the value still needs to be computed.
isCellEditable(int, int) - Method in class nl.colorize.util.swing.Table
 
isClientError(int) - Static method in interface nl.colorize.util.http.HttpStatus
 
isCompleted() - Method in class nl.colorize.util.animation.Timeline
Returns true if the playhead has reached the end of the timeline.
isCurrentlyActive(Animatable) - Method in class nl.colorize.util.swing.SwingAnimator
Returns true if the animation is currently active and should receive frame updates.
isEmpty() - Method in class nl.colorize.util.http.PostData
 
isError(int) - Static method in interface nl.colorize.util.http.HttpStatus
 
isGoogleCloud() - Static method in enum class nl.colorize.util.Platform
 
isHeadlessEnvironment() - Static method in class nl.colorize.util.swing.SwingUtils
Returns true if the current platform is a "headless" (non-graphical) environment, and AWT/Swing/JavaFX are not supported.
isLinux() - Static method in enum class nl.colorize.util.Platform
 
isLoop() - Method in class nl.colorize.util.animation.Timeline
 
isMac() - Static method in enum class nl.colorize.util.Platform
 
isMacAppStore() - Static method in enum class nl.colorize.util.Platform
Returns true if the application was downloaded from the Mac App Store.
isNewerThan(Version) - Method in class nl.colorize.util.Version
 
isOlderThan(Version) - Method in class nl.colorize.util.Version
 
isPlaying() - Method in class nl.colorize.util.animation.Timeline
Returns true if this timeline is "playing" (e.g.
isRedirect(int) - Static method in interface nl.colorize.util.http.HttpStatus
 
isResponseHeadersOnly() - Method in enum class nl.colorize.util.http.Method
If true, HTTP requests using this method should only download the response headers, not the response body.
isRetinaDisplay() - Static method in class nl.colorize.util.swing.SwingUtils
Deprecated.
This method relies on Apple-specific AWT properties, which remain from the old Apple JDK but will be removed from the JDK in Java 9.
isSafe() - Method in enum class nl.colorize.util.http.Method
Indicates that this request method is "safe" and intended for information retrieval without changing the state of the server.
isServerError(int) - Static method in interface nl.colorize.util.http.HttpStatus
 
isTeaVM() - Static method in enum class nl.colorize.util.Platform
 
isUnknown() - Method in class nl.colorize.util.Version
 
isWindows() - Static method in enum class nl.colorize.util.Platform
 
iterator() - Method in record class nl.colorize.util.stats.Range
 

K

KeyFrame - Record Class in nl.colorize.util.animation
Defines a property's value at a certain point in time.
KeyFrame(float, float) - Constructor for record class nl.colorize.util.animation.KeyFrame
Creates an instance of a KeyFrame record class.

L

layoutContainer(Container) - Method in class nl.colorize.util.swing.AccordionPanel
 
layoutContainer(Container) - Method in class nl.colorize.util.swing.FormPanel
 
left() - Method in record class nl.colorize.util.stats.Tuple
Returns the value of the left record component.
LENGTH_REQUIRED - Static variable in interface nl.colorize.util.http.HttpStatus
 
LINE_JOINER - Static variable in class nl.colorize.util.TextUtils
 
LINE_SPLITTER - Static variable in class nl.colorize.util.TextUtils
 
LINEAR - Static variable in interface nl.colorize.util.animation.Interpolation
Linear interpolation.
LINUX - Enum constant in enum class nl.colorize.util.Platform
 
loadFont(InputStream, int, float) - Static method in class nl.colorize.util.swing.SwingUtils
Loads a TrueType font and returns it as an AWT font.
loadFont(ResourceFile, int, float) - Static method in class nl.colorize.util.swing.SwingUtils
Loads a TrueType font and returns it as an AWT font.
loadIcon(ResourceFile) - Static method in class nl.colorize.util.swing.SwingUtils
Loads an icon from the specified file.
loadIconImage(ResourceFile) - Static method in class nl.colorize.util.swing.SwingUtils
Loads an icon from the specified file, for use in javax.swing.JFrame#setIconImage(Image).
loadImage(File) - Static method in class nl.colorize.util.swing.Utils2D
Loads an image from a file.
loadImage(InputStream) - Static method in class nl.colorize.util.swing.Utils2D
Loads an image from a stream.
loadImage(ResourceFile) - Static method in class nl.colorize.util.swing.Utils2D
Loads an image from a resource file.
loadProperties(File, Charset) - Static method in class nl.colorize.util.LoadUtils
Loads a properties file from a local file.
loadProperties(Reader) - Static method in class nl.colorize.util.LoadUtils
Loads a properties file from a reader and returns the resulting Properties object.
loadProperties(String) - Static method in class nl.colorize.util.LoadUtils
Loads a properties file from a string containing the file contents.
loadProperties(ResourceFile) - Static method in class nl.colorize.util.LoadUtils
Loads a .properties file that is assumed to use the UTF-8 character encoding.
loadProperties(ResourceFile, Charset) - Static method in class nl.colorize.util.LoadUtils
Loads a .properties file using the specified character encoding.
LoadUtils - Class in nl.colorize.util
Utility class to load and save data of various types.
LogHelper - Class in nl.colorize.util
Helper methods for initializing and configuring java.util.logging loggers programmatically.

M

MAC - Enum constant in enum class nl.colorize.util.Platform
 
MacIntegration - Class in nl.colorize.util.swing
Utility class for making macOS specific behavior available to Swing applications.
makeImageCompatible(BufferedImage) - Static method in class nl.colorize.util.swing.Utils2D
Converts a BufferedImage to the pixel format and color model preferred by the graphics environment.
matchAll(String, Pattern) - Static method in class nl.colorize.util.TextUtils
Returns all matches for a regular expression.
matchAll(String, Pattern, int) - Static method in class nl.colorize.util.TextUtils
Returns all matches for a regular expression.
matchFirst(String, Pattern) - Static method in class nl.colorize.util.TextUtils
Returns the first match of a regular expression.
matchFirst(String, Pattern, int) - Static method in class nl.colorize.util.TextUtils
Returns the first match of a regular expression.
matchInterval(ChronoUnit, Date) - Method in record class nl.colorize.util.stats.DateRange
Splits this date range into intervals, then returns the first interval that contains the specified date.
matchLines(File, Charset, Pattern) - Static method in class nl.colorize.util.TextUtils
Reads all lines from a file, and returns only the lines that match a regular expression.
matchLines(File, Charset, Pattern, int) - Static method in class nl.colorize.util.TextUtils
Reads all lines from a file, and returns only the lines that match a regular expression.
matchLines(Reader, Pattern) - Static method in class nl.colorize.util.TextUtils
Reads all lines, and returns only the lines that match a regular expression.
matchLines(Reader, Pattern, int) - Static method in class nl.colorize.util.TextUtils
Reads all lines, and returns only the lines that match a regular expression.
matchLines(String, Pattern) - Static method in class nl.colorize.util.TextUtils
Reads all lines in a string, and returns only the lines that match a regular expression.
matchLines(String, Pattern, int) - Static method in class nl.colorize.util.TextUtils
Reads all lines in a string, and returns only the lines that match a regular expression.
matchLines(String, Pattern, Consumer<List<String>>) - Static method in class nl.colorize.util.TextUtils
Runs a regular expression on all lines within the specified string, then invokes a callback function for every match.
merge(PostData) - Method in class nl.colorize.util.http.PostData
Creates a new PostData instance by merging all parameters from this instance with another one.
message(JFrame, String) - Static method in class nl.colorize.util.swing.Popups
Shows a simple pop-up window that displays a text message and contains a default "OK" button.
message(JFrame, String, String) - Static method in class nl.colorize.util.swing.Popups
Shows a simple pop-up window that displays a text message and contains a default "OK" button.
message(JFrame, String, String, String...) - Static method in class nl.colorize.util.swing.Popups
Shows a pop-up window that consists of the specified component and a number of buttons.
message(JFrame, String, String, List<String>) - Static method in class nl.colorize.util.swing.Popups
Shows a pop-up window that consists of the specified component and a number of buttons.
message(JFrame, String, JComponent) - Static method in class nl.colorize.util.swing.Popups
Shows a simple pop-up window that displays a component and contains a default "OK" button.
message(JFrame, String, JComponent, String...) - Static method in class nl.colorize.util.swing.Popups
Shows a pop-up window that consists of the specified component and a number of buttons.
message(JFrame, String, JComponent, List<String>) - Static method in class nl.colorize.util.swing.Popups
Shows a pop-up window that consists of the specified component and a number of buttons.
MESSAGE_WIDTH - Static variable in class nl.colorize.util.swing.Popups
 
Method - Enum Class in nl.colorize.util.http
HTTP request methods, as defined by the HTTP/1.1 standard.
METHOD_NOT_ALLOWED - Static variable in interface nl.colorize.util.http.HttpStatus
 
minimumLayoutSize(Container) - Method in class nl.colorize.util.swing.AccordionPanel
 
minimumLayoutSize(Container) - Method in class nl.colorize.util.swing.FormPanel
 
mkdir(File) - Static method in class nl.colorize.util.FileUtils
Creates a directory.
mkdir(File, String) - Static method in class nl.colorize.util.FileUtils
Creates a new directory with the specified name and location, then returns the directory that was just created.
MOVED_PERMANENTLY - Static variable in interface nl.colorize.util.http.HttpStatus
 
movePlayhead(float) - Method in class nl.colorize.util.animation.Timeline
Moves the playhead by the specified amount.
MultiLabel - Class in nl.colorize.util.swing
Component similar to a JLabel, but it can display text in multiple lines.
MultiLabel(String, int) - Constructor for class nl.colorize.util.swing.MultiLabel
Creates a new MultiLabel with the specified text label.
MultiLabel(String, int, int) - Constructor for class nl.colorize.util.swing.MultiLabel
Creates a new MultiLabel with the specified text label.
MultiLabel(String, int, int, Font) - Constructor for class nl.colorize.util.swing.MultiLabel
Creates a new MultiLabel with the specified text label.
MULTIPLE_CHOICES - Static variable in interface nl.colorize.util.http.HttpStatus
 

N

name() - Element in annotation interface nl.colorize.util.cli.Arg
The command line argument name.
NETWORK_AUTHENTICATION_REQUIRED - Static variable in interface nl.colorize.util.http.HttpStatus
 
nl.colorize.util - package nl.colorize.util
 
nl.colorize.util.animation - package nl.colorize.util.animation
 
nl.colorize.util.cli - package nl.colorize.util.cli
 
nl.colorize.util.http - package nl.colorize.util.http
 
nl.colorize.util.stats - package nl.colorize.util.stats
 
nl.colorize.util.swing - package nl.colorize.util.swing
 
NO_CONTENT - Static variable in interface nl.colorize.util.http.HttpStatus
 
NON_AUTHORITATIVE_INFORMATION - Static variable in interface nl.colorize.util.http.HttpStatus
 
NOT_ACCEPTABLE - Static variable in interface nl.colorize.util.http.HttpStatus
 
NOT_EXTENDED - Static variable in interface nl.colorize.util.http.HttpStatus
 
NOT_FOUND - Static variable in interface nl.colorize.util.http.HttpStatus
 
NOT_IMPLEMENTED - Static variable in interface nl.colorize.util.http.HttpStatus
 
NOT_MODIFIED - Static variable in interface nl.colorize.util.http.HttpStatus
 

O

of(List<Tuple<L, R>>) - Static method in class nl.colorize.util.stats.TupleList
 
of(L, R) - Static method in record class nl.colorize.util.stats.Tuple
 
of(Tuple<L, R>...) - Static method in class nl.colorize.util.stats.TupleList
 
OK - Static variable in interface nl.colorize.util.http.HttpStatus
 
onAbout() - Method in interface nl.colorize.util.swing.ApplicationMenuListener
Called when the "About" application menu item is clicked.
onFrame(float) - Method in interface nl.colorize.util.animation.Animatable
Called every frame update while the animation is active.
onFrame(float) - Method in class nl.colorize.util.animation.Timeline
Moves the playhead forward by deltaTime.
onFrame(float) - Method in class nl.colorize.util.swing.AnimatedColor
 
onFrame(float) - Method in class nl.colorize.util.swing.CircularLoader
 
onPreferences() - Method in interface nl.colorize.util.swing.ApplicationMenuListener
Called when the "Preferences" application menu item (if available) is clicked.
onQuit() - Method in interface nl.colorize.util.swing.ApplicationMenuListener
Called when the "Quit" application menu item is clicked.
openBrowser(String) - Static method in class nl.colorize.util.swing.MacIntegration
Deprecated.
Use SwingUtils.openBrowser(String) instead, which provides the same behavior but uses a cross-platform API that also supports other operating systems.
openBrowser(String) - Static method in class nl.colorize.util.swing.SwingUtils
Opens the platform's default browser with the specified URL.
openFile(File) - Static method in class nl.colorize.util.swing.MacIntegration
Deprecated.
Use SwingUtils.openFile(File) instead, which provides the same behavior but uses a cross-platform API that also supports other operating systems.
openFile(File) - Static method in class nl.colorize.util.swing.SwingUtils
Opens the specified file in the platform's default application for that file type.
openReader(Charset) - Method in record class nl.colorize.util.http.URLResponse
 
openReader(Charset) - Method in interface nl.colorize.util.Resource
 
openReader(Charset) - Method in record class nl.colorize.util.ResourceFile
 
openStream() - Method in record class nl.colorize.util.http.URLResponse
 
openStream() - Method in interface nl.colorize.util.Resource
 
openStream() - Method in record class nl.colorize.util.ResourceFile
 
OPTIONS - Enum constant in enum class nl.colorize.util.http.Method
 

P

packFormHeight() - Method in class nl.colorize.util.swing.FormPanel
Updates the form's preferred height based on the minimum height that fits all rows.
paintComponent(Graphics) - Method in class nl.colorize.util.swing.CircularLoader
 
paintComponent(Graphics) - Method in class nl.colorize.util.swing.ImageViewer
 
paintComponent(Graphics) - Method in class nl.colorize.util.swing.MultiLabel
Repaints this label.
paintComponent(Graphics) - Method in class nl.colorize.util.swing.SuggestingComboBox
 
parse(String) - Static method in class nl.colorize.util.DateParser
Parses a date while attempting to automatically detect the date format for the specified input string.
parse(String) - Static method in enum class nl.colorize.util.http.Method
Returns the Method instance corresponding to the HTTP request method with the specified name.
parse(String) - Static method in class nl.colorize.util.Version
Parses a version number from the specified version string.
parse(String[], Class<T>) - Method in class nl.colorize.util.cli.CommandLineArgumentParser
Parses the command line arguments based on the Arg annotations in the specified class.
parse(String, Class<T>) - Method in class nl.colorize.util.PropertyDeserializer
Deserializes a text-based property to the specified type.
parse(String, String) - Static method in class nl.colorize.util.DateParser
Wrapper around SimpleDateFormat.parse to parse a date using the specified date format in a thread-safe way.
parse(String, Charset) - Static method in class nl.colorize.util.http.PostData
Parses PostData from the specified string.
parseCSV(String, String, boolean) - Static method in class nl.colorize.util.CSVRecord
Parses a CSV file containing any number of record.
parseHexColor(String) - Static method in class nl.colorize.util.swing.Utils2D
Converts a hex string to a Color.
parseRecord(String, String) - Static method in class nl.colorize.util.CSVRecord
Parses an individual CSV record, using the specified delimiter.
PARTIAL_CONTENT - Static variable in interface nl.colorize.util.http.HttpStatus
 
path() - Method in record class nl.colorize.util.ResourceFile
Returns the value of the path record component.
PAYLOAD_TOO_LARGE - Static variable in interface nl.colorize.util.http.HttpStatus
 
PAYMENT_REQUIRED - Static variable in interface nl.colorize.util.http.HttpStatus
 
performFrameUpdate(float) - Method in class nl.colorize.util.swing.SwingAnimator
Performs a frame update for all animations that are currently playing.
PERMANENT_REDIRECT - Static variable in interface nl.colorize.util.http.HttpStatus
 
Platform - Enum Class in nl.colorize.util
Provides access to the underlying platform.
play(Animatable) - Method in class nl.colorize.util.swing.SwingAnimator
Starts playing an animation, that will continue playing until it is cancelled.
play(Timeline, Animatable) - Method in class nl.colorize.util.swing.SwingAnimator
Starts playing an animation based to the specified timeline.
Popups - Class in nl.colorize.util.swing
Utility class for working with pop-up windows.
post(String) - Static method in class nl.colorize.util.http.URLLoader
Factory method that creates a POST request to the specified URL.
POST - Enum constant in enum class nl.colorize.util.http.Method
 
PostData - Class in nl.colorize.util.http
Represents data that has been sent as part of a HTTP request, encoded using the application/x-www-form-urlencoded content type.
precompute(Iterable<K>) - Method in class nl.colorize.util.stats.Cache
Precomputes the values for the specified keys, so the cached values are used when the key/value pairs are retrieved at a later time.
precompute(K) - Method in class nl.colorize.util.stats.Cache
Precomputes the value for the specified key, so the cached value is used when the key/value pair is retrieved at a later time.
PRECONDITION_FAILED - Static variable in interface nl.colorize.util.http.HttpStatus
 
PRECONDITION_REQUIRED - Static variable in interface nl.colorize.util.http.HttpStatus
 
preferredLayoutSize(Container) - Method in class nl.colorize.util.swing.AccordionPanel
 
preferredLayoutSize(Container) - Method in class nl.colorize.util.swing.FormPanel
 
printUsage(Class<?>) - Method in class nl.colorize.util.cli.CommandLineArgumentParser
Prints the usage information message for the command line interface.
Promise<T> - Class in nl.colorize.util
Proxy for accessing a value produced by an asynchronous operation.
Promise() - Constructor for class nl.colorize.util.Promise
 
PROPERTY_SSL_CONTEXT - Static variable in class nl.colorize.util.http.URLLoader
 
PropertyDeserializer - Class in nl.colorize.util
Generalized mechanism for taking text-based properties and parsing them into various types.
PropertyDeserializer() - Constructor for class nl.colorize.util.PropertyDeserializer
 
PropertyEditor - Class in nl.colorize.util.swing
Simple user interface for editing name/value properties.
PropertyEditor(Map<String, String>) - Constructor for class nl.colorize.util.swing.PropertyEditor
 
PROXY_AUTHENTICATION_REQUIRED - Static variable in interface nl.colorize.util.http.HttpStatus
 
put(String) - Static method in class nl.colorize.util.http.URLLoader
Factory method that creates a PUT request to the specified URL.
PUT - Enum constant in enum class nl.colorize.util.http.Method
 

Q

QUADRATIC - Static variable in interface nl.colorize.util.animation.Interpolation
Quadratic easing interpolation.

R

Range - Record Class in nl.colorize.util.stats
A set that includes integers between the start and end.
Range(int, int) - Constructor for record class nl.colorize.util.stats.Range
Deprecated.
In new code, prefer using Range.inclusive(int, int) or Range.exclusive(int, int). These factory methods allow for more explicit behavior.
RANGE_NOT_SATISFIABLE - Static variable in interface nl.colorize.util.http.HttpStatus
 
read(Charset) - Method in record class nl.colorize.util.http.URLResponse
 
read(Charset) - Method in interface nl.colorize.util.Resource
 
readBytes() - Method in interface nl.colorize.util.Resource
 
readFirstLines(File, Charset, int) - Static method in class nl.colorize.util.FileUtils
Reads a file's first N lines, or all lines if the file contains less.
readFirstLines(Reader, int) - Static method in class nl.colorize.util.LoadUtils
Reads the first N lines.
readLines(Charset) - Method in interface nl.colorize.util.Resource
 
recalculateHeight(int) - Method in class nl.colorize.util.swing.MultiLabel
 
ReflectionUtils - Class in nl.colorize.util
Various utility and convenience methods for working with reflection.
register(Class<T>, Function<String, T>) - Method in class nl.colorize.util.PropertyDeserializer
 
reject(Exception) - Method in class nl.colorize.util.Promise
Fulfills this Promise with the specified error.
removeAllKeyFrames() - Method in class nl.colorize.util.animation.Timeline
 
removeAllRows() - Method in class nl.colorize.util.swing.Table
 
removeBetween(String, String, String) - Static method in class nl.colorize.util.TextUtils
Removes all text between and including from and to.
removeDoubleClickListener(ActionListener) - Method in class nl.colorize.util.swing.Table
 
removeKeyFrame(float) - Method in class nl.colorize.util.animation.Timeline
Deprecated.
removeKeyFrame(KeyFrame) - Method in class nl.colorize.util.animation.Timeline
 
removeLayoutComponent(Component) - Method in class nl.colorize.util.swing.AccordionPanel
 
removeLayoutComponent(Component) - Method in class nl.colorize.util.swing.FormPanel
 
removeLeading(String, String) - Static method in class nl.colorize.util.TextUtils
 
removeLeadingAndTrailing(String, String, String) - Static method in class nl.colorize.util.TextUtils
 
removeListener(Consumer<Map<String, String>>) - Method in class nl.colorize.util.swing.PropertyEditor
 
removeLookAndFeel(JButton, boolean) - Static method in class nl.colorize.util.swing.SwingUtils
Removes the platform's default look-and-feel from a button.
removeRow(int) - Method in class nl.colorize.util.swing.Table
 
removeRow(R) - Method in class nl.colorize.util.swing.Table
 
removeSubPanel(K) - Method in class nl.colorize.util.swing.AccordionPanel
 
removeTableModelListener(TableModelListener) - Method in class nl.colorize.util.swing.Table
 
removeTrailing(String, String) - Static method in class nl.colorize.util.TextUtils
 
removeUpdate(DocumentEvent) - Method in class nl.colorize.util.swing.SuggestingComboBox
 
replace(String, String) - Method in class nl.colorize.util.http.Headers
Returns a new Headers instance that replaces all occurrences of the header with the specified name.
replaceColumns(List<String>) - Method in class nl.colorize.util.swing.Table
Replaces the table's columns with the specified values.
REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in interface nl.colorize.util.http.HttpStatus
 
REQUEST_TIMEOUT - Static variable in interface nl.colorize.util.http.HttpStatus
 
required() - Element in annotation interface nl.colorize.util.cli.Arg
Indicates whether this is a required command line argument.
reset() - Method in class nl.colorize.util.animation.Timeline
Moves the playhead back to the start of the timeline.
reset() - Method in class nl.colorize.util.swing.AnimatedColor
 
RESET_CONTENT - Static variable in interface nl.colorize.util.http.HttpStatus
 
resolve(T) - Method in class nl.colorize.util.Promise
Fulfills this Promise with the specified value.
resolveWith(T) - Static method in class nl.colorize.util.Promise
Creates a new Promise that will immediately be fulfilled with the specified value.
Resource - Interface in nl.colorize.util
Common interface for resource data.
ResourceException - Exception in nl.colorize.util
Indicates a problem while accessing one of the application's resources, either because the resource cannot be found or because it cannot be read.
ResourceException(String) - Constructor for exception nl.colorize.util.ResourceException
 
ResourceException(String, Throwable) - Constructor for exception nl.colorize.util.ResourceException
 
ResourceFile - Record Class in nl.colorize.util
Reference to a resource file (files included with the application).
ResourceFile(File) - Constructor for record class nl.colorize.util.ResourceFile
 
ResourceFile(String) - Constructor for record class nl.colorize.util.ResourceFile
Creates an instance of a ResourceFile record class.
Retry - Class in nl.colorize.util.http
Generic retry logic for operations that can potentially fail, such as network requests.
Retry(int) - Constructor for class nl.colorize.util.http.Retry
 
Retry(int, boolean) - Constructor for class nl.colorize.util.http.Retry
 
revealInFinder(File) - Static method in class nl.colorize.util.swing.MacIntegration
Reveals the specified file or directory in the Finder.
rewrite(File, Charset, Function<String, String>) - Static method in class nl.colorize.util.FileUtils
Reads all lines in a file, then used the provided callback function to rewrite the lines.
rewriteLine(File, String, String, Charset) - Static method in class nl.colorize.util.FileUtils
Reads all lines in a file, then replaced all matching lines with the specified replacement.
right() - Method in record class nl.colorize.util.stats.Tuple
Returns the value of the right record component.

S

saveDataURL(String, File) - Static method in class nl.colorize.util.swing.Utils2D
Saves an image that is represented by a data URL to a file.
saveJPEG(BufferedImage, File) - Static method in class nl.colorize.util.swing.Utils2D
Encodes the specified image as a JPEG and writes it to a file.
saveJPEG(BufferedImage, OutputStream) - Static method in class nl.colorize.util.swing.Utils2D
Encodes the specified image as a JPEG and writes it to a stream.
savePNG(BufferedImage, File) - Static method in class nl.colorize.util.swing.Utils2D
Encodes the specified image as a PNG and writes it to a file.
savePNG(BufferedImage, OutputStream) - Static method in class nl.colorize.util.swing.Utils2D
Encodes the specified image as a PNG and writes it to a stream.
saveProperties(Properties, File, Charset) - Static method in class nl.colorize.util.LoadUtils
Serializes a Properties object to the specified file.
saveProperties(Properties, Writer) - Static method in class nl.colorize.util.LoadUtils
Serializes a Properties object to the specified writer.
scaleImage(Image, int, int, boolean) - Static method in class nl.colorize.util.swing.Utils2D
Scales an image to the specified dimensions.
scaleImageProportional(Image, int, int, boolean) - Static method in class nl.colorize.util.swing.Utils2D
Scales an image while maintaining its aspect ratio.
SEE_OTHER - Static variable in interface nl.colorize.util.http.HttpStatus
 
send() - Method in class nl.colorize.util.http.URLLoader
Sends the HTTP request and returns the response.
sendAsync() - Method in class nl.colorize.util.http.URLLoader
Asynchronous version of URLLoader.send() that sends the request from a separate thread.
sendPromise() - Method in class nl.colorize.util.http.URLLoader
Asynchronous version of URLLoader.send() that sends the request from a separate thread and returns a Promise to process the result.
serializeProperties(Properties) - Static method in class nl.colorize.util.LoadUtils
Seralizes a Properties object to its text representation, which would normally serve as the contents of the .properties file.
SERVICE_UNAVAILABLE - Static variable in interface nl.colorize.util.http.HttpStatus
 
setApplicationMenuListener(ApplicationMenuListener) - Static method in class nl.colorize.util.swing.MacIntegration
Registers a listener that will be notified every time a menu item in the macOS application menu is clicked.
setColumnSorter(int, Comparator<String>) - Method in class nl.colorize.util.swing.Table
 
setColumnWidth(int, int) - Method in class nl.colorize.util.swing.Table
 
setContentAssistSuggestions(List<?>) - Method in class nl.colorize.util.swing.SuggestingComboBox
Registers the specified objects as suggestions.
setDockBadge(String) - Static method in class nl.colorize.util.swing.MacIntegration
Adds a badge to the application's dock icon with the specified text.
setDockIcon(Image) - Static method in class nl.colorize.util.swing.MacIntegration
Changes the application's dock icon to the specified image.
setFilter(String, String...) - Method in class nl.colorize.util.swing.ComboFileDialog
Sets a filter so that the dialog will only show files with the specified file extension(s).
setFocusable(JComponent, boolean) - Static method in class nl.colorize.util.swing.SwingUtils
setFont(JPanel, Font) - Static method in class nl.colorize.util.swing.SwingUtils
Calls JComponent.setFont(Font) on a component and then recursively on its child component.
setHorizontalMargin(int) - Method in class nl.colorize.util.swing.FormPanel
 
setLabel(String) - Method in class nl.colorize.util.swing.MultiLabel
 
setLabel(String, boolean) - Method in class nl.colorize.util.swing.MultiLabel
 
setLineColor(Color) - Method in class nl.colorize.util.swing.CircularLoader
 
setLineStroke(float) - Method in class nl.colorize.util.swing.CircularLoader
 
setLineStroke(Stroke) - Method in class nl.colorize.util.swing.CircularLoader
 
setOpaque(JComponent, boolean) - Static method in class nl.colorize.util.swing.SwingUtils
setPlayhead(float) - Method in class nl.colorize.util.animation.Timeline
Moves the playhead to the specified position.
setPlayhead(float) - Method in class nl.colorize.util.swing.AnimatedColor
 
setPreferredHeight(JComponent, int) - Static method in class nl.colorize.util.swing.SwingUtils
Changes a component's preferred height without changing its preferred width.
setPreferredSize(JComponent, int, int) - Static method in class nl.colorize.util.swing.SwingUtils
 
setPreferredWidth(JComponent, int) - Static method in class nl.colorize.util.swing.SwingUtils
Changes a component's preferred width without changing its preferred height.
setProperty(Object, String, Object) - Static method in class nl.colorize.util.ReflectionUtils
Accesses the object's property with the specified name using reflection, and updates its value.
setRightAlignLabels(boolean) - Method in class nl.colorize.util.swing.FormPanel
 
setRowTooltip(R, String) - Method in class nl.colorize.util.swing.Table
 
setStartDirectory(File) - Method in class nl.colorize.util.swing.ComboFileDialog
 
setStartDirectory(String) - Method in class nl.colorize.util.swing.ComboFileDialog
 
setTableCellRenderer(int, TableCellRenderer) - Method in class nl.colorize.util.swing.Table
 
setText(String) - Method in class nl.colorize.util.swing.SuggestingComboBox
 
setTitle(String) - Method in class nl.colorize.util.swing.ComboFileDialog
 
setValueAt(Object, int, int) - Method in class nl.colorize.util.swing.Table
 
setVerticalMargin(int) - Method in class nl.colorize.util.swing.FormPanel
 
showNotification(String, String) - Static method in class nl.colorize.util.swing.MacIntegration
Sends a notification to the macOS Notification Center.
showOpenDialog(JFrame) - Method in class nl.colorize.util.swing.ComboFileDialog
Shows an 'open file' dialog and returns the selected file.
showSaveDialog(JFrame, String) - Method in class nl.colorize.util.swing.ComboFileDialog
Shows a 'save file' dialog, and returns the selected file.
span(List<Integer>) - Static method in record class nl.colorize.util.stats.Range
Creates a range that is based on the minimum and maximum values from the specified list.
span(IntStream) - Static method in record class nl.colorize.util.stats.Range
Creates a range that is based on the minimum and maximum values from the specified stream.
span(DateRange) - Method in record class nl.colorize.util.stats.DateRange
Creates a new date range that spans both this and other.
span(Range) - Method in record class nl.colorize.util.stats.Range
Returns a new range that contains all values from both this range and all values from r.
split(ChronoUnit) - Method in record class nl.colorize.util.stats.DateRange
Splits this date range into a number of intervals.
start() - Method in record class nl.colorize.util.stats.DateRange
Returns the value of the start record component.
start() - Method in record class nl.colorize.util.stats.Range
Returns the value of the start record component.
start() - Method in class nl.colorize.util.swing.SwingAnimator
Starts this Animator.
startsWith(String, Collection<String>) - Static method in class nl.colorize.util.TextUtils
 
status() - Method in record class nl.colorize.util.http.URLResponse
Returns the value of the status record component.
stop() - Method in class nl.colorize.util.swing.SwingAnimator
Stops this Animator.
Stopwatch - Class in nl.colorize.util
A timer with millisecond precision.
Stopwatch() - Constructor for class nl.colorize.util.Stopwatch
 
stream() - Method in record class nl.colorize.util.stats.Range
 
SuggestingComboBox - Class in nl.colorize.util.swing
Text field that shows suggestions based on the entered text and history, similar to a browser's URL/search field.
SuggestingComboBox() - Constructor for class nl.colorize.util.swing.SuggestingComboBox
 
SuggestingComboBox(int) - Constructor for class nl.colorize.util.swing.SuggestingComboBox
 
SwingAnimator - Class in nl.colorize.util.swing
Schedules animations and drives them by performing frame updates at regular intervals.
SwingAnimator() - Constructor for class nl.colorize.util.swing.SwingAnimator
Creates a SwingAnimator that will operate at the default framerate of 30 frames per second.
SwingAnimator(int) - Constructor for class nl.colorize.util.swing.SwingAnimator
Creates a SwingAnimator that will operate at the specified framerate.
SwingUtils - Class in nl.colorize.util.swing
Miscelleaneous utility and convenience methods for working with Swing.
SWITCHING_PROTOCOLS - Static variable in interface nl.colorize.util.http.HttpStatus
 

T

Table<R> - Class in nl.colorize.util.swing
Wrapper around JTable.
Table(String...) - Constructor for class nl.colorize.util.swing.Table
 
Table(List<String>) - Constructor for class nl.colorize.util.swing.Table
Creates a new table with the specified columns.
TEAVM - Enum constant in enum class nl.colorize.util.Platform
 
TEMPORARY_REDIRECT - Static variable in interface nl.colorize.util.http.HttpStatus
 
TextUtils - Class in nl.colorize.util
Miscellaneous utility and convenience versions for working with text.
then(Consumer<T>) - Method in class nl.colorize.util.Promise
 
then(Consumer<T>, Consumer<Exception>) - Method in class nl.colorize.util.Promise
 
thenCatch(Consumer<Exception>) - Method in class nl.colorize.util.Promise
 
thenMap(Function<T, U>) - Method in class nl.colorize.util.Promise
Adds a result handler that operates on the Promise's value, and then returns a new Promise for the new value.
tick() - Method in class nl.colorize.util.Stopwatch
Marks this point in time.
time() - Method in record class nl.colorize.util.animation.KeyFrame
Returns the value of the time record component.
Timeline - Class in nl.colorize.util.animation
Animates the value of a property over time, by interpolating between key frames.
Timeline() - Constructor for class nl.colorize.util.animation.Timeline
Creates a new timeline that uses the linear interpolation and will not loop.
Timeline(Interpolation) - Constructor for class nl.colorize.util.animation.Timeline
Creates a new timeline that uses the specified interpolation method and will not loop.
Timeline(Interpolation, boolean) - Constructor for class nl.colorize.util.animation.Timeline
 
toActionListener(Consumer<T>, Supplier<T>) - Static method in class nl.colorize.util.swing.SwingUtils
Returns an ActionListener that will invoke the specified callback function.
toActionListener(Consumer<T>, T) - Static method in class nl.colorize.util.swing.SwingUtils
Returns an ActionListener that will invoke the specified callback function.
toArray() - Method in record class nl.colorize.util.stats.Range
Returns an array that contains all integers within this range.
toBufferedImage(Image) - Static method in class nl.colorize.util.swing.Utils2D
Converts an Image of an unknown type to a BufferedImage.
tock() - Method in class nl.colorize.util.Stopwatch
Returns the time since the last Stopwatch.tick(), but does not set a new tick.
toCloseDelegate(Runnable) - Static method in class nl.colorize.util.swing.SwingUtils
 
toCSV() - Method in class nl.colorize.util.stats.Histogram
Returns the contents of this histogram as CSV records.
toCSV(List<CSVRecord>, String, boolean) - Static method in class nl.colorize.util.CSVRecord
Serializes a list of records to CSV, using the specified cell delimiter.
toDataURL(BufferedImage) - Static method in class nl.colorize.util.swing.Utils2D
Creates a data URL out of an existing image.
toHexColor(Color) - Static method in class nl.colorize.util.swing.Utils2D
Converts a Color object to a hex string.
toHoverListener(Consumer<MouseEvent>, Consumer<MouseEvent>) - Static method in class nl.colorize.util.swing.SwingUtils
Produces a MouseListener that performs the specified actions when the mouse enters or exits the component.
toList() - Method in record class nl.colorize.util.stats.Range
Returns a list that contains all integers within this range.
toMap() - Method in class nl.colorize.util.http.PostData
 
toMap(Properties) - Static method in class nl.colorize.util.LoadUtils
Creates a map from a Properties object.
TOO_EARLY - Static variable in interface nl.colorize.util.http.HttpStatus
 
TOO_MANY_REQUESTS - Static variable in interface nl.colorize.util.http.HttpStatus
 
toProperties(Map<String, String>) - Static method in class nl.colorize.util.LoadUtils
Creates a Properties object from a map.
toString() - Method in record class nl.colorize.util.animation.KeyFrame
Returns a string representation of this record class.
toString() - Method in class nl.colorize.util.CSVRecord
 
toString() - Method in class nl.colorize.util.http.Headers
 
toString() - Method in class nl.colorize.util.http.PostData
 
toString() - Method in class nl.colorize.util.http.URLLoader
 
toString() - Method in record class nl.colorize.util.http.URLResponse
Returns a string representation of this record class.
toString() - Method in enum class nl.colorize.util.Platform
Returns the display name for this platform family.
toString() - Method in record class nl.colorize.util.ResourceFile
Returns a string representation of this record class.
toString() - Method in record class nl.colorize.util.stats.DateRange
Returns a string representation of this record class.
toString() - Method in record class nl.colorize.util.stats.Range
Returns a string representation of this record class.
toString() - Method in record class nl.colorize.util.stats.Tuple
Returns the string representation of this tuple.
toString() - Method in class nl.colorize.util.Version
Returns the version string that is represented by this object.
toTitleCase(String) - Static method in class nl.colorize.util.TextUtils
Returns the string str formatted in "title format".
TRACE - Enum constant in enum class nl.colorize.util.http.Method
 
TranslationBundle - Class in nl.colorize.util
Used to access text with different translations for different locale.
truncate(int) - Method in class nl.colorize.util.Version
Returns a new Version instance that is a truncated version of this one.
tryParse(String, String) - Static method in class nl.colorize.util.DateParser
Wrapper around SimpleDateFormat.parse to parse a date using the specified date format in a thread-safe way.
Tuple<L,R> - Record Class in nl.colorize.util.stats
Data structure that consists of two ordered values, sometimes also referred to as a pair.
Tuple(L, R) - Constructor for record class nl.colorize.util.stats.Tuple
Creates an instance of a Tuple record class.
TupleList<L,R> - Class in nl.colorize.util.stats
Convenience class that can be used as a shorthand for creating a list of Tuples.
TupleList() - Constructor for class nl.colorize.util.stats.TupleList
 

U

UNAUTHORIZED - Static variable in interface nl.colorize.util.http.HttpStatus
 
UNAVAILABLE_FOR_LEGAL_REASONS - Static variable in interface nl.colorize.util.http.HttpStatus
 
UNKNOWN - Enum constant in enum class nl.colorize.util.Platform
 
UNKNOWN - Static variable in class nl.colorize.util.Version
 
UNSUPPORTED_MEDIA_TYPE - Static variable in interface nl.colorize.util.http.HttpStatus
 
UPGRADE_REQUIRED - Static variable in interface nl.colorize.util.http.HttpStatus
 
URI_TOO_LONG - Static variable in interface nl.colorize.util.http.HttpStatus
 
URLLoader - Class in nl.colorize.util.http
Cross-platform API for building HTTP requests, then sending those requests using a HTTP client suitable for the current platform.
URLLoader(Method, String, Charset) - Constructor for class nl.colorize.util.http.URLLoader
Starts building a URL request.
URLLoader(Method, URI, Charset) - Constructor for class nl.colorize.util.http.URLLoader
Starts building a URL request.
URLResponse - Record Class in nl.colorize.util.http
Represents an HTTP response that is returned after sending an HTTP request to a URL.
URLResponse(int, Headers, byte[], Charset, Map<String, Object>) - Constructor for record class nl.colorize.util.http.URLResponse
Creates an instance of a URLResponse record class.
usage() - Element in annotation interface nl.colorize.util.cli.Arg
Optionally returns usage information, which is printed when no value or an invalid value for the argument is provided.
USE_PROXY - Static variable in interface nl.colorize.util.http.HttpStatus
 
usesMetalRenderer() - Static method in class nl.colorize.util.swing.MacIntegration
Returns true if a Swing or Java2D application is using the Metal renderer introduced in Java 17, and false if it is using the OpenGL renderer.
usesSwingDialogs() - Method in class nl.colorize.util.swing.ComboFileDialog
Returns whether file dialogs are created using Swing (if this returns true) or AWT (if this returns false).
Utils2D - Class in nl.colorize.util.swing
Utility methods for Java 2D, mainly focused on image manipulation.

V

value() - Method in record class nl.colorize.util.animation.KeyFrame
Returns the value of the value record component.
value() - Method in class nl.colorize.util.Stopwatch
Returns the current value of the underlying timer.
valueOf(String) - Static method in enum class nl.colorize.util.http.Method
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class nl.colorize.util.Platform
Returns the enum constant of this class with the specified name.
values() - Static method in enum class nl.colorize.util.http.Method
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class nl.colorize.util.Platform
Returns an array containing the constants of this enum class, in the order they are declared.
VARIANT_ALSO_NEGOTATES - Static variable in interface nl.colorize.util.http.HttpStatus
 
Version - Class in nl.colorize.util
Represents a version number with arbitrary precision.

W

walkFiles(File, Predicate<File>) - Static method in class nl.colorize.util.FileUtils
Shorthand for Files.walk to iterate over files in a directory, with only files matching the filter being returned.
WINDOWS - Enum constant in enum class nl.colorize.util.Platform
 
withAlpha(Color, float) - Static method in class nl.colorize.util.swing.Utils2D
Returns a color with the same RGB value as color but different alpha.
withAlpha(Color, int) - Static method in class nl.colorize.util.swing.Utils2D
Returns a color with the same RGB value as color but different alpha.
withAlpha(String, int) - Static method in class nl.colorize.util.swing.Utils2D
Returns a color with the RGB value indicated by hexColor but a different alpha.
withAttempts(int) - Method in class nl.colorize.util.http.URLLoader
Changes the number of attempts this URLLoader will perform.
withBasicAuth(String, String) - Method in class nl.colorize.util.http.URLLoader
Convenience method to add the HTTP basic authentication header to the request.
withBins(Iterable<B>) - Static method in class nl.colorize.util.stats.Histogram
Factory method to create a histogram with the specified bins.
withBins(Iterable<B>, Iterable<String>) - Static method in class nl.colorize.util.stats.Histogram
Factory method to create a histogram with the specified bins and series.
withBody(String, String) - Method in class nl.colorize.util.http.URLLoader
Uses the specified request body and sets the Content-Type accordingly.
withBody(PostData) - Method in class nl.colorize.util.http.URLLoader
Uses the specified form data as the request body, and changes the Content-Type header to "application/x-www-form-urlencoded".
withHeader(String, String) - Method in class nl.colorize.util.http.URLLoader
Adds the specified request header.
withHeader(String, String, boolean) - Method in class nl.colorize.util.http.URLLoader
Adds the specified request header.
withHeaders(Map<String, String>) - Method in class nl.colorize.util.http.URLLoader
Adds the specified request headers.
withHeaders(Headers) - Method in class nl.colorize.util.http.URLLoader
Adds the specified request headers.
withJSON(String) - Method in class nl.colorize.util.http.URLLoader
Uses the specified JSON request body, and changes the Content-Type header to "application/json".
withLeft(L) - Method in record class nl.colorize.util.stats.Tuple
Returns a new tuple (newLeft, getRight()).
withPathComponent(String) - Method in class nl.colorize.util.http.URLLoader
Appends the specified path component to the end of the URL.
withQueryParam(String, String) - Method in class nl.colorize.util.http.URLLoader
 
withRight(R) - Method in record class nl.colorize.util.stats.Tuple
Returns a new tuple (getLeft(), newRight).
withTimeout(int) - Method in class nl.colorize.util.http.URLLoader
 
withXML(String) - Method in class nl.colorize.util.http.URLLoader
Uses the specified XML request body, and changes the Content-Type header to "text/xml".
wrapInScrollPane(JComponent) - Static method in class nl.colorize.util.swing.SwingUtils
 
wrapInScrollPane(JComponent, boolean) - Static method in class nl.colorize.util.swing.SwingUtils
 
wrapInScrollPane(JComponent, int) - Static method in class nl.colorize.util.swing.SwingUtils
 
wrapInScrollPane(JComponent, int, int) - Static method in class nl.colorize.util.swing.SwingUtils
 
write(byte[], File) - Static method in class nl.colorize.util.FileUtils
Writes the specified data to a file.
write(String, Charset, File) - Static method in class nl.colorize.util.FileUtils
Writes the specified text to a file.
write(List<String>, Charset, File) - Static method in class nl.colorize.util.FileUtils
Writes the specified lines to a file.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form