Package avail. anvil
Types
An abstraction for a color that's dependent on light versus dark mode.
An editor for an Avail source module. Currently supports:
AvailWorkbench is a simple user interface for the Avail builder.
An abstraction of the styles used by the workbench. Represents the binding of an abstract style name to a textual style usable by a styled document.
Draws a code guide after the 80th column on the decorated JScrollPane.
The dark-themed palette of system colors.
Default style bindings for all system styles. Constructor capabilities are not intended to cover Swing's styling capabilities comprehensively, only to provide those options that will be exercised by one or more system styles.
A builder for DefaultBoundSystemStyle.
The light-themed palette of system colors.
A helper class for building the menu bar.
A helper class for building menus.
Utility for applying bound styles to StyledDocuments.
The global registry of all styles, initially populated with the system styles and their default bindings.
The abstract palette of system colors. Supports styling Avail source text and UI components.
Functions
Create a Window menu that appears suitable for the platform. Which is only Mac at the moment, although these commands should work anywhere.
Either places the given component inside a JScrollPane or answers the JScrollPane that it's already inside.
Either places the receiver JTextArea inside a JScrollPane with line numbers presented as row headers, or answers the JScrollPane that it's already inside.
Scroll the given JTextPane to ensure the given text range is visible, and preferably not jammed against the top or bottom border.