Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- about() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that shows the
AboutDialog: from top to bottom, each one that is present of the icon, the displayed name, version, vendor, description, copyright and website. - ABOUT - Enum constant in enum class be.imgn.swing.ui.SystemAction
-
About.
- AboutDialog - Class in be.imgn.swing.ui
-
The About dialog of the standard
about()command. - action() - Method in record class be.imgn.swing.ui.DynamicEntry.Item
-
Returns the value of the
actionrecord component. - action() - Method in record class be.imgn.swing.ui.Trigger.OperatingSystem
-
Returns the value of the
actionrecord component. - activate(BoundCommand) - Method in class be.imgn.swing.testing.AppTester
-
Activates a command on the EDT, as a click would, and runs the posted updates, but doesn't wait for the task it starts, so that a test can act while the task runs, such as activating it again or checking a stop command.
- active() - Method in class be.imgn.swing.docking.Dock
-
Returns the dock view that has the focus, else the one that had it last, else, when none had it, the one opened last.
- active() - Method in interface be.imgn.swing.ui.Frames
-
Returns the view of the active frame: the frame that has the focus, else the frame that had it last, else the frame opened last.
- add(int, E) - Method in interface be.imgn.swing.ObservableList
-
Inserts an element at an index.
- add(E) - Method in interface be.imgn.swing.ObservableList
-
Adds an element at the end.
- add(Path) - Method in class be.imgn.swing.desktop.RecentFiles
-
Puts a file first, removing it from further down, and keeps the ten most recent.
- add(UndoableEdit) - Method in class be.imgn.swing.ui.UndoStack
-
Adds an edit, which discards the edits that were undone.
- addAll(Collection) - Method in interface be.imgn.swing.ObservableList
-
Adds elements at the end, in the collection's iteration order.
- added() - Method in record class be.imgn.swing.ListChange.Replaced
-
Returns the value of the
addedrecord component. - Added(int, List) - Constructor for record class be.imgn.swing.ListChange.Added
-
Creates the change.
- addTab(JTabbedPane, Component) - Method in class be.imgn.swing.ui.Ui
-
Adds a component as the last tab of a tabbed pane, and applies its
tab-titleat once, from the resources of the view's@Exposedfield that holds it, nested ones included: a tab needs no empty title, and gets its title whenever it is added, during the build or later. - ALT - Enum constant in enum class be.imgn.swing.ui.Modifier
-
Alt, or Option on macOS.
- annotation() - Method in interface be.imgn.swing.EventExecutor
-
Returns the subscribing annotation whose deliveries this executor runs.
- answerCommand(String) - Method in class be.imgn.swing.testing.FakeDialogs
-
Queues the answer of the next
chooseCommand: the first entry thatCommandPalette.search(List, String)ranks for the query, or an empty result when none matches. - answerConfirm(boolean) - Method in class be.imgn.swing.testing.FakeDialogs
-
Sets the answer of the next confirmations.
- answerDialog(Class, Consumer) - Method in class be.imgn.swing.testing.FakeDialogs
-
Registers the answer of a dialog view: an action run on the EDT once the dialog is built, which closes it with
ok()orcancel(), through its commands. - answerOpenFile(Path) - Method in class be.imgn.swing.testing.FakeDialogs
-
Queues the answer of the next
openFileorsaveFile: the file chosen. - answerSave(SaveChoice) - Method in class be.imgn.swing.testing.FakeDialogs
-
Queues the answer of the next
askSave. - answerSaveFile(Path) - Method in class be.imgn.swing.testing.FakeDialogs
-
Queues the answer of the next
saveFileoropenFile: the file chosen. - appearance(Appearance) - Method in class be.imgn.swing.testing.AppTester
-
Changes the appearance as the system would, on the EDT, then settles: the resources' dark variants are read, and the open windows are refreshed, when it returns.
- Appearance - Enum Class in be.imgn.swing
-
Whether the user interface is light or dark, which selects the dark variant of resources.
- Appearances - Interface in be.imgn.swing
-
The appearance of the user interface.
- application() - Method in class be.imgn.swing.testing.AppTester
-
Returns the application class's instance: the main window's view, or the singleton of a multi-frame application.
- Application - Annotation Interface in be.imgn.swing
-
Declares the application class: its names, as gaia's
ApplicationDirectoriestakes them, and its version. - APPLICATION - Enum constant in enum class be.imgn.swing.ui.Block
-
The same glass pane on every window.
- ApplicationDescriptor - Interface in be.imgn.swing.spi
-
The names of an
Applicationclass, which the processor generates and registers as a service. - ApplicationInfo - Interface in be.imgn.swing
-
What the application is and where it runs, bound in the root injector.
- apply() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that applies the dialog's form, enabled while the form is dirty: if the form validates, it calls
DialogView.commit(), thenForm.markClean(); the dialog stays open. - apply(String, String, Runnable) - Method in class be.imgn.swing.ui.spi.ComponentResources
-
Applies a property, as the generated injectors do for each one: at the end of a view's build, an exception propagates; at a refresh, it is logged as a warning, and the property is skipped, so that the refresh goes on.
- AppTester<T> - Class in be.imgn.swing.testing
-
Runs an application in a test: the real lifecycle, headless, with fakes for the platform, the directories, the clock and the dialogs.
- AppTester.Builder<T> - Class in be.imgn.swing.testing
-
The configuration of an application to start.
- area(Consumer) - Method in class be.imgn.swing.docking.Dock
-
Returns the dock's area, which the frame view returns from
content()or places in it. - arguments(String...) - Method in class be.imgn.swing.testing.AppTester.Builder
-
Sets the arguments given to the launch, bound as the application's
Arguments, asSwing.launch(type, args)binds them. - Arguments - Record Class in be.imgn.swing
-
The arguments given to the launch of the application, bound in the root injector.
- Arguments(List) - Constructor for record class be.imgn.swing.Arguments
-
Creates the arguments.
- asAction() - Method in class be.imgn.swing.ui.BoundCommand
-
Returns the command's Swing action, the same on each call.
- askSave(String) - Method in class be.imgn.swing.testing.FakeDialogs
- askSave(String) - Method in interface be.imgn.swing.ui.Dialogs
-
Asks whether to save the changes of a document, with Save, Don't Save and Cancel buttons.
- assign(BoundCommand, KeyStroke) - Method in class be.imgn.swing.ui.Keymap
-
Maps a command to a shortcut, and removes the mapping of any other command mapped to the same key stroke, so that two mappings never share one.
- attentionRequests() - Method in class be.imgn.swing.testing.FakeTaskbar
-
Returns how many times the application asked for the user's attention.
B
- badge() - Method in class be.imgn.swing.testing.FakeTaskbar
-
Returns the badge shown.
- badge(String) - Method in class be.imgn.swing.testing.FakeTaskbar
- badge(String) - Method in interface be.imgn.swing.ui.TaskbarStatus
-
Shows a short text, such as a count, through
ICON_BADGE_TEXT. - be.imgn.swing - module be.imgn.swing
-
Lifecycle, scopes, observables, tasks, resources and messages, without Swing.
- be.imgn.swing - package be.imgn.swing
-
The core of swing: what an application needs outside its user interface.
- be.imgn.swing.desktop - module be.imgn.swing.desktop
-
Single instance, open-file events, notifications, documents and recent files.
- be.imgn.swing.desktop - package be.imgn.swing.desktop
-
Desktop integration for swing: single instance, open-file events, notifications, documents and recent files.
- be.imgn.swing.docking - module be.imgn.swing.docking
-
Docking: views docked in a frame, split and tabbed, rearranged by the user, opened and closed while the frame is open, their layout saved with the frame's window state.
- be.imgn.swing.docking - package be.imgn.swing.docking
-
Docking: views docked in a frame, split and tabbed, rearranged by the user, opened and closed while the frame is open, their layout saved with the frame's window state.
- be.imgn.swing.flatlaf - module be.imgn.swing.flatlaf
-
FlatLaf themes, dark mode and SVG icons.
- be.imgn.swing.flatlaf - package be.imgn.swing.flatlaf
-
FlatLaf for swing: its installation, with a theme that follows the operating system, and SVG icons.
- be.imgn.swing.processor - module be.imgn.swing.processor
-
The annotation processor of swing.
- be.imgn.swing.spi - package be.imgn.swing.spi
-
What the code that swing's processor generates calls; not for applications.
- be.imgn.swing.testing - module be.imgn.swing.testing
-
The test harness of swing applications.
- be.imgn.swing.testing - package be.imgn.swing.testing
-
The test harness of swing applications:
AppTesterand its fakes and checkers. - be.imgn.swing.ui - module be.imgn.swing.ui
-
Views, windows, commands, dialogs and window state, in Swing.
- be.imgn.swing.ui - package be.imgn.swing.ui
-
The user interface layer of swing, in Swing.
- be.imgn.swing.ui.spi - package be.imgn.swing.ui.spi
-
What the code that swing's processor generates for views implements and calls; not for applications.
- be.imgn.swing.wizard - module be.imgn.swing.wizard
-
Wizards: dialog views whose content is a sequence of steps, with Previous, Next and Finish, each step validated before the next.
- be.imgn.swing.wizard - package be.imgn.swing.wizard
-
Wizards: a dialog view's steps, with Previous, Next and Finish, each step validated before the next.
- bean(View, Class) - Method in class be.imgn.swing.testing.AppTester
-
Resolves a bean through the injector of an open view of the main frame, its own view or one added while it is open, such as a dock view:
AppTester.bean(Class)andAppTester.commands(Class)resolve through the own view's injector, where an added view's view-scoped beans, such as its generated<Class>Commands, would be built anew, apart from the view. - bean(View, Class) - Method in class be.imgn.swing.testing.OpenFrame
-
Resolves a bean through the injector of an open view of the frame, its own view or one added while it is open, such as a dock view:
OpenFrame.bean(Class)andOpenFrame.commands(Class)resolve through the own view's injector, where an added view's view-scoped beans would be built anew, apart from the view. - bean(Class) - Method in class be.imgn.swing.testing.AppTester
-
Resolves a bean through the main view's injector, so that beans of every scope of the main window are reachable, such as the
SettingsStore, or theApplicationDirectorieswhoseconfig()is the fake config directory, on the memory file system. - bean(Class) - Method in class be.imgn.swing.testing.OpenDialog
-
Resolves a bean through the dialog's view injector, so that beans of every scope of the dialog are reachable, such as the dialog's
Form. - bean(Class) - Method in class be.imgn.swing.testing.OpenFrame
-
Resolves a bean through the frame view's injector, so that beans of every scope of the frame are reachable.
- beside(Class, DockRegion, double) - Static method in record class be.imgn.swing.docking.Placement
-
Returns a placement against the open view of a class opened last.
- bind() - Method in class be.imgn.swing.ui.CommandBuilder
-
Returns the command, created on the first call for its class and id; later calls return the same one.
- bind(Consumer, Observable) - Method in class be.imgn.swing.ui.Ui
-
Calls a target with the current value of an observable, then on every change, on the EDT, until the view's scope closes.
- bind(AbstractButton, Property) - Method in class be.imgn.swing.ui.Form
-
Binds a button, such as a check box, a toggle button or a radio button, to a property of its selected state.
- bind(JComboBox, ObservableList, Function, Property) - Method in class be.imgn.swing.ui.Form
-
Binds a combo box to an observable list and to a property of its selected item.
- bind(JList, ObservableList, Function) - Method in class be.imgn.swing.ui.Ui
-
Shows an observable list in a list: sets a new model on the list, which follows the observable list change by change on the EDT, and a
DefaultListCellRenderershowing the text of each element. - bind(JList, ObservableList, Function, Property) - Method in class be.imgn.swing.ui.Ui
-
Shows an observable list in a list, as
Ui.bind(JList, ObservableList, Function)does, and keeps its single selection and a property in step: a user's selection sets the property, and a change of the property selects its value, or clears the selection for an empty value or one that isn't in the list, then setting the property to empty. - bind(JList, ObservableList, Function, Property, Function) - Method in class be.imgn.swing.ui.Ui
-
Shows an observable list in a list and keeps its single selection and a property in step, as
Ui.bind(JList, ObservableList, Function, Property)does, matching the selected element by key rather than by equality: after a change of the list, the element with the selected element's key keeps the selection, wherever it moved. - bind(JTable, ObservableList, List) - Method in class be.imgn.swing.ui.Ui
-
Shows an observable list in a table, a row per element and a column per
Column, in order: sets a new model on the table, which follows the observable list change by change on the EDT, and whose model index of a column is its position incolumns. - bind(JTable, ObservableList, List, Property) - Method in class be.imgn.swing.ui.Ui
-
Shows an observable list in a table, as
Ui.bind(JTable, ObservableList, List)does, and keeps its single selection and a property in step: a user's selection sets the property, and a change of the property selects its row, or clears the selection for an empty value or one that isn't in the list, then setting the property to empty. - bind(JTable, ObservableList, List, Property, Function) - Method in class be.imgn.swing.ui.Ui
-
Shows an observable list in a table and keeps its single selection and a property in step, as
Ui.bind(JTable, ObservableList, List, Property)does, matching the selected row by key rather than by equality: after a change of the list, the row with the selected row's key keeps the selection, wherever it moved, so that a row modified, moved or reloaded stays selected. - bind(JTextComponent, Property) - Method in class be.imgn.swing.ui.Form
-
Binds a text component to a property of its text.
- bind(JTextComponent, Property, Converter) - Method in class be.imgn.swing.ui.Form
-
Binds a text component to a property through a converter.
- Binding<T> - Class in be.imgn.swing.ui
-
The binding of a component to a property in a
Form, with the rules its value must meet. - block() - Element in annotation interface be.imgn.swing.ui.Command
-
Returns what is blocked while the task the handler returns runs.
- block(Block) - Method in class be.imgn.swing.ui.CommandBuilder
-
Sets the input blocking of a
CommandBuilder.taskHandler(Function). - Block - Enum Class in be.imgn.swing.ui
-
What is blocked while a task runs.
- bool(String, String) - Method in class be.imgn.swing.ui.spi.ComponentResources
-
Returns a boolean property.
- BoundCommand - Class in be.imgn.swing.ui
-
A command of a view, turned into Swing objects.
- BoundMenu - Class in be.imgn.swing.ui
-
A menu of a view, with its resources, that descriptions are made from.
- browse(URI) - Method in class be.imgn.swing.testing.FakeShell
- browse(URI) - Method in interface be.imgn.swing.ui.SystemShell
-
Shows a URI in the browser, in a task of the application scope, whose failure goes to the
FailureHandler. - browsed() - Method in class be.imgn.swing.testing.FakeShell
-
Returns the URIs browsed, in order.
- build() - Method in class be.imgn.swing.ui.FormPanel
-
Returns the panel.
- builder(Class) - Static method in class be.imgn.swing.testing.AppTester
-
Starts the configuration of an application, which
AppTester.Builder.start()starts: inLocale.ROOTand with no arguments unless the builder says otherwise. - button() - Method in record class be.imgn.swing.ui.Trigger.ButtonClick
-
Returns the value of the
buttonrecord component. - buttonBar(BoundCommand...) - Method in class be.imgn.swing.ui.Ui
-
Returns a new row of buttons: a panel with a centered
FlowLayout, holding one button per command, in order, made withBoundCommand.createToggleButton()for a command with a selected state and withBoundCommand.createButton()for any other. - ButtonClick(AbstractButton) - Constructor for record class be.imgn.swing.ui.Trigger.ButtonClick
-
Creates an instance of a
ButtonClickrecord class. - buttons(StandardCommands) - Method in class be.imgn.swing.ui.AboutDialog
-
Returns the command of the dialog's only button.
- buttons(StandardCommands) - Method in interface be.imgn.swing.ui.DialogView
-
Returns the commands of the dialog's buttons.
- buttons(StandardCommands) - Method in class be.imgn.swing.wizard.Wizard
-
Returns the dialog's buttons: Previous, Next, then the dialog's
ok(), which finishes the wizard, andcancel().
C
- call(Supplier) - Method in class be.imgn.swing.testing.AppTester
-
Runs an action on the EDT and waits, then settles as every other call does, and returns the action's result.
- canBrowse() - Method in class be.imgn.swing.testing.FakeShell
- canBrowse() - Method in interface be.imgn.swing.ui.SystemShell
-
Returns whether the system can browse a URI.
- cancel() - Method in class be.imgn.swing.ui.BoundCommand
-
Cancels every task the command started that hasn't ended, waiting ones included; does nothing when there is none.
- cancel() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that closes the dialog without a result, always enabled, whatever the state of its form.
- CANCEL - Enum constant in enum class be.imgn.swing.ui.SaveChoice
-
Goes back to the document.
- cancelCommand() - Method in class be.imgn.swing.testing.FakeDialogs
-
Queues a cancel of the next
chooseCommand; a palette with no answer queued is cancelled too. - cancelFileChooser() - Method in class be.imgn.swing.testing.FakeDialogs
-
Queues a cancel as the answer of the next file chooser, which returns an empty result.
- cancels() - Element in annotation interface be.imgn.swing.ui.Command
-
Returns the id of the command this one stops: a command of the same class, declared or inherited, whose handler returns a
Task. - cancels(String) - Method in class be.imgn.swing.ui.CommandBuilder
-
Makes the command a stop command of another command of the same class, which is resolved when the command is attached: the command is enabled while that one is running, and its activation cancels that one's tasks, then calls its own handler.
- canExit() - Method in interface be.imgn.swing.ExitVeto
-
Returns whether the application may exit.
- canOpen() - Method in class be.imgn.swing.testing.FakeShell
- canOpen() - Method in interface be.imgn.swing.ui.SystemShell
-
Returns whether the system can open a file.
- canRedo() - Method in class be.imgn.swing.ui.UndoStack
-
Returns whether an edit can be redone.
- canUndo() - Method in class be.imgn.swing.ui.UndoStack
-
Returns whether an edit can be undone.
- caption() - Method in record class be.imgn.swing.testing.FakeNotifications.Notification
-
Returns the value of the
captionrecord component. - CENTER - Enum constant in enum class be.imgn.swing.docking.DockRegion
-
As the last tab of the target's tab group.
- check(Rule) - Method in class be.imgn.swing.ui.Binding
-
Adds a rule to this binding, whose check follows those of the rules added before.
- check(Validator) - Method in class be.imgn.swing.ui.Binding
-
Adds the rules of a validator to this binding, in their order, after the rules added before.
- Check - Record Class in be.imgn.swing
-
The status of one requirement of a value.
- Check(String, Check.Status) - Constructor for record class be.imgn.swing.Check
-
Creates a check.
- Check.Status - Enum Class in be.imgn.swing
-
Whether a value meets a requirement.
- checks() - Method in record class be.imgn.swing.Validation
-
Returns the value of the
checksrecord component. - chooseCommand(List) - Method in class be.imgn.swing.testing.FakeDialogs
- chooseCommand(List) - Method in interface be.imgn.swing.ui.Dialogs
-
Shows the command palette over the window: an undecorated modal dialog with a field and the entries the field's text matches, as
CommandPalette.search(List, String)ranks them. - clear() - Method in class be.imgn.swing.desktop.RecentFiles
-
Removes every file.
- clear() - Method in interface be.imgn.swing.ObservableList
-
Removes all the elements.
- clear() - Method in class be.imgn.swing.ui.UndoStack
-
Discards every edit.
- clearBadge() - Method in class be.imgn.swing.testing.FakeTaskbar
- clearBadge() - Method in interface be.imgn.swing.ui.TaskbarStatus
-
Removes the badge.
- clearProgress() - Method in class be.imgn.swing.testing.FakeTaskbar
- clearProgress() - Method in interface be.imgn.swing.ui.TaskbarStatus
-
Removes the progress.
- close() - Method in interface be.imgn.swing.Subscription
-
Unsubscribes the listener.
- close() - Method in class be.imgn.swing.testing.AppTester
-
Closes the application if it runs, without asking its exit vetoes nor running its shutdown steps: its windows, then, through the lifecycle, its root injector and its application scope, which cancels the tasks and releases the subscriptions registered there.
- close() - Method in class be.imgn.swing.testing.OpenFrame
-
Runs the frame view's
closeWindow()command on the EDT, settles, and returns whether the frame closed. - close(DockView) - Method in class be.imgn.swing.docking.Dock
-
Closes a view as an added view is closed: asks the exit vetoes of its scope, and returns
falsewhen one vetoes; otherwise undocks it, closes its scope, and returnstrue. - close(FrameView) - Method in interface be.imgn.swing.ui.Frames
-
Closes the frame of a view as its
closeWindow()command does: asks the exit vetoes of its scopes, then closes it. - closeWindow() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that closes the current window after its vetoes; on the main frame of a single-frame application, the same as
StandardCommands.exit(). - color(String, String) - Method in class be.imgn.swing.ui.spi.ComponentResources
-
Returns a color property:
"#rrggbb"or"#rrggbbaa". - Column<E,
V> - Class in be.imgn.swing.ui -
A column of a table bound to an observable list with
Ui.bind(javax.swing.JTable, be.imgn.swing.ObservableList, java.util.List): its header, the type of its values and how a row gives its value. - combine(Observable, Observable, BiFunction) - Static method in interface be.imgn.swing.Observable
-
Returns an observable of two observables' values combined by a function.
- command() - Method in record class be.imgn.swing.testing.Inspection
-
Returns the value of the
commandrecord component. - command() - Method in record class be.imgn.swing.ui.PaletteEntry
-
Returns the value of the
commandrecord component. - command(Class, String) - Method in class be.imgn.swing.ui.CommandRegistry
-
Returns a builder of a command.
- Command - Annotation Interface in be.imgn.swing.ui
-
Declares a command: its handler is the annotated method, a non-private, non-static method returning
voidorTask<?>, that takes no parameter or a singleCommandContext. - COMMAND - Enum constant in enum class be.imgn.swing.ui.Block
-
The command that started the task is disabled.
- CommandBuilder - Class in be.imgn.swing.ui
-
Builds a command of a
CommandRegistry; generated code calls it. - CommandContext - Class in be.imgn.swing.ui
-
How a command was activated: the modifier keys held, and the trigger with the objects of its path.
- commandPalette() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that shows the
CommandPaletteof this view's window, where the user finds a command by typing part of its text. - CommandPalette - Class in be.imgn.swing.ui
-
The command palette of a view's window: it finds a command by typing part of its text, and runs it.
- commandQueries() - Method in class be.imgn.swing.testing.FakeDialogs
-
Returns the queries of the palettes answered, in order,
""for a cancel. - CommandRegistry - Class in be.imgn.swing.ui
-
Every command of a view, keyed by the class the generated class is for (
StandardCommandsfor standard commands) and the id: asking twice for the same command returns the sameBoundCommand. - commands(Class) - Method in class be.imgn.swing.testing.AppTester
-
Returns a bean of the main view's scope, such as its generated
<Class>Commands. - commands(Class) - Method in class be.imgn.swing.testing.OpenDialog
-
Returns a bean of the dialog view's scope, such as its generated commands or its
StandardCommands. - commands(Class) - Method in class be.imgn.swing.testing.OpenFrame
-
Returns a bean of the frame view's scope, such as its generated
<Class>Commands. - commit() - Method in interface be.imgn.swing.ui.DialogView
-
Applies the values of the dialog's form, the
Formof its view:ok()calls it when the form is valid and dirty, before it closes the dialog, andapply()when the form is valid, before it makes the form clean. - commit() - Method in class be.imgn.swing.ui.KeymapDialog
- component(Class) - Method in class be.imgn.swing.testing.AppTester
-
Returns the one component of a type in the main window.
- component(Class) - Method in class be.imgn.swing.testing.OpenFrame
-
Returns the one component of a type in the frame.
- component(Class, String) - Method in class be.imgn.swing.testing.AppTester
-
Returns the one component of a type in the main window whose accessible name is
name: the text of the label whoselabelForit is, or theaccessible-nameof its resources. - component(Class, String) - Method in class be.imgn.swing.testing.OpenFrame
-
Returns the one component of a type in the frame whose accessible name is
name: the text of the label whoselabelForit is, or theaccessible-nameof its resources. - component(Class) - Method in class be.imgn.swing.testing.OpenDialog
-
Returns the one component of a type in the dialog.
- component(Class, String) - Method in class be.imgn.swing.testing.OpenDialog
-
Returns the one component of a type in the dialog whose accessible name is
name: the text of the label whoselabelForit is, or theaccessible-nameof its resources. - COMPONENT - Enum constant in enum class be.imgn.swing.ui.Block
-
The component the command was activated from is disabled: the button for a button click, the invoker for a popup menu selection, the focus owner for a shortcut.
- ComponentInjector<V> - Interface in be.imgn.swing.ui.spi
-
Writes a view class's resources to the components its fields hold, and to the component fields of those components that its nested tables name, read through the enclosing fields, with plain setter calls.
- ComponentResources - Class in be.imgn.swing.ui.spi
-
The resources of a view class, read by field path and property, as the generated injectors write them.
- ComponentResources(TomlTable, Function, boolean) - Constructor for class be.imgn.swing.ui.spi.ComponentResources
-
Creates the resources of a view class.
- components(Class) - Method in class be.imgn.swing.testing.AppTester
-
Returns the components of a type in the main window, in depth-first order.
- components(Class) - Method in class be.imgn.swing.testing.OpenFrame
-
Returns the components of a type in the frame, in depth-first order.
- components(Class) - Method in class be.imgn.swing.testing.OpenDialog
-
Returns the components of a type in the dialog, in depth-first order.
- components(V) - Method in interface be.imgn.swing.ui.spi.ComponentState
-
Returns the components whose state is saved.
- components(V, BiConsumer) - Method in interface be.imgn.swing.ui.spi.ComponentInjector
-
Gives each
@Exposedcomponent field of the view that holds a component, with its path, nested fields of component fields included, ashome.streetLabel, enclosing paths first. - ComponentState<V> - Interface in be.imgn.swing.ui.spi
-
Gives the components of a view whose state is saved with its window: its non-private
JSplitPane,JTabbedPaneandJTablefields. - concurrency() - Element in annotation interface be.imgn.swing.ui.Command
-
Returns what an activation does while a task the command started still runs.
- concurrency(Concurrency) - Method in class be.imgn.swing.ui.CommandBuilder
-
Sets what an activation of a
CommandBuilder.taskHandler(Function)does while a task the command started still runs. - Concurrency - Enum Class in be.imgn.swing.ui
-
What an activation of a command does while a task the command started still runs.
- configureFrame(JFrame) - Method in interface be.imgn.swing.ui.FrameView
-
Configures the frame, before it is packed and its saved state is restored.
- confirm(String) - Method in class be.imgn.swing.testing.FakeDialogs
- confirm(String) - Method in interface be.imgn.swing.ui.Dialogs
-
Asks for a confirmation.
- confirmed() - Method in class be.imgn.swing.testing.FakeDialogs
-
Returns the messages of the confirmations asked, in order.
- content() - Method in class be.imgn.swing.ui.AboutDialog
-
Returns the dialog's content: one line per value that is present, from top to bottom.
- content() - Method in class be.imgn.swing.ui.KeymapDialog
- content() - Method in interface be.imgn.swing.ui.View
-
Returns the component of this view.
- CONTROL - Enum constant in enum class be.imgn.swing.ui.Modifier
-
Control.
- Converter<T> - Interface in be.imgn.swing.ui
-
Converts the text of a field to a value and back, for
Form.bind(javax.swing.text.JTextComponent, be.imgn.swing.Property, Converter). - copy() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that copies in the focused component; enabled only when it supports it.
- copyOf(Collection) - Static method in interface be.imgn.swing.ObservableList
-
Returns a new list of the elements of a collection, in its iteration order.
- create() - Static method in class be.imgn.swing.ui.FormPanel
-
Returns a new, empty form panel.
- create(Resources, Locale) - Method in interface be.imgn.swing.spi.MessagesDescriptor
-
Builds an implementation of the interface that reads the files of a locale.
- create(Class) - Method in class be.imgn.swing.desktop.Documents
-
Opens a frame of an untitled document of a type.
- createButton() - Method in class be.imgn.swing.ui.BoundCommand
-
Returns a new button for the command.
- createCheckBoxMenuItem() - Method in class be.imgn.swing.ui.BoundCommand
-
Returns a new check box menu item for a command with a selected state.
- createDialog(Window) - Method in interface be.imgn.swing.ui.Windows
-
Creates a modal dialog.
- createFrame() - Method in interface be.imgn.swing.ui.Windows
-
Creates a frame.
- createMenu() - Method in class be.imgn.swing.ui.MenuSpec
-
Returns a new menu built from this description, for a menu outside the menu bar.
- createMenuItem() - Method in class be.imgn.swing.ui.BoundCommand
-
Returns a new menu item for the command.
- createToggleButton() - Method in class be.imgn.swing.ui.BoundCommand
-
Returns a new toggle button for a command with a selected state.
- current() - Method in interface be.imgn.swing.Appearances
-
Returns the appearance.
- current() - Method in interface be.imgn.swing.Locales
-
Returns the display locale.
- cut() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that cuts in the focused component; enabled only when it supports it.
D
- DARK - Enum constant in enum class be.imgn.swing.Appearance
-
A dark background: the resources' dark variants are read.
- DARK - Enum constant in enum class be.imgn.swing.flatlaf.Theme
-
Dark.
- DarkMode - Class in be.imgn.swing.flatlaf
-
Reads whether the operating system uses a dark theme, once: on macOS,
defaults read -g AppleInterfaceStyle; on Windows, theAppsUseLightThemeregistry value throughreg query; on Linux,gsettings get org.gnome.desktop.interface color-scheme. - DarkMode(Function) - Constructor for class be.imgn.swing.flatlaf.DarkMode
-
Creates the detection, running commands with a function, for tests.
- defaults() - Method in interface be.imgn.swing.spi.SettingsDescriptor
-
Returns the defaults: the record built with its constructor with no parameter.
- defaultShortcut(BoundCommand) - Method in class be.imgn.swing.ui.Keymap
-
Returns the shortcut of a command's resources, whatever the keymap maps it to.
- description() - Method in record class be.imgn.swing.ui.FileType
-
Returns the value of the
descriptionrecord component. - dialogs() - Method in class be.imgn.swing.testing.AppTester
-
Returns the dialogs, which record what was shown and answer it.
- dialogs() - Method in class be.imgn.swing.ui.Ui
-
Returns the dialogs of this view's window: messages, confirmations and errors.
- Dialogs - Interface in be.imgn.swing.ui
-
Shows standard dialogs, owned by its window.
- DialogView<R> - Interface in be.imgn.swing.ui
-
A view shown in a modal dialog, owned by the window of the view that opened it, with its own content, commands and scope.
- directories() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns the application's directories: the
ApplicationDirectoriesbean, which this method is a shortcut to. - directory() - Method in interface be.imgn.swing.ResourceOpener
-
Returns the package's directory in the class output, which hot reload watches in development mode: the parent of the opener's own class file when the package's classes are loaded from a directory on the default file system.
- dirty() - Method in class be.imgn.swing.ui.Form
-
Returns whether the value of a binding's property, or of a tracked observable, differs from its baseline: its value when it was bound or tracked, or when
Form.markClean()was last called. - DISCARD - Enum constant in enum class be.imgn.swing.ui.SaveChoice
-
Discards the changes, and goes on.
- displayedName() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns the
namekey of the application class's resources, elseApplicationInfo.name(). - DisplayLocale - Record Class in be.imgn.swing
-
The locale of user-interface text, chosen once at startup and bound in the root injector.
- DisplayLocale(Locale) - Constructor for record class be.imgn.swing.DisplayLocale
-
Creates the display locale.
- dispose(Window) - Method in interface be.imgn.swing.ui.Windows
-
Disposes of a window.
- Dock - Class in be.imgn.swing.docking
-
The dock of a frame: views docked in it, split and tabbed, which the user rearranges, opened and closed while the frame is open, their layout saved with the frame's window state.
- Docked - Class in be.imgn.swing.docking
-
The place of a dock view in its dock, which the view injects: its title, shown on its tab and in its header.
- DockLayout - Interface in be.imgn.swing.docking
-
The arrangement of the open views of a
Dock: splits and tab groups. - DockLayout.Orientation - Enum Class in be.imgn.swing.docking
-
The direction of a split.
- DockLayout.Split - Record Class in be.imgn.swing.docking
-
A split of the space in two.
- DockLayout.Tabs - Record Class in be.imgn.swing.docking
-
A tab group.
- DockRegion - Enum Class in be.imgn.swing.docking
-
Where a
Placementdocks a view against its target: in its tab group, or on one of its sides. - DockView - Interface in be.imgn.swing.docking
-
A view shown in its frame's
Dock: a content, commands, a scope and resources, with no menu bar or toolbar of its own. - Document - Class in be.imgn.swing.desktop
-
The document of a document view, a bean of its scope: its file, its name and whether it is modified.
- DocumentCommands - Class in be.imgn.swing.desktop
-
The commands of a document view, beside the standard ones: new, open, save and save as, and the recent files.
- DocumentFormat<T> - Interface in be.imgn.swing.desktop
-
How a document's contents are read from and written to a file.
- Documents - Class in be.imgn.swing.desktop
-
Creates and opens documents: each in a frame of its own, or, for the application class of a single-frame application, in its main frame.
- DocumentView<T> - Interface in be.imgn.swing.desktop
-
A view that edits a file: a frame view, the application class of a single-frame application included.
- dynamic(Observable) - Static method in interface be.imgn.swing.ui.MenuEntry
-
Returns a section of a menu whose entries come from an observable.
- Dynamic(Observable) - Constructor for record class be.imgn.swing.ui.MenuEntry.Dynamic
-
Creates a dynamic section.
- DynamicEntry - Interface in be.imgn.swing.ui
-
An entry of a dynamic section of a menu: a command, a separator, a submenu or a plain item.
- DynamicEntry.Item - Record Class in be.imgn.swing.ui
-
A plain item of a dynamic section.
E
- EAST - Enum constant in enum class be.imgn.swing.docking.DockRegion
-
Right of the target.
- edit() - Method in class be.imgn.swing.ui.StandardMenus
-
Returns the Edit menu.
- editable(BiFunction) - Method in class be.imgn.swing.ui.Column
-
Returns a new column whose cells can be edited, with the table's default editors.
- EdtExecutor - Class in be.imgn.swing.ui
-
The executor of
OnEdt: runs each task withEventQueue.invokeLater(Runnable). - EdtExecutor() - Constructor for class be.imgn.swing.ui.EdtExecutor
-
Creates the executor; the code gaia-processor generates for
OnEdtmethods does. - elements() - Method in record class be.imgn.swing.ListChange.Added
-
Returns the value of the
elementsrecord component. - elements() - Method in record class be.imgn.swing.ListChange.Removed
-
Returns the value of the
elementsrecord component. - empty() - Method in interface be.imgn.swing.desktop.DocumentFormat
-
Returns the contents of a new document.
- enabled() - Element in annotation interface be.imgn.swing.ui.Command
-
Returns the name of an
Exposedfield or a non-private no-argument method of the class whose type isObservable<Boolean>, which tells whether the command is enabled. - enabled(Supplier) - Method in class be.imgn.swing.ui.CommandBuilder
-
Sets the
enabledobservable, read when the command is attached. - entries() - Method in class be.imgn.swing.ui.CommandPalette
-
Returns the entries of the palette: the commands of the views of the window, enabled now, the commands run from the palette most recently first, then by text.
- entries() - Method in record class be.imgn.swing.ui.MenuEntry.Dynamic
-
Returns the value of the
entriesrecord component. - equals(Object) - Method in record class be.imgn.swing.Arguments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.Check
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.DisplayLocale
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.docking.DockLayout.Split
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.docking.DockLayout.Tabs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.docking.Placement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ListChange.Added
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ListChange.Removed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ListChange.Replaced
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.testing.FakeNotifications.Notification
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.testing.FileChoice
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.testing.Inspection
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.DynamicEntry.Item
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.FileType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.MenuEntry.Dynamic
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.PaletteEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.Trigger.ButtonClick
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.Trigger.MenuSelection
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.Trigger.OperatingSystem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.Trigger.Palette
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.Trigger.PopupMenuSelection
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.Trigger.Programmatic
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.ui.Trigger.Shortcut
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.Validation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.swing.Validator
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class be.imgn.swing.Validation
-
Returns the requirement of the first check that isn't
Check.Status.MET. - error(String, Throwable) - Method in class be.imgn.swing.testing.FakeDialogs
- error(String, Throwable) - Method in interface be.imgn.swing.ui.Dialogs
-
Shows an error, with a details area holding the failure and a Copy button.
- errors() - Method in class be.imgn.swing.testing.FakeDialogs
-
Returns the messages of the errors shown, in order.
- EventExecutor - Interface in be.imgn.swing
-
The executor of a subscribing annotation on the application's event bus, contributed with
@IntoSet(EventExecutor.class). - every(Duration, Runnable) - Method in class be.imgn.swing.ui.Ui
-
Runs an action on the EDT every period, the first time one period after the call, until the returned subscription or this view's scope is closed.
- execute() - Method in class be.imgn.swing.ui.BoundCommand
-
Runs the command as if activated, with a
Trigger.Programmatictrigger and no modifier, if it is enabled. - execute(CommandContext) - Method in class be.imgn.swing.ui.BoundCommand
-
Runs the command as if activated, if it is enabled: whether it is enabled is the
enabledobservable's current value, not the state of theAction, which follows it one posted update later. - execute(Runnable) - Method in class be.imgn.swing.ui.EdtExecutor
-
Runs a task on the EDT, after the events already queued.
- execute(Runnable) - Method in interface be.imgn.swing.UiExecutor
-
Runs a task on the user-interface thread.
- executor() - Method in interface be.imgn.swing.EventExecutor
-
Returns the executor that runs the deliveries to the methods with the annotation.
- exit() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that asks the exit vetoes, then shuts down:
Lifecycle.requestExit(). - exit(int) - Method in interface be.imgn.swing.Exit
-
Ends the application.
- Exit - Interface in be.imgn.swing
-
Ends the JVM at the end of the shutdown.
- exitStatus() - Method in class be.imgn.swing.testing.AppTester
-
Returns the status the application exited with.
- ExitVeto - Interface in be.imgn.swing
-
Asked before the application exits, on the
UiExecutor's thread. - Exposed - Annotation Interface in be.imgn.swing.ui
-
Marks a field that generated code reads, which is therefore not private: a component field, for its resources and its window state, or a field that
Command.enabled()orCommand.selected()names. - extensions() - Method in record class be.imgn.swing.ui.FileType
-
Returns the value of the
extensionsrecord component.
F
- failed(Throwable) - Method in interface be.imgn.swing.FailureHandler
-
Handles a failure.
- FailureHandler - Interface in be.imgn.swing
-
Handles a failure nothing else handles, such as a task's with no
onFailurehandler. - FakeDialogs - Class in be.imgn.swing.testing
-
The tester's
Dialogs: records the dialogs shown and answers them. - FakeNotifications - Class in be.imgn.swing.testing
-
The tester's
Notifications: supported, it records each notification. - FakeNotifications.Notification - Record Class in be.imgn.swing.testing
-
A notification shown.
- FakeShell - Class in be.imgn.swing.testing
-
The tester's
SystemShell: it supports both actions, and records the URIs browsed and the files opened. - FakeTaskbar - Class in be.imgn.swing.testing
-
The tester's
TaskbarStatus: it records the current state, and checks its arguments as the real one does. - field() - Method in record class be.imgn.swing.testing.Inspection
-
Returns the value of the
fieldrecord component. - file() - Method in class be.imgn.swing.desktop.Document
-
Returns the document's file.
- file() - Method in class be.imgn.swing.ui.StandardMenus
-
Returns the File menu.
- file(Function, String) - Method in class be.imgn.swing.testing.AppTester.Builder
-
Writes a file before startup, at a path in the application's fake directories, creating its directories, so that the application starts on a settings file, a data file or a window state of the test's choice.
- FileChoice - Record Class in be.imgn.swing.testing
-
A file chooser the application showed, as
FakeDialogs.fileChoices()records it. - FileChoice(FileChoice.Kind, List, String) - Constructor for record class be.imgn.swing.testing.FileChoice
-
Records a chooser.
- FileChoice.Kind - Enum Class in be.imgn.swing.testing
-
Whether a chooser opens or saves a file.
- fileChoices() - Method in class be.imgn.swing.testing.FakeDialogs
-
Returns the file choosers shown, in order.
- files() - Method in class be.imgn.swing.desktop.RecentFiles
-
Returns the recent files, most recent first.
- fileSystem(FileSystem) - Method in class be.imgn.swing.testing.AppTester.Builder
-
Uses a memory file system rather than a new one, and doesn't close it, so that a test starts the application a second time on what the first run saved.
- fileType() - Method in interface be.imgn.swing.desktop.DocumentFormat
-
Returns the type of the document's files, which the file choosers offer.
- FileType - Record Class in be.imgn.swing.ui
-
A type of file a chooser offers as a filter, such as text files.
- FileType(String, List) - Constructor for record class be.imgn.swing.ui.FileType
-
Creates a type of file.
- first() - Method in record class be.imgn.swing.docking.DockLayout.Split
-
Returns the value of the
firstrecord component. - fixed(Resources, Class, Locale, BiFunction) - Static method in class be.imgn.swing.spi.MessageSource
-
Returns a source that reads the files of a fixed locale.
- FlatLafInstaller - Class in be.imgn.swing.flatlaf
-
Installs FlatLaf, light or dark: the
be.imgn.swing.themesystem property, else thethemekey of the application's resources, selectssystem(the default),lightordark. - FlatLafInstaller(ApplicationInfo, Platform, Resources, DarkMode, Function) - Constructor for class be.imgn.swing.flatlaf.FlatLafInstaller
-
Creates the installer.
- focus(Component) - Method in interface be.imgn.swing.ui.Window
-
Moves the focus to a component of the window, with
Component.requestFocusInWindow(). - focused() - Method in class be.imgn.swing.testing.AppTester
-
Returns the last component focused through the main window's
Window.focus. - focused() - Method in class be.imgn.swing.testing.OpenDialog
-
Returns the last component focused through the dialog's
Window.focus. - focused() - Method in class be.imgn.swing.testing.OpenFrame
-
Returns the last component focused through the frame's
Window.focus. - focusOwner() - Method in record class be.imgn.swing.ui.Trigger.Shortcut
-
Returns the value of the
focusOwnerrecord component. - following(Resources, Class, BiFunction) - Static method in class be.imgn.swing.spi.MessageSource
-
Returns a source that follows the display locale.
- font(String, String) - Method in class be.imgn.swing.ui.spi.ComponentResources
-
Returns a font property, in
Font.decode(String)'s syntax. - Form - Class in be.imgn.swing.ui
-
Binds the input components of a view to properties, validates their values, and tracks whether they changed.
- format() - Method in interface be.imgn.swing.desktop.DocumentView
-
Returns the format of the document's file, read once, when the view's commands are attached.
- format(Object...) - Method in class be.imgn.swing.spi.MessagePattern
-
Formats the message.
- format(T) - Method in interface be.imgn.swing.ui.Converter
-
Converts a value to a text, which
Converter.parse(String)converts back to an equal value. - FormPanel - Class in be.imgn.swing.ui
-
Lays out a form in two columns, with
GridBagLayout, in the order its methods are called: rows of a label and its field, wide components across both columns, and section titles. - frame(Class) - Method in class be.imgn.swing.testing.AppTester
-
Returns the one open frame whose view is of a type.
- frames() - Method in class be.imgn.swing.testing.AppTester
-
Returns the open frames, in the order they were opened, the main frame of a single-frame application first.
- Frames - Interface in be.imgn.swing.ui
-
Opens frame views in frames of their own, and tracks them.
- FrameView - Interface in be.imgn.swing.ui
-
A view shown in a frame of its own, with the frame's menu bar and toolbar: the application class of a single-frame application, or a view that
Framesopens.
G
- get() - Method in interface be.imgn.swing.Observable
-
Returns the current value.
- get() - Method in class be.imgn.swing.spi.MessageSource
-
Returns the patterns of the current table, read again if the table changed since the last call.
- get(int) - Method in interface be.imgn.swing.ObservableList
-
Returns the element at an index.
- get(Class) - Method in interface be.imgn.swing.SettingsStore
-
Returns the property of a settings record: the same property on every call for a type.
H
- handler(Consumer) - Method in class be.imgn.swing.ui.CommandBuilder
-
Sets a
voidhandler. - hashCode() - Method in record class be.imgn.swing.Arguments
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.Check
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.DisplayLocale
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.docking.DockLayout.Split
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.docking.DockLayout.Tabs
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.docking.Placement
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ListChange.Added
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ListChange.Removed
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ListChange.Replaced
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.testing.FakeNotifications.Notification
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.testing.FileChoice
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.testing.Inspection
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.DynamicEntry.Item
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.FileType
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.MenuEntry.Dynamic
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.PaletteEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.Trigger.ButtonClick
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.Trigger.MenuSelection
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.Trigger.OperatingSystem
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.Trigger.Palette
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.Trigger.PopupMenuSelection
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.Trigger.Programmatic
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.ui.Trigger.Shortcut
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.Validation
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.swing.Validator
-
Returns a hash code value for this object.
- help() - Method in class be.imgn.swing.ui.StandardMenus
-
Returns the Help menu.
- hide(JComponent) - Method in interface be.imgn.swing.ui.ValidationFeedback
-
Hides the error a component shows, restoring what showing it changed.
- HORIZONTAL - Enum constant in enum class be.imgn.swing.docking.DockLayout.Orientation
-
firstleft ofsecond.
I
- icon(String, String) - Method in class be.imgn.swing.ui.spi.ComponentResources
-
Returns an icon property: a path relative to the package of the class whose file names it, resolved against the class's package first, then its superclasses'.
- iconImage() - Method in class be.imgn.swing.testing.AppTester
-
Returns the icon image set on the main window.
- iconImage() - Method in class be.imgn.swing.testing.OpenFrame
-
Returns the icon image set on the frame.
- IconLoader - Interface in be.imgn.swing.ui
-
Loads icons of one kind, contributed with
@IntoSet(IconLoader.class). - icons() - Method in interface be.imgn.swing.ResourceOpener
-
Returns the icon paths that the package's resources name, relative to the package.
- id() - Method in interface be.imgn.swing.spi.SettingsDescriptor
-
Returns
Settings.value(), the name of the record's file. - id() - Method in class be.imgn.swing.ui.BoundCommand
-
Returns the id, also the action command of every component created for the command.
- id() - Method in class be.imgn.swing.ui.BoundMenu
-
Returns the id of the menu.
- id() - Element in annotation interface be.imgn.swing.ui.Command
-
Returns the id of the command, which is also its TOML key and the Swing action command.
- identifier() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns
qualifier.vendor.name, with the parts that are present. - index() - Method in record class be.imgn.swing.ListChange.Added
-
Returns the value of the
indexrecord component. - index() - Method in record class be.imgn.swing.ListChange.Removed
-
Returns the value of the
indexrecord component. - index() - Method in record class be.imgn.swing.ListChange.Replaced
-
Returns the value of the
indexrecord component. - info() - Method in class be.imgn.swing.testing.AppTester
-
Returns the application's information: its platform and directories are the fakes.
- inform(String) - Method in class be.imgn.swing.testing.FakeDialogs
- inform(String) - Method in interface be.imgn.swing.ui.Dialogs
-
Shows a message.
- informed() - Method in class be.imgn.swing.testing.FakeDialogs
-
Returns the messages shown, in order.
- inject(V, ComponentResources) - Method in interface be.imgn.swing.ui.spi.ComponentInjector
-
Applies every property except
tab-title: after the view's constructor, beforecontent(). - injectTabTitles(V, ComponentResources) - Method in interface be.imgn.swing.ui.spi.ComponentInjector
-
Applies the
tab-titleproperties: aftercontent()returns, once tabs exist. - inspect(Component) - Method in class be.imgn.swing.testing.AppTester
-
Returns what the inspector overlay shows for a component of an open window: its type, its view, the path of the
@Exposedfield that holds it and the command that created it. - Inspection - Record Class in be.imgn.swing.testing
-
What the inspector overlay shows for a component of an open window.
- Inspection(Class, Class, String, String) - Constructor for record class be.imgn.swing.testing.Inspection
-
Creates the inspection.
- install() - Method in class be.imgn.swing.flatlaf.FlatLafInstaller
- install() - Method in interface be.imgn.swing.ui.LookAndFeelInstaller
-
Installs the look and feel.
- install(Appearance) - Method in class be.imgn.swing.flatlaf.FlatLafInstaller
-
Installs FlatLaf in an appearance, with the tokens of the application class's
[flatlaf]table, read in that appearance: they are given toFlatLaf.setGlobalExtraDefaults(Map)before the look and feel is set up. - integer(String, String) - Method in class be.imgn.swing.ui.spi.ComponentResources
-
Returns an integer property.
- invoker() - Method in record class be.imgn.swing.ui.Trigger.PopupMenuSelection
-
Returns the value of the
invokerrecord component. - isCancelled() - Method in interface be.imgn.swing.TaskContext
-
Returns whether the task is cancelled.
- isClosed() - Method in interface be.imgn.swing.Scope
-
Returns whether this scope is closed.
- isDark() - Method in class be.imgn.swing.flatlaf.FlatLafInstaller
-
Returns whether the dark theme is installed.
- isDark(Platform) - Method in class be.imgn.swing.flatlaf.DarkMode
-
Returns whether the operating system uses a dark theme.
- isOpen() - Method in class be.imgn.swing.testing.OpenDialog
-
Returns whether the dialog is open:
falseonceok()orcancel()closed it. - isOpen() - Method in class be.imgn.swing.testing.OpenFrame
-
Returns whether the frame is open:
falseonce it closed. - isRunning() - Method in class be.imgn.swing.testing.AppTester
-
Returns whether the application runs:
falseonce it exited. - isSupported() - Method in interface be.imgn.swing.desktop.Notifications
-
Returns whether the system can show notifications: whether it has a system tray.
- isSupported() - Method in class be.imgn.swing.testing.FakeNotifications
- isTab(Component) - Static method in class be.imgn.swing.ui.spi.ComponentResources
-
Returns whether a component is a tab of a
JTabbedPane, whose titleComponentResources.setTabTitle(Component, String)can set. - isUiThread() - Method in interface be.imgn.swing.UiExecutor
-
Returns whether the calling thread is the user-interface thread.
- item() - Method in record class be.imgn.swing.ui.Trigger.MenuSelection
-
Returns the value of the
itemrecord component. - item() - Method in record class be.imgn.swing.ui.Trigger.PopupMenuSelection
-
Returns the value of the
itemrecord component. - item(String, Runnable) - Static method in interface be.imgn.swing.ui.DynamicEntry
-
Returns a plain item.
- Item(String, Runnable) - Constructor for record class be.imgn.swing.ui.DynamicEntry.Item
-
Creates an item.
K
- keymap() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that shows the
KeymapDialogover this view's window, where the user assigns, removes and resets the shortcuts of its commands. - Keymap - Class in be.imgn.swing.ui
-
The shortcuts the user assigned, removed and reset, saved to
keymap.tomlin the application's config directory, and applied to every open window. - KeymapDialog - Class in be.imgn.swing.ui
-
The dialog where the user assigns, removes and resets the shortcuts of the commands of a window, which
StandardCommands.keymap()shows over its view's window. - keyStroke() - Method in record class be.imgn.swing.ui.Trigger.Shortcut
-
Returns the value of the
keyStrokerecord component. - kind() - Method in record class be.imgn.swing.testing.FileChoice
-
Returns the value of the
kindrecord component.
L
- launch(Class, String[]) - Static method in class be.imgn.swing.ui.Swing
-
Launches an application, in these steps: on the main thread, reads the descriptor of the application class; on macOS, sets
apple.awt.application.nameto its name andapple.laf.useScreenMenuBartotrue; on the main thread, builds the root injector, which bindsApplicationInfo,Arguments,DisplayLocaleand the applicationScope; on the main thread, runs everyStartupStep, sorted by order then by class name; on the EDT, installs the look and feel, checks the icons, then creates the main window of aSingleFrameapplication class and shows it, or calls theMultiFrame.start(Frames, Arguments)of a multi-frame one, which opens the first frames; on the EDT, once the events posted while showing the windows have run, calls the application class'sSingleFrame.ready()orMultiFrame.ready(), then everyReadyListener. - launchAgain(String...) - Method in class be.imgn.swing.testing.AppTester
-
Does in the running application what a second launch with these arguments forwards: calls its
SecondInstanceHandleron the EDT, then settles. - launched(Arguments) - Method in interface be.imgn.swing.desktop.SecondInstanceHandler
-
Handles a second launch, on the EDT, in the first instance, once the application is ready, in the order the launches arrived.
- layout() - Method in class be.imgn.swing.docking.Dock
-
Returns the arrangement of the open views.
- Lifecycle - Interface in be.imgn.swing
-
Requests the shutdown of the application.
- LIGHT - Enum constant in enum class be.imgn.swing.Appearance
-
A light background.
- LIGHT - Enum constant in enum class be.imgn.swing.flatlaf.Theme
-
Light.
- ListChange<E> - Interface in be.imgn.swing
-
A change of an
ObservableList, with indices valid for the list just before it. - ListChange.Added<E> - Record Class in be.imgn.swing
-
Elements added at an index.
- ListChange.Removed<E> - Record Class in be.imgn.swing
-
Elements removed from an index.
- ListChange.Replaced<E> - Record Class in be.imgn.swing
-
Elements replaced from an index by others, not necessarily as many.
- load(ResourceOpener, String) - Method in class be.imgn.swing.flatlaf.SvgIconLoader
- load(ResourceOpener, String) - Method in interface be.imgn.swing.ui.IconLoader
-
Loads an icon.
- loaded(T) - Method in interface be.imgn.swing.desktop.DocumentView
-
Puts read contents in the view's components, on the EDT, after a read.
- locale() - Method in record class be.imgn.swing.DisplayLocale
-
Returns the value of the
localerecord component. - locale() - Method in class be.imgn.swing.Resources
-
Returns the display locale that
Resources.table(Class)reads now. - locale(Locale) - Method in class be.imgn.swing.testing.AppTester.Builder
-
Sets the locale, bound as the application's
DisplayLocale. - locale(Locale) - Method in class be.imgn.swing.testing.AppTester
-
Changes the display locale with
Locales.set(Locale), on the EDT, then settles: the open windows are refreshed and the choice is saved when it returns. - Locales - Interface in be.imgn.swing
-
The display locale, which the application may change while it runs.
- LookAndFeelInstaller - Interface in be.imgn.swing.ui
-
Installs the look and feel, on the EDT, before any component is created.
M
- map(Function) - Method in interface be.imgn.swing.Observable
-
Returns an observable of this one's value mapped by a function.
- markClean() - Method in class be.imgn.swing.ui.Form
-
Makes the current value of every binding's property and of every tracked observable its new baseline.
- menu(Class, String) - Method in class be.imgn.swing.ui.StandardMenus
-
Returns a menu built from a class's resources, its
[menus.<id>]table. - menuBar() - Method in interface be.imgn.swing.ui.FrameView
-
Returns the menu bar of the frame.
- menuBar(MenuSpec...) - Method in class be.imgn.swing.ui.Ui
-
Returns a new menu bar built from descriptions.
- MenuEntry - Interface in be.imgn.swing.ui
-
An entry of a menu description: a command, a separator, a submenu or a dynamic section.
- MenuEntry.Dynamic - Record Class in be.imgn.swing.ui
-
A section of a menu whose entries come from an observable.
- menus() - Method in class be.imgn.swing.ui.Ui
-
Returns the standard menus of this view, which
Ui.menuBar(MenuSpec...)takes. - MenuSelection(JMenuItem) - Constructor for record class be.imgn.swing.ui.Trigger.MenuSelection
-
Creates an instance of a
MenuSelectionrecord class. - MenuSpec - Class in be.imgn.swing.ui
-
An immutable description of a menu: its menu and its entries.
- message(String) - Method in interface be.imgn.swing.TaskContext
-
Reports what the work is doing.
- MessagePattern - Class in be.imgn.swing.spi
-
The pattern of one message, with its placeholders rewritten from parameter names to indices, formatted with
MessageFormatfor the display locale. - messages(Class, Locale) - Method in interface be.imgn.swing.Locales
-
Returns an implementation of a
@Messagesinterface that reads the files of a locale, whatever the display locale. - Messages - Annotation Interface in be.imgn.swing
-
Declares an interface of typed messages.
- MessagesDescriptor - Interface in be.imgn.swing.spi
-
Builds the implementation of a
@Messagesinterface for a fixed locale. - MessageSource<P> - Class in be.imgn.swing.spi
-
The patterns of the messages of a
@Messagesinterface, read from its merged table, and read again, all at once, at the first call after the table changed: after a change of the display locale, or a reload of its files. - MET - Enum constant in enum class be.imgn.swing.Check.Status
-
The value meets the requirement.
- META - Enum constant in enum class be.imgn.swing.ui.Modifier
-
Meta, or Command on macOS.
- modified() - Method in class be.imgn.swing.desktop.Document
-
Returns whether the document is modified: its view's
Form.dirty(). - Modifier - Enum Class in be.imgn.swing.ui
-
A modifier key held when a command was activated.
- modifiers() - Method in class be.imgn.swing.ui.CommandContext
-
Returns the modifier keys held when the command was activated.
- MultiFrame - Interface in be.imgn.swing.ui
-
An application class that opens frames from code, each showing a
FrameViewof its own, such as a document per frame.
N
- name() - Element in annotation interface be.imgn.swing.Application
-
Returns the application's name, as gaia's
ApplicationDirectoriestakes it, and the displayed name unless the class's resources give anamekey. - name() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns
Application.name(). - name() - Method in class be.imgn.swing.desktop.Document
-
Returns the document's name: its file's name, else "Untitled", numbered from the second untitled document open at the same time.
- name() - Method in interface be.imgn.swing.spi.ApplicationDescriptor
-
Returns
Application.name(). - newDocument() - Method in class be.imgn.swing.desktop.DocumentCommands
-
Returns the command that opens a frame of a new, untitled document of the view's class.
- next() - Method in class be.imgn.swing.wizard.Wizard
-
Returns the command that validates the shown step and shows the next one when it is valid, enabled while the shown step isn't the last.
- none() - Static method in interface be.imgn.swing.Task
-
Returns the task with no work, which a command handler returns when it has nothing to run.
- NONE - Enum constant in enum class be.imgn.swing.ui.Block
-
Nothing is blocked.
- NORTH - Enum constant in enum class be.imgn.swing.docking.DockRegion
-
Above the target.
- Notification(String, String) - Constructor for record class be.imgn.swing.testing.FakeNotifications.Notification
-
Creates an instance of a
Notificationrecord class. - notifications() - Method in class be.imgn.swing.testing.AppTester
-
Returns the notifications, which record each notification shown.
- Notifications - Interface in be.imgn.swing.desktop
-
Shows system notifications.
- notified() - Method in class be.imgn.swing.testing.FakeNotifications
-
Returns the notifications shown, in order.
- notify(String, String) - Method in interface be.imgn.swing.desktop.Notifications
-
Shows a notification, from any thread.
- notify(String, String) - Method in class be.imgn.swing.testing.FakeNotifications
- nullable() - Method in interface be.imgn.swing.spi.SettingsDescriptor
-
Returns the TOML keys of the record's
@Nullablecomponents. - numbered(List) - Static method in interface be.imgn.swing.ui.DynamicEntry
-
Returns the items with
&1to&9prefixed to the texts of the first nine. - NUMBERED - Static variable in interface be.imgn.swing.ui.DynamicEntry
-
The number of items
DynamicEntry.numbered(List)numbers.
O
- Observable<T> - Interface in be.imgn.swing
-
A value that tells its listeners when it changes.
- ObservableList<E> - Interface in be.imgn.swing
-
A list that tells its listeners each change, so that a component showing it updates one row rather than all of them.
- of(DockRegion, double) - Static method in record class be.imgn.swing.docking.Placement
-
Returns a placement against the whole dock.
- of(PublishingWork, Consumer) - Static method in interface be.imgn.swing.Task
-
Returns a task of work that publishes partial results while it runs.
- of(Rule...) - Static method in record class be.imgn.swing.Validator
-
Returns a validator of rules.
- of(TaskWork) - Static method in interface be.imgn.swing.Task
-
Returns a task of work that reports its progress or checks whether it is cancelled.
- of(Trigger, Modifier...) - Static method in class be.imgn.swing.ui.CommandContext
-
Returns a context.
- of(TomlTable, String, List, Locale) - Static method in class be.imgn.swing.spi.MessagePattern
-
Reads the pattern of a message and rewrites its placeholders from names to indices, once.
- of(E...) - Static method in interface be.imgn.swing.ObservableList
-
Returns a new list of elements.
- of(Runnable) - Static method in interface be.imgn.swing.Task
-
Returns a task of work with no result.
- of(String) - Static method in enum class be.imgn.swing.flatlaf.Theme
-
Returns the theme of a name.
- of(String, Class, Function) - Static method in class be.imgn.swing.ui.Column
-
Returns a column whose cells can't be edited.
- of(String, Predicate) - Static method in interface be.imgn.swing.Rule
-
Returns a rule of a requirement and its test.
- of(Callable) - Static method in interface be.imgn.swing.Task
-
Returns a task of work that returns a result.
- of(Function, Function, String) - Static method in interface be.imgn.swing.ui.Converter
-
Returns a converter of two functions.
- of(Supplier, Class, Function) - Static method in class be.imgn.swing.ui.Column
-
Returns a column whose cells can't be edited, whose header is read when the table is bound and again at every refresh, so that a header from typed messages follows the display locale:
Column.of(messages::firstNameHeader, String.class, Contact::firstName). - of(T) - Static method in interface be.imgn.swing.Property
-
Returns a new property.
- ok() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that closes the dialog with a result, always enabled: if the dialog's form doesn't validate, the dialog stays open, showing the errors; otherwise, if the form is dirty, it calls
DialogView.commit(), then closes the dialog withDialogView.result(). - onCancel(Runnable) - Method in interface be.imgn.swing.Task
-
Adds a hook called when the task is cancelled before its hooks run, even when its work had already returned or thrown: the
Task.onSuccess(Consumer)andTask.onFailure(Consumer)hooks then never run. - onClose(AutoCloseable) - Method in interface be.imgn.swing.Scope
-
Registers a resource to close when this scope closes.
- OnEdt - Annotation Interface in be.imgn.swing.ui
-
Subscribes a method to the events of its parameter's type, delivered on the EDT, in the order they were published.
- onEnd(Runnable) - Method in interface be.imgn.swing.Task
-
Adds a hook called through the
UiExecutorafter theTask.onSuccess(Consumer),Task.onFailure(Consumer)orTask.onCancel(Runnable)hooks, however the task ended. - onFailure(Consumer) - Method in interface be.imgn.swing.Task
-
Adds a hook called with the failure when the work fails.
- onSuccess(Consumer) - Method in interface be.imgn.swing.Task
-
Adds a hook called with the result when the work succeeds.
- open() - Method in class be.imgn.swing.desktop.DocumentCommands
-
Returns the command that asks for a file of the view's type with the open chooser, then opens it.
- open(Class, Function, String, Placement) - Method in class be.imgn.swing.docking.Dock
-
Opens a view created through an assisted factory, as
Frames.open(Class<F>, Function)does, and docks it. - open(Class, Function) - Method in interface be.imgn.swing.ui.Frames
-
Opens a frame showing a view created through the assisted factory that the processor generates for a view whose constructor has
@Assistedparameters, resolved through the view's child injector. - open(Class) - Method in interface be.imgn.swing.ui.Frames
-
Opens a frame showing a new view of a type.
- open(Class, Placement) - Method in class be.imgn.swing.docking.Dock
-
Opens a view of a dock view class, resolved through its child injector, and docks it as
placementsays. - open(Class, E) - Method in interface be.imgn.swing.ui.Frames
-
Opens a frame showing a variant of a view: its resources merge the variant's table over the base table.
- open(Class, Path) - Method in class be.imgn.swing.desktop.Documents
-
Opens a file in a document of a type.
- open(String) - Method in interface be.imgn.swing.ResourceOpener
-
Opens a resource of the package.
- open(Path) - Method in class be.imgn.swing.testing.FakeShell
- open(Path) - Method in interface be.imgn.swing.ui.SystemShell
-
Opens a file in the application that the system associates with it, in a task of the application scope, whose failure goes to the
FailureHandler. - open(List) - Method in interface be.imgn.swing.desktop.OpenFilesHandler
-
Opens files, on the EDT, once the application is ready, in the order the events came.
- OPEN - Enum constant in enum class be.imgn.swing.testing.FileChoice.Kind
-
A chooser of a file to open.
- OpenDialog<V> - Class in be.imgn.swing.testing
-
A dialog view the tester shows, as an answer registered with
FakeDialogs.answerDialog(Class, Consumer)sees it. - opened() - Method in class be.imgn.swing.testing.FakeShell
-
Returns the files opened, in order.
- opener(String) - Method in class be.imgn.swing.Resources
-
Returns the opener of a package's resources.
- openers() - Method in class be.imgn.swing.Resources
-
Returns every opener found.
- openFile(List) - Method in class be.imgn.swing.testing.FakeDialogs
- openFile(List) - Method in interface be.imgn.swing.ui.Dialogs
-
Asks for a file to open.
- openFiles(Path...) - Method in class be.imgn.swing.testing.AppTester
-
Hands files to the application's
OpenFilesHandleron the EDT, as absolute paths, as an open-file event does, then settles. - OpenFilesHandler - Interface in be.imgn.swing.desktop
-
Opens the files the operating system hands to the application, such as those the user opens from the macOS Finder or drops on the Dock icon.
- OpenFrame<V> - Class in be.imgn.swing.testing
-
A frame the application opened, as the tester sees it: the main frame of a single-frame application, or a frame that
Framesopened. - openWindows() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns a dynamic menu entry of the open frames, in opening order, numbered, each named by its frame's title and bringing its frame to the front when selected.
- OperatingSystem(SystemAction) - Constructor for record class be.imgn.swing.ui.Trigger.OperatingSystem
-
Creates an instance of a
OperatingSystemrecord class. - optional(Converter) - Static method in interface be.imgn.swing.ui.Converter
-
Returns a converter of optional values: it converts an empty or blank text to
Optional.empty(), and any other text withconverter; it formatsOptional.empty()as an empty text. - order() - Method in interface be.imgn.swing.ShutdownStep
-
Returns the rank of this step; lower runs first.
- order() - Method in interface be.imgn.swing.StartupStep
-
Returns the rank of this step; lower runs first.
- orientation() - Method in record class be.imgn.swing.docking.DockLayout.Split
-
Returns the value of the
orientationrecord component. - overridableCommand(Class, String) - Method in class be.imgn.swing.ui.CommandRegistry
-
Starts building a command of a framework's commands class, such as the document commands, whose text and shortcuts come from the owner's resources, overridden by the view class's
[commands.<id>]table, as those of the standard commands are. - override(String, Class) - Method in class be.imgn.swing.ui.CommandRegistry
-
Registers a command that overrides a standard command in this view: the generated injectors of view classes call it, before the view is resolved, for each override of the view class and its superclasses.
P
- packageName() - Method in interface be.imgn.swing.ResourceOpener
-
Returns the package whose resources this opener reads.
- Palette() - Constructor for record class be.imgn.swing.ui.Trigger.Palette
-
Creates an instance of a
Paletterecord class. - PaletteEntry - Record Class in be.imgn.swing.ui
-
A command the
CommandPalettelists. - PaletteEntry(BoundCommand, String, KeyStroke) - Constructor for record class be.imgn.swing.ui.PaletteEntry
-
Creates the entry.
- PARALLEL - Enum constant in enum class be.imgn.swing.ui.Concurrency
-
The new activation starts its task at once.
- parent() - Method in interface be.imgn.swing.Scope
-
Returns the scope this one is nested in, if any.
- parse(String) - Method in interface be.imgn.swing.ui.Converter
-
Converts a text to a value.
- parseColor(String) - Static method in class be.imgn.swing.ui.spi.ComponentResources
-
Parses a color.
- paste() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that pastes in the focused component; enabled only when it supports it.
- Placement - Record Class in be.imgn.swing.docking
-
Where
Dock.open(Class, Placement)docks a view: against a target, the open view of the target class opened last, or, whentargetisnullor no view of it is open, the whole dock. - Placement(Class, DockRegion, double) - Constructor for record class be.imgn.swing.docking.Placement
-
Checks the placement.
- platform() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns the platform the application runs on: the
Platformbean, which this method is a shortcut to. - popupMenu(JComponent, MenuEntry...) - Method in class be.imgn.swing.ui.Ui
-
Returns a new popup menu built from entries, set as the invoker's component popup menu: Swing shows it on the invoker's popup trigger.
- PopupMenuSelection(JMenuItem, Component) - Constructor for record class be.imgn.swing.ui.Trigger.PopupMenuSelection
-
Creates an instance of a
PopupMenuSelectionrecord class. - preferences() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that calls
PreferencesHandler.showPreferences(Ui)with theUiof this view; disabled unless aPreferencesHandlerbean exists. - PREFERENCES - Enum constant in enum class be.imgn.swing.ui.SystemAction
-
Preferences.
- PreferencesHandler - Interface in be.imgn.swing.ui
-
Shows the application's preferences: a singleton bean of the application.
- previous() - Method in class be.imgn.swing.wizard.Wizard
-
Returns the command that shows the step before the shown one, enabled while the shown step isn't the first.
- Programmatic() - Constructor for record class be.imgn.swing.ui.Trigger.Programmatic
-
Creates an instance of a
Programmaticrecord class. - progress() - Method in class be.imgn.swing.testing.FakeTaskbar
-
Returns the progress shown.
- progress(double) - Method in interface be.imgn.swing.TaskContext
-
Reports the progress of the work.
- progress(int) - Method in class be.imgn.swing.testing.FakeTaskbar
- progress(int) - Method in interface be.imgn.swing.ui.TaskbarStatus
-
Shows a progress, through
PROGRESS_VALUE, elsePROGRESS_VALUE_WINDOWon the active frame. - Property<T> - Interface in be.imgn.swing
-
An observable value that can be set, from any thread.
- PROPERTY - Static variable in enum class be.imgn.swing.flatlaf.Theme
-
The system property that selects the theme, and wins over the application's resources.
- proportion() - Method in record class be.imgn.swing.docking.DockLayout.Split
-
Returns the value of the
proportionrecord component. - proportion() - Method in record class be.imgn.swing.docking.Placement
-
Returns the value of the
proportionrecord component. - publish(Object) - Method in class be.imgn.swing.testing.AppTester
-
Publishes an event on the application's bus, on the EDT, then settles: its
@Subscribe,@OnEdtand@OnVirtualThreadmethods have run when it returns. - published(Class) - Method in class be.imgn.swing.testing.AppTester
-
Returns the events published on the application's bus since startup that are instances of a type, in the order they were delivered, whoever published them.
- PublishingWork<T,
P> - Interface in be.imgn.swing -
The work of a
Taskthat publishes partial results while it runs:Task.of(PublishingWork, Consumer).
Q
- qualifier() - Element in annotation interface be.imgn.swing.Application
-
Returns the vendor's top-level domain; only with a
Application.vendor(). - qualifier() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns
Application.qualifier(), if given. - qualifier() - Method in interface be.imgn.swing.spi.ApplicationDescriptor
-
Returns
Application.qualifier(), if given. - QUIT - Enum constant in enum class be.imgn.swing.ui.SystemAction
-
Quit.
R
- read(InputStream) - Method in interface be.imgn.swing.desktop.DocumentFormat
-
Reads the contents of a file, on a task's thread.
- ready() - Method in interface be.imgn.swing.ReadyListener
-
Called once, on the EDT, when the application is ready.
- ready() - Method in interface be.imgn.swing.ui.MultiFrame
-
Called once, on the EDT, when the application is ready: the first frames are shown and the events posted meanwhile have run.
- ready() - Method in interface be.imgn.swing.ui.SingleFrame
-
Called once, on the EDT, when the application is ready: the main window is shown and the events posted meanwhile have run.
- ReadyListener - Interface in be.imgn.swing
-
Told when the application is ready: once the main window is shown, and the events posted while showing it have run.
- recentFiles() - Method in class be.imgn.swing.desktop.DocumentCommands
-
Returns the dynamic entry of the recent files, numbered, each named by the file's name and opening it in a document of the view's class.
- RecentFiles - Class in be.imgn.swing.desktop
-
The files the user opened or saved last, most recent first, at most ten.
- redo() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that redoes the next edit of the view's
UndoStack; enabled while it can redo. - redo() - Method in class be.imgn.swing.ui.UndoStack
-
Redoes the next edit.
- refreshing(TomlTable, Function, boolean, Class) - Static method in class be.imgn.swing.ui.spi.ComponentResources
-
Creates the resources of a view class that a refresh applies again.
- region() - Method in record class be.imgn.swing.docking.Placement
-
Returns the value of the
regionrecord component. - registerOverrides(CommandRegistry) - Method in interface be.imgn.swing.ui.spi.ComponentInjector
-
Registers the standard commands that the view class, or one of its superclasses, overrides, before the view is resolved, so that every
StandardCommandsof the view returns the user-written command. - remove(int) - Method in interface be.imgn.swing.ObservableList
-
Removes the element at an index.
- remove(BoundCommand) - Method in class be.imgn.swing.ui.Keymap
-
Maps a command to no shortcut.
- remove(E) - Method in interface be.imgn.swing.ObservableList
-
Removes the first element equal to the one given, if any.
- remove(Path) - Method in class be.imgn.swing.desktop.RecentFiles
-
Removes a file.
- removed() - Method in record class be.imgn.swing.ListChange.Replaced
-
Returns the value of the
removedrecord component. - Removed(int, List) - Constructor for record class be.imgn.swing.ListChange.Removed
-
Creates the change.
- render(Runnable, Observable...) - Method in class be.imgn.swing.ui.Ui
-
Runs an update that computes texts from messages or resources: at once, then after every change of one of the sources, on the EDT, as the targets of
Ui.bind(Consumer, Observable)are, and again at every refresh of the open windows, after a change of the display locale, of the appearance, or a reload of the resources. - Replaced(int, List, List) - Constructor for record class be.imgn.swing.ListChange.Replaced
-
Creates the change.
- requestAttention() - Method in class be.imgn.swing.testing.FakeTaskbar
- requestAttention() - Method in interface be.imgn.swing.ui.TaskbarStatus
-
Asks the system to draw the user's attention to the application, such as bouncing the Dock icon once, through
USER_ATTENTION, elseUSER_ATTENTION_WINDOWon the active frame. - requestExit() - Method in interface be.imgn.swing.Lifecycle
-
Requests the shutdown of the application, with the exit status 0.
- requestExit(int) - Method in interface be.imgn.swing.Lifecycle
-
Requests the shutdown of the application.
- required(String) - Static method in interface be.imgn.swing.Rule
-
Returns a rule met by a text that isn't blank.
- requirement() - Method in record class be.imgn.swing.Check
-
Returns the value of the
requirementrecord component. - requirement() - Method in interface be.imgn.swing.Rule
-
Returns the requirement, a message from typed messages, such as "At least 8 characters".
- requirement() - Method in interface be.imgn.swing.ui.Converter
-
Returns the requirement of the text, a message from typed messages that names the format the text must have, such as "A whole number".
- reset() - Method in interface be.imgn.swing.Locales
-
Changes the display locale back to the launch's
DisplayLocale, asLocales.set(Locale)does, and deletes the saved choice. - reset(BoundCommand) - Method in class be.imgn.swing.ui.Keymap
-
Removes the mapping of a command, which takes the shortcut of its resources again.
- resetAll() - Method in class be.imgn.swing.ui.Keymap
-
Removes every mapping.
- ResourceOpener - Interface in be.imgn.swing
-
Opens the resources of one package, from the package's own module, so that reading them needs no open package.
- Resources - Class in be.imgn.swing
-
The resources of classes: their TOML files, merged along the class hierarchy and across the locale and platform variants, and cached per class and locale.
- RESTART - Enum constant in enum class be.imgn.swing.ui.Concurrency
-
The new activation cancels the command's tasks that haven't ended, then starts its own once their
onCancelandonEndhooks have run. - restoreBounds() - Method in interface be.imgn.swing.ui.FrameView
-
Returns whether the saved bounds of the frame are restored.
- result() - Method in class be.imgn.swing.ui.AboutDialog
-
Returns no result: the dialog only informs.
- result() - Method in interface be.imgn.swing.ui.DialogView
-
Returns the result, read after
ok(). - result() - Method in class be.imgn.swing.ui.KeymapDialog
- revalidateOn(Observable) - Method in class be.imgn.swing.ui.Binding
-
Validates this binding again at each change of another observable, on the EDT, such as the property of another field that a rule compares the value with: before the change returns for a change made on the EDT, such as the user's change of that field, once the list has released its lock for one delivered by an observable list, and in a posted update for one made on another thread.
- revealWith(Consumer) - Method in class be.imgn.swing.ui.Form
-
Registers code that makes a component visible before the form focuses it: both
validatemethods run it on the component they focus, in registration order, after selecting the tabs that hold it, and before checking that it is visible up to its window's root pane. - rewrite(String, List) - Static method in class be.imgn.swing.spi.MessagePattern
-
Rewrites the placeholders of a pattern from parameter names to their indices, following
MessageFormat's quoting rules: a single'starts or ends a quoted section, and''is a literal apostrophe. - rootPane() - Method in interface be.imgn.swing.ui.Window
-
Returns the root pane of the window.
- row(JLabel, JComponent) - Method in class be.imgn.swing.ui.FormPanel
-
Adds a label and its field: the label at the line end of the first column, the field filling the width of the second.
- Rule<T> - Interface in be.imgn.swing
-
A requirement of a value, and the test of whether a value meets it.
- rules() - Method in record class be.imgn.swing.Validator
-
Returns the value of the
rulesrecord component. - run() - Method in interface be.imgn.swing.ShutdownStep
-
Runs this step.
- run() - Method in interface be.imgn.swing.StartupStep
-
Runs this step.
- run(Task, Scope) - Method in class be.imgn.swing.TaskService
-
Runs a task in a scope, on a virtual thread named
task. - run(Task, Block) - Method in class be.imgn.swing.ui.Ui
-
Runs a task in this view's scope, with input blocking.
- run(TaskContext) - Method in interface be.imgn.swing.TaskWork
-
Runs the work, on the task's virtual thread.
- run(TaskContext, Consumer) - Method in interface be.imgn.swing.PublishingWork
-
Runs the work, on the task's virtual thread.
- run(Runnable) - Method in class be.imgn.swing.testing.AppTester
-
Runs an action on the EDT and waits, then settles as every other call does.
- running() - Method in class be.imgn.swing.ui.BoundCommand
-
Returns whether the command is running:
truefrom the moment it starts a task until every task it started has ended, waiting ones included;falseotherwise.
S
- save() - Method in class be.imgn.swing.desktop.DocumentCommands
-
Returns the command that writes the document to its file, or, while untitled, does what
DocumentCommands.saveAs()does; enabled while the document is modified or untitled. - SAVE - Enum constant in enum class be.imgn.swing.testing.FileChoice.Kind
-
A chooser of a file to save to.
- SAVE - Enum constant in enum class be.imgn.swing.ui.SaveChoice
-
Saves the changes: the close or the exit stops while the document is written, then is requested again once the write succeeds.
- saveAs() - Method in class be.imgn.swing.desktop.DocumentCommands
-
Returns the command that asks for a file with the save chooser, then writes the document to it.
- SaveChoice - Enum Class in be.imgn.swing.ui
-
The answer to the save prompt,
Dialogs.askSave(String). - saved(Path) - Method in interface be.imgn.swing.desktop.DocumentView
-
Called on the EDT once the document is written, such as to show that it was.
- saveFile(List, String) - Method in class be.imgn.swing.testing.FakeDialogs
- saveFile(List, String) - Method in interface be.imgn.swing.ui.Dialogs
-
Asks for a file to save to, starting with a suggested name.
- savePrompts() - Method in class be.imgn.swing.testing.FakeDialogs
-
Returns the document names of the save prompts asked, in order.
- Scope - Interface in be.imgn.swing
-
The disposal list of an application, window or view scope, for what is not a bean.
- search(String) - Method in class be.imgn.swing.ui.CommandPalette
-
Returns the entries that a query matches, ranked as the palette ranks them.
- search(List, String) - Static method in class be.imgn.swing.ui.CommandPalette
-
Returns the entries of a list that a query matches, ranked by how they match, then in the list's order: what the palette's dialog shows as the user types.
- second() - Method in record class be.imgn.swing.docking.DockLayout.Split
-
Returns the value of the
secondrecord component. - SecondInstanceHandler - Interface in be.imgn.swing.desktop
-
Handles a second launch of a single-instance application.
- section(JLabel) - Method in class be.imgn.swing.ui.FormPanel
-
Adds a title across both columns: the label, followed by a
JSeparatorthat fills the rest of the row, 4 pixels after it, on the label's trailing side whatever the component orientation. - select(DockView) - Method in class be.imgn.swing.docking.Dock
-
Selects a view's tab in its tab group, without moving the focus and without changing
Dock.active(). - selectAll() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that selects all in the focused component; enabled only when it supports it.
- selected() - Method in record class be.imgn.swing.docking.DockLayout.Tabs
-
Returns the value of the
selectedrecord component. - selected() - Element in annotation interface be.imgn.swing.ui.Command
-
Returns the name of an
Exposedfield or a non-private no-argument method of the class whose type isProperty<Boolean>, which makes the command a toggle: activating it flips the property, then calls the handler. - selected(Supplier) - Method in class be.imgn.swing.ui.CommandBuilder
-
Sets the
selectedproperty, read when the command is attached; the command becomes a toggle. - Separator - Class in be.imgn.swing.ui
-
The separator of menus and toolbars, which
MenuEntry.SEPARATOR,DynamicEntry.SEPARATORandToolBarEntry.SEPARATORname. - SEPARATOR - Static variable in interface be.imgn.swing.ui.DynamicEntry
-
The separator.
- SEPARATOR - Static variable in interface be.imgn.swing.ui.MenuEntry
-
The separator.
- SEPARATOR - Static variable in interface be.imgn.swing.ui.ToolBarEntry
-
The separator.
- SERIAL - Enum constant in enum class be.imgn.swing.ui.Concurrency
-
The new activation starts its task once every task the command started before it has ended, in activation order.
- set(int, E) - Method in interface be.imgn.swing.ObservableList
-
Replaces the element at an index.
- set(Locale) - Method in interface be.imgn.swing.Locales
-
Changes the display locale, and saves the choice.
- set(T) - Method in interface be.imgn.swing.Property
-
Sets the value, and tells the listeners if it changed.
- setAccessibleDescription(Component, String) - Static method in class be.imgn.swing.ui.spi.ComponentResources
-
Sets the accessible description of a component.
- setAccessibleName(Component, String) - Static method in class be.imgn.swing.ui.spi.ComponentResources
-
Sets the accessible name of a component.
- setAll(Collection) - Method in interface be.imgn.swing.ObservableList
-
Replaces all the elements, by those of a collection in its iteration order.
- setIconImage(Image) - Method in interface be.imgn.swing.ui.Window
-
Sets the icon image of the window, which the platform shows in its title bar, task bar or window list.
- setTabTitle(Component, String) - Static method in class be.imgn.swing.ui.spi.ComponentResources
-
Sets the title of a component's tab, in the
JTabbedPanethat holds it. - setText(Component, String) - Method in class be.imgn.swing.ui.spi.ComponentResources
-
Sets the text of a component: for a button or a label,
&marks the mnemonic, except on macOS. - settings(Record) - Method in class be.imgn.swing.testing.AppTester.Builder
-
Writes a settings record to the fake config directory before startup, with the settings store's own writer, so that the application starts on it.
- Settings - Annotation Interface in be.imgn.swing
-
Declares a settings record: what the user chooses and keeps between runs, saved in
<id>.tomlin the application's config directory. - SettingsDescriptor<T> - Interface in be.imgn.swing.spi
-
The description of a
Settingsrecord, which the processor generates and registers as a service. - SettingsStore - Interface in be.imgn.swing
-
Holds the value of every
Settingsrecord, loaded at startup from the config directory. - setTitle(String) - Method in class be.imgn.swing.docking.Docked
-
Sets the title shown.
- setTitle(String) - Method in interface be.imgn.swing.ui.Window
-
Sets the title of the window.
- setTitle(JComponent, String) - Static method in class be.imgn.swing.ui.spi.ComponentResources
-
Sets the title of a component's
TitledBorder, creating the border when the component has none. - settle() - Method in class be.imgn.swing.testing.OpenDialog
-
Settles from within the answer, as every tester call does: runs the updates posted on the EDT so far, such as those of the dialog's
Ui.bindtargets, which would otherwise wait for the answer to return, and the periodic actions that are due, and waits for the tasks of commands, the@OnVirtualThreaddeliveries and the pending settings saves. - shell() - Method in class be.imgn.swing.testing.AppTester
-
Returns the system shell, which records the URIs browsed and the files opened.
- SHIFT - Enum constant in enum class be.imgn.swing.ui.Modifier
-
Shift.
- shortcut() - Method in record class be.imgn.swing.ui.PaletteEntry
-
Returns the value of the
shortcutrecord component. - shortcut(BoundCommand) - Method in class be.imgn.swing.ui.Keymap
-
Returns the effective shortcut of a command: its mapping, else the shortcut of its resources.
- Shortcut(KeyStroke, Component) - Constructor for record class be.imgn.swing.ui.Trigger.Shortcut
-
Creates an instance of a
Shortcutrecord class. - SHORTCUT - Enum constant in enum class be.imgn.swing.ui.Modifier
-
The platform's menu shortcut modifier, set with
Modifier.CONTROLorModifier.META, whichever it is. - show() - Method in class be.imgn.swing.ui.CommandPalette
-
Shows the palette over the view's window, with
Dialogs.chooseCommand(List); a chosen entry's command runs once the palette has closed and the focus has returned to the component that had it, in a later turn of the EDT, with aTrigger.Palettetrigger and no modifier. - show(Window) - Method in interface be.imgn.swing.ui.Windows
-
Shows a window.
- show(JComponent, String) - Method in interface be.imgn.swing.ui.ValidationFeedback
-
Shows an error on a component.
- showDialog(Class) - Method in class be.imgn.swing.ui.Ui
-
Shows a dialog view, owned by this view's window, modal to it and centered on it, and blocks until it closes.
- showDialog(Class, E) - Method in class be.imgn.swing.ui.Ui
-
Shows a variant of a dialog view, whose resources are its base table with the variant's table merged over it, and blocks until it closes, as
Ui.showDialog(Class)does. - showDialog(Class, Function) - Method in class be.imgn.swing.ui.Ui
-
Shows a dialog view created by an assisted factory, resolved through the dialog view's child injector, and blocks until it closes.
- shown() - Method in class be.imgn.swing.testing.FakeDialogs
-
Returns the classes of the dialog views shown, in order.
- shown() - Method in class be.imgn.swing.ui.Binding
-
Returns whether this binding's error is shown:
falseuntil the user changes the component orForm.validate()is called, thentruefor the binding's life. - showPreferences(Ui) - Method in interface be.imgn.swing.ui.PreferencesHandler
-
Shows the preferences; called on the EDT.
- ShutdownStep - Interface in be.imgn.swing
-
A step of the shutdown, contributed with
@IntoSet(ShutdownStep.class). - SingleFrame - Interface in be.imgn.swing.ui
-
An application class that is the only view of the main window.
- size() - Method in interface be.imgn.swing.ObservableList
-
Returns the number of elements.
- SOUTH - Enum constant in enum class be.imgn.swing.docking.DockRegion
-
Below the target.
- Split(DockLayout.Orientation, double, DockLayout, DockLayout) - Constructor for record class be.imgn.swing.docking.DockLayout.Split
-
Checks the split.
- StandardCommands - Class in be.imgn.swing.ui
-
The standard commands of a view, with working handlers, and the superclass of every generated
<Class>Commands. - StandardCommands(CommandRegistry) - Constructor for class be.imgn.swing.ui.StandardCommands
-
Creates the standard commands of a view.
- StandardMenus - Class in be.imgn.swing.ui
-
The standard menus of a view, with text and mnemonics from the framework's resources, and the superclass of every generated
<Class>Menus. - StandardMenus(Ui) - Constructor for class be.imgn.swing.ui.StandardMenus
-
Creates the standard menus of a view.
- start() - Method in class be.imgn.swing.testing.AppTester.Builder
-
Starts the application.
- start(Frames, Arguments) - Method in interface be.imgn.swing.ui.MultiFrame
-
Opens the first frames, on the EDT.
- start(Class) - Static method in class be.imgn.swing.testing.AppTester
-
Starts an application with
Locale.ROOT, which reads the base files of resources. - start(Class, Locale) - Static method in class be.imgn.swing.testing.AppTester
-
Starts an application in a locale, bound as its
DisplayLocale. - StartupStep - Interface in be.imgn.swing
-
A step of the startup, contributed with
@IntoSet(StartupStep.class). - status() - Method in record class be.imgn.swing.Check
-
Returns the value of the
statusrecord component. - step() - Method in class be.imgn.swing.wizard.Wizard
-
Returns the index of the shown step, from 0.
- steps(JComponent...) - Method in class be.imgn.swing.wizard.Wizard
-
Returns a new panel that shows the steps: a heading, and the steps on the cards of a
CardLayout, in the given order, the first shown. - string(String, String) - Method in class be.imgn.swing.ui.spi.ComponentResources
-
Returns a string property.
- subscribe(Scope, Consumer) - Method in interface be.imgn.swing.Observable
-
Subscribes a listener, called with each new value, until the scope closes or the subscription is closed.
- subscribeChanges(Scope, Consumer) - Method in interface be.imgn.swing.ObservableList
-
Subscribes a listener, called with each change, until the scope closes or the subscription is closed.
- Subscription - Interface in be.imgn.swing
-
A listener's subscription to an
Observable, released when its scope closes or when it is closed. - suggestedName() - Method in record class be.imgn.swing.testing.FileChoice
-
Returns the value of the
suggestedNamerecord component. - supportBrowsing(boolean) - Method in class be.imgn.swing.testing.FakeShell
-
Sets whether the shell can browse, as a system without a browser can't; it can by default.
- supports(String) - Method in class be.imgn.swing.flatlaf.SvgIconLoader
- supports(String) - Method in interface be.imgn.swing.ui.IconLoader
-
Returns whether this loader loads an icon, by its extension.
- SvgIconLoader - Class in be.imgn.swing.flatlaf
-
Loads SVG icons, through
FlatSVGIcon: they stay sharp on HiDPI screens. - SvgIconLoader() - Constructor for class be.imgn.swing.flatlaf.SvgIconLoader
-
Creates the loader.
- Swing - Class in be.imgn.swing.ui
-
Launches applications.
- system() - Static method in class be.imgn.swing.flatlaf.DarkMode
-
Returns the detection that runs the commands in other processes.
- SYSTEM - Enum constant in enum class be.imgn.swing.flatlaf.Theme
-
Follows the operating system's setting, read once at startup.
- SystemAction - Enum Class in be.imgn.swing.ui
-
An action of the operating system's application menu.
- SystemShell - Interface in be.imgn.swing.ui
-
Asks the system to show a URI in the browser, or a file in the application that the system associates with it, through
java.awt.Desktop.
T
- tab() - Static method in record class be.imgn.swing.docking.Placement
-
Returns a placement as a tab of the active view's tab group:
of(CENTER, 0.5). - table(Class) - Method in class be.imgn.swing.Resources
-
Returns the merged resources of a class, in the current display locale.
- table(Class, Locale) - Method in class be.imgn.swing.Resources
-
Returns the merged resources of a class, in a given locale, whatever the display locale.
- Tabs(List, DockView) - Constructor for record class be.imgn.swing.docking.DockLayout.Tabs
-
Checks and copies the tab group.
- tabWith(Class) - Static method in record class be.imgn.swing.docking.Placement
-
Returns a placement as a tab of the tab group of the open view of a class opened last:
beside(target, CENTER, 0.5). - target() - Method in record class be.imgn.swing.docking.Placement
-
Returns the value of the
targetrecord component. - Task<T> - Interface in be.imgn.swing
-
Work that runs on a virtual thread, with its completion hooks.
- taskbar() - Method in class be.imgn.swing.testing.AppTester
-
Returns the taskbar, which records its progress, badge and attention requests.
- TaskbarStatus - Interface in be.imgn.swing.ui
-
The application's entry in the taskbar, or its Dock icon: a progress, a badge, and requests for the user's attention.
- TaskContext - Interface in be.imgn.swing
-
What the work of a
Taskcan tell and ask while it runs:Task.of((TaskContext context) -> ...). - taskHandler(Function) - Method in class be.imgn.swing.ui.CommandBuilder
-
Sets a handler returning a
Task, which the command runs with its input blocking. - TaskService - Class in be.imgn.swing
-
Runs tasks in a scope, without blocking any input.
- TaskWork<T> - Interface in be.imgn.swing
-
The work of a
Taskthat uses itsTaskContext. - test(T) - Method in interface be.imgn.swing.Rule
-
Returns whether a value meets the requirement.
- text() - Method in record class be.imgn.swing.testing.FakeNotifications.Notification
-
Returns the value of the
textrecord component. - text() - Method in record class be.imgn.swing.ui.DynamicEntry.Item
-
Returns the value of the
textrecord component. - text() - Method in record class be.imgn.swing.ui.PaletteEntry
-
Returns the value of the
textrecord component. - text(FileType) - Static method in interface be.imgn.swing.desktop.DocumentFormat
-
Returns the format of UTF-8 text, whose empty contents are
"". - theme() - Method in class be.imgn.swing.flatlaf.FlatLafInstaller
-
Returns the theme to install.
- Theme - Enum Class in be.imgn.swing.flatlaf
-
The theme of FlatLaf, which the
be.imgn.swing.themesystem property selects, else thethemekey of the application's resources. - then(Function) - Method in interface be.imgn.swing.Task
-
Returns a chain that runs this task and, when it succeeds, calls
nextwith its result through theUiExecutor, after this task's ownTask.onSuccess(Consumer)hooks, then runs the tasknextreturns, in the same scope. - ticker() - Method in class be.imgn.swing.testing.AppTester
-
Returns the ticker the application reads time from.
- title() - Method in class be.imgn.swing.docking.Docked
-
Returns the title shown.
- title() - Method in class be.imgn.swing.testing.AppTester
-
Returns the title of the main window.
- title() - Method in class be.imgn.swing.testing.OpenFrame
-
Returns the title of the frame.
- title() - Method in interface be.imgn.swing.ui.Window
-
Returns the title of the window, as last set.
- title(DockView) - Method in class be.imgn.swing.docking.Dock
-
Returns the title of an open view, as its
Docked.title()gives it. - toFront() - Method in interface be.imgn.swing.ui.Window
-
Brings the window to the front, deiconified, and asks for the focus.
- toFront(DockView) - Method in class be.imgn.swing.docking.Dock
-
Brings a view to the front: selects its tab, moves the focus to the first component of its content that takes it, through the window's
Window.focus(Component), and makes it the active one. - toFront(FrameView) - Method in interface be.imgn.swing.ui.Frames
-
Brings the frame of a view to the front, deiconified, and focuses it.
- toFrontCount() - Method in class be.imgn.swing.testing.OpenFrame
-
Returns how many times the frame was brought to the front, through
Window.toFront(). - tokens() - Method in class be.imgn.swing.flatlaf.FlatLafInstaller
-
Returns the tokens of the application class's
[flatlaf]table, in the current appearance of the resources: each value as the string that FlatLaf's properties files would hold. - toolBar() - Method in interface be.imgn.swing.ui.FrameView
-
Returns the toolbar of the frame, placed at
BorderLayout.NORTH. - toolBar(ToolBarEntry...) - Method in class be.imgn.swing.ui.Ui
-
Returns a new toolbar.
- ToolBarEntry - Interface in be.imgn.swing.ui
-
An entry of a toolbar: a command or a separator.
- toSave() - Method in interface be.imgn.swing.desktop.DocumentView
-
Returns the contents to write, on the EDT, before a write.
- toString() - Method in record class be.imgn.swing.Arguments
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.Check
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.DisplayLocale
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.docking.DockLayout.Split
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.docking.DockLayout.Tabs
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.docking.Placement
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ListChange.Added
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ListChange.Removed
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ListChange.Replaced
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.testing.FakeNotifications.Notification
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.testing.FileChoice
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.testing.Inspection
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.swing.ui.BoundCommand
- toString() - Method in class be.imgn.swing.ui.BoundMenu
- toString() - Method in class be.imgn.swing.ui.CommandContext
- toString() - Method in record class be.imgn.swing.ui.DynamicEntry.Item
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ui.FileType
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ui.MenuEntry.Dynamic
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.swing.ui.MenuSpec
- toString() - Method in record class be.imgn.swing.ui.PaletteEntry
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.swing.ui.Separator
- toString() - Method in record class be.imgn.swing.ui.Trigger.ButtonClick
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ui.Trigger.MenuSelection
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ui.Trigger.OperatingSystem
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ui.Trigger.Palette
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ui.Trigger.PopupMenuSelection
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ui.Trigger.Programmatic
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.ui.Trigger.Shortcut
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.Validation
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.swing.Validator
-
Returns a string representation of this record class.
- track(Observable) - Method in class be.imgn.swing.ui.Form
-
Tracks an observable that has no component in the form, such as an observable list edited in a table: the form is dirty while its value differs from its value now, or when
Form.markClean()was last called. - trigger() - Method in class be.imgn.swing.ui.CommandContext
-
Returns the trigger, with the objects of the path that activated the command.
- Trigger - Interface in be.imgn.swing.ui
-
The path that activated a command, with the objects that path always has.
- Trigger.ButtonClick - Record Class in be.imgn.swing.ui
-
A button was clicked.
- Trigger.MenuSelection - Record Class in be.imgn.swing.ui
-
A menu item of the menu bar, or of a menu built with
MenuSpec.createMenu(), was selected. - Trigger.OperatingSystem - Record Class in be.imgn.swing.ui
-
The operating system's application menu ran the command.
- Trigger.Palette - Record Class in be.imgn.swing.ui
-
The user chose the command in the
CommandPalette. - Trigger.PopupMenuSelection - Record Class in be.imgn.swing.ui
-
A menu item of a popup menu was selected.
- Trigger.Programmatic - Record Class in be.imgn.swing.ui
-
Code ran the command, as with
BoundCommand.execute(). - Trigger.Shortcut - Record Class in be.imgn.swing.ui
-
A shortcut was typed.
- type() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns the application class,
ApplicationDescriptor.type(), whose resources are the application's. - type() - Method in interface be.imgn.swing.spi.ApplicationDescriptor
-
Returns the annotated class.
- type() - Method in interface be.imgn.swing.spi.MessagesDescriptor
-
Returns the
@Messagesinterface. - type() - Method in interface be.imgn.swing.spi.SettingsDescriptor
-
Returns the settings record.
- type() - Method in record class be.imgn.swing.testing.Inspection
-
Returns the value of the
typerecord component. - type() - Method in interface be.imgn.swing.ui.spi.ComponentInjector
-
Returns the view class.
- type() - Method in interface be.imgn.swing.ui.spi.ComponentState
-
Returns the view class.
- types() - Method in record class be.imgn.swing.testing.FileChoice
-
Returns the value of the
typesrecord component.
U
- Ui - Class in be.imgn.swing.ui
-
What a view needs to build its components.
- UiExecutor - Interface in be.imgn.swing
-
Runs work on the user-interface thread.
- undo() - Method in class be.imgn.swing.ui.StandardCommands
-
Returns the command that undoes the next edit of the view's
UndoStack; enabled while it can undo. - undo() - Method in class be.imgn.swing.ui.UndoStack
-
Undoes the next edit.
- UndoStack - Class in be.imgn.swing.ui
-
The undo stack of a view, a bean of its scope, which the standard
undo()andredo()commands act on. - UNKNOWN - Enum constant in enum class be.imgn.swing.Check.Status
-
The requirement couldn't be tested.
- UNMET - Enum constant in enum class be.imgn.swing.Check.Status
-
The value doesn't meet the requirement.
V
- valid() - Method in class be.imgn.swing.ui.Form
-
Returns whether every binding's validation is valid, whether or not its errors are shown.
- valid() - Method in record class be.imgn.swing.Validation
-
Returns whether every check is
Check.Status.MET. - validate() - Method in class be.imgn.swing.ui.Form
-
Shows the error of every binding that has one, and moves the focus to the first component with an error, in binding order: it first selects the tabs of the
JTabbedPanes that hold it and aren't selected, from the outermost pane in, then runs the code registered withForm.revealWith(Consumer), then focuses it through its window'sWindow.focus(Component), unless it still isn't showing, such as one on a card that no reveal code shows. - validate(Component) - Method in class be.imgn.swing.ui.Form
-
Validates the bindings whose component is a component or inside it, as
Form.validate()validates all of them: shows their errors, and moves the focus to the first of them with an error, in binding order. - validate(T) - Method in record class be.imgn.swing.Validator
-
Tests a value against every rule, in order, whether or not an earlier one fails.
- validated() - Method in class be.imgn.swing.ui.Binding
-
Returns whether
Form.validate()was called since the user last changed the component:falseuntil it is called, thentrueuntil the user changes the component. - validation() - Method in class be.imgn.swing.ui.Binding
-
Returns the last validation of this binding.
- Validation - Record Class in be.imgn.swing
-
The status of every requirement of a value, met or not, so that a view can show each one and not only the first error.
- Validation(List) - Constructor for record class be.imgn.swing.Validation
-
Creates a validation of a copy of the checks.
- ValidationFeedback - Interface in be.imgn.swing.ui
-
Shows the error of a
Form's binding on its component, on the EDT. - Validator<T> - Record Class in be.imgn.swing
-
The rules of a value, declared once and tested in a form, a command-line tool or a service.
- Validator(List) - Constructor for record class be.imgn.swing.Validator
-
Creates a validator of a copy of the rules.
- value() - Element in annotation interface be.imgn.swing.Settings
-
Returns the record's id, the name of its file: lower-case kebab case, one or more groups of
a-zand0-9separated by single-. - valueOf(String) - Static method in enum class be.imgn.swing.Appearance
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.Check.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.docking.DockLayout.Orientation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.docking.DockRegion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.flatlaf.Theme
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.testing.FileChoice.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.ui.Block
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.ui.Concurrency
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.ui.Modifier
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.ui.SaveChoice
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class be.imgn.swing.ui.SystemAction
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class be.imgn.swing.Appearance
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in record class be.imgn.swing.Arguments
-
Returns the value of the
valuesrecord component. - values() - Static method in enum class be.imgn.swing.Check.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.docking.DockLayout.Orientation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.docking.DockRegion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.flatlaf.Theme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.testing.FileChoice.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.ui.Block
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.ui.Concurrency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.ui.Modifier
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.ui.SaveChoice
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class be.imgn.swing.ui.SystemAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Variants - Annotation Interface in be.imgn.swing.ui
-
Marks the enum, nested in a dialog view, whose constants name the variants of that dialog: dialogs of one class that differ only by their resources, opened with
Ui.showDialog(Class, Enum). - vendor() - Element in annotation interface be.imgn.swing.Application
-
Returns the organization or person that makes the application.
- vendor() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns
Application.vendor(), if given. - vendor() - Method in interface be.imgn.swing.spi.ApplicationDescriptor
-
Returns
Application.vendor(), if given. - version() - Element in annotation interface be.imgn.swing.Application
-
Returns the version, shown in the About dialog.
- version() - Method in interface be.imgn.swing.ApplicationInfo
-
Returns
Application.version(), if given. - version() - Method in interface be.imgn.swing.spi.ApplicationDescriptor
-
Returns
Application.version(), if given. - VERTICAL - Enum constant in enum class be.imgn.swing.docking.DockLayout.Orientation
-
firstabovesecond. - view() - Method in record class be.imgn.swing.testing.Inspection
-
Returns the value of the
viewrecord component. - view() - Method in class be.imgn.swing.testing.OpenDialog
-
Returns the dialog view.
- view() - Method in class be.imgn.swing.testing.OpenFrame
-
Returns the frame view.
- view() - Method in class be.imgn.swing.ui.StandardMenus
-
Returns the View menu.
- View - Interface in be.imgn.swing.ui
-
A component, with its commands and its scope.
- views() - Method in class be.imgn.swing.docking.Dock
-
Returns the open dock views, in the order they were opened.
- views() - Method in record class be.imgn.swing.docking.DockLayout.Tabs
-
Returns the value of the
viewsrecord component. - views() - Method in interface be.imgn.swing.ui.Frames
-
Returns the views of the open frames, in the order they were opened, the main view of a single-frame application first.
- ViewScoped - Annotation Interface in be.imgn.swing.ui
-
Scopes a bean to its view: one instance per view, cached in the view's child injector.
W
- WEST - Enum constant in enum class be.imgn.swing.docking.DockRegion
-
Left of the target.
- wide(JComponent) - Method in class be.imgn.swing.ui.FormPanel
-
Adds a component across both columns, filling the row's width and sharing the extra height with the other wide components, as a nested panel or a text area needs.
- window() - Method in class be.imgn.swing.ui.StandardMenus
-
Returns the Window menu.
- window() - Method in class be.imgn.swing.ui.Ui
-
Returns the window of this view.
- Window - Interface in be.imgn.swing.ui
-
A window, as the framework sees it: a frame or a dialog, or a bare root pane in the test harness.
- WINDOW - Enum constant in enum class be.imgn.swing.ui.Block
-
A glass pane covers the window: it consumes mouse and key events, shows a busy cursor and, after 300 ms, a progress indicator with a Cancel button.
- Windows - Interface in be.imgn.swing.ui
-
Creates the windows.
- WindowScoped - Annotation Interface in be.imgn.swing.ui
-
Scopes a bean to its window: one instance per window, cached in the window's child injector.
- with(MenuEntry...) - Method in class be.imgn.swing.ui.BoundMenu
-
Returns the description of this menu with entries.
- Wizard - Class in be.imgn.swing.wizard
-
Shows the content of a dialog view as a sequence of steps, with Previous and Next, each step validated before the next: the view injects it, returns what
Wizard.stepsreturns from itscontent(), or places it, and returns whatWizard.buttons(StandardCommands)returns from itsbuttons. - write(T, OutputStream) - Method in interface be.imgn.swing.desktop.DocumentFormat
-
Writes contents to a file, on a task's thread.
All Classes and Interfaces|All Packages|Constant Field Values