class ConsolePreferences
extends Object
Manages the Groovy Console preferences dialog and persisted settings.
| Type | Name and description |
|---|---|
static int |
DEFAULT_LOOP_MODE_DELAY_MILLISDefault loop mode delay, in milliseconds. |
static int |
DEFAULT_MAX_OUTPUT_CHARSDefault maximum number of characters retained in the output area. |
String |
customDarkThemePathOptional custom dark theme path. |
String |
customLightThemePathOptional custom light theme path. |
int |
iconSizeSelected icon size for console actions. |
int |
loopModeDelayDelay between loop mode executions, in milliseconds. |
int |
maxOutputCharsMaximum number of characters retained in the output area. |
File |
outputFileOutput file currently selected in the preferences dialog. |
boolean |
scaleIconsWithFontWhether action icons should track the current font size. |
| Constructor and description |
|---|
ConsolePreferences(Object console)Creates a preferences controller for the supplied console. |
Default loop mode delay, in milliseconds.
Default maximum number of characters retained in the output area.
Selected icon size for console actions.
Delay between loop mode executions, in milliseconds.
Maximum number of characters retained in the output area.
Output file currently selected in the preferences dialog.
Whether action icons should track the current font size.
Creates a preferences controller for the supplied console.
console - console instance that owns the dialogLaunches the preferences dialog in isolation for manual UI checks.
args - ignored command-line argumentsDisplays the preferences dialog.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.