Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A - Enum constant in enum class wiiuu.input.PadButton
- accent - Variable in class wiiuu.ui.MilkTheme
- accent() - Method in record class wiiuu.ui.AnimatedMascot.Style
-
Returns the value of the
accentrecord component. - accentLabel() - Method in record class wiiuu.ui.AnimatedMascot.Style
-
Returns the value of the
accentLabelrecord component. - alpha(Color, float) - Static method in class wiiuu.ui.MilkTheme
- AnimatedMascot - Class in wiiuu.ui
-
An animated branded card with speech bubbles, extracted from WII-UU: a card with googly eyes and little legs.
- AnimatedMascot(Supplier, LongSupplier) - Constructor for class wiiuu.ui.AnimatedMascot
-
Supply a live theme and a monotonic millisecond clock for deterministic animation.
- AnimatedMascot(AnimatedMascot.Style) - Constructor for class wiiuu.ui.AnimatedMascot
-
Use a fixed appearance and the system millisecond clock.
- AnimatedMascot.Style - Record Class in wiiuu.ui
-
Branding and live appearance supplied by the host; font sizes are in points.
- announce(String, String, boolean, long) - Method in class wiiuu.engine.GameScreen
-
Shows a card at the bottom for a while: a title, a line under it, with a trophy for achievements.
- announcing() - Method in class wiiuu.engine.GameScreen
-
Whether a card is showing (keep repainting).
- applyTheme(Component) - Method in class wiiuu.ui.Ui
-
Apply this instance's current theme to toolkit controls in a tree, including late additions.
- AudioVisualizer - Class in wiiuu.ui
-
FFT spectrum analysis and ambient/fullscreen painting for host-provided normalized mono audio.
- AudioVisualizer(double) - Constructor for class wiiuu.ui.AudioVisualizer
-
Audio in normalized mono samples; no audio device or playback is opened.
- AudioVisualizer(double, LongSupplier) - Constructor for class wiiuu.ui.AudioVisualizer
-
Supply a monotonic nanosecond clock for deterministic ring rotation.
- author() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns the value of the
authorrecord component.
B
- B - Enum constant in enum class wiiuu.input.PadButton
- background(int, int, Map) - Static method in class wiiuu.ui.MenuPainter
-
Render the palette's gradient, pinstripes and light blooms.
- band - Variable in class wiiuu.ui.MilkTheme
-
the chocolate band at the top, and the drips off it
- BANDS - Static variable in class wiiuu.ui.AudioVisualizer
- bandShade - Variable in class wiiuu.ui.MilkTheme
-
the chocolate band at the top, and the drips off it
- bass() - Method in class wiiuu.ui.AudioVisualizer
-
The bass, 0..1: jumps with each kick, then falls back.
- bgBottom - Variable in class wiiuu.ui.MilkTheme
-
the page: a gradient from top to bottom
- bgTop - Variable in class wiiuu.ui.MilkTheme
-
the page: a gradient from top to bottom
- button(String) - Method in class wiiuu.ui.Ui
- button(String, ActionListener) - Method in class wiiuu.ui.Ui
- BUZZ_BLUE - Enum constant in enum class wiiuu.input.PadButton
- BUZZ_GREEN - Enum constant in enum class wiiuu.input.PadButton
- BUZZ_ORANGE - Enum constant in enum class wiiuu.input.PadButton
- BUZZ_RED - Enum constant in enum class wiiuu.input.PadButton
-
Buzz! buzzers (Buzz! mode): the big red button and the four answer buttons
- BUZZ_YELLOW - Enum constant in enum class wiiuu.input.PadButton
C
- card(LayoutManager) - Method in class wiiuu.ui.Ui
-
Rounded content container with 16px padding; accepts any Swing layout.
- checkBox(String, boolean) - Method in class wiiuu.ui.Ui
- choc - Variable in class wiiuu.ui.MilkTheme
-
the chocolate in the glass
- chocLight - Variable in class wiiuu.ui.MilkTheme
-
the chocolate in the glass
- choose(String...) - Static method in class wiiuu.ui.UiFonts
-
First installed preference, falling back to Java's logical sans-serif font.
- clear() - Method in class wiiuu.engine.GameScreen
-
Forgets the picture (the game ended); the hint shows again for the next one.
- COCOA - Static variable in class wiiuu.ui.MilkTheme
- colour(String) - Method in class wiiuu.ui.UiTheme
- colours() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns the value of the
coloursrecord component. - colours() - Method in class wiiuu.ui.UiTheme
- colours(boolean) - Static method in class wiiuu.ui.MenuPalette
-
WII-UU's own colours, light or dark, by theme setting name (see ThemeScript.PROPERTIES).
- column - Variable in exception class wiiuu.ui.ThemeScript.Error
- column(int, Component...) - Method in class wiiuu.ui.Ui
-
Vertical stack with a fixed gap, aligned to the leading edge.
- comboBox(T[]) - Method in class wiiuu.ui.Ui
-
Uses the Swing combo-box model and popup behavior; items may have a host-supplied renderer.
- consoles() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns the value of the
consolesrecord component. - cover(long) - Method in class wiiuu.ui.MilkIntro
-
How much of the intro covers the list (1, then fading to 0 at the end).
D
- dark - Variable in class wiiuu.ui.MilkTheme
- dark() - Method in record class wiiuu.ui.AnimatedMascot.Style
-
Returns the value of the
darkrecord component. - dark() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns the value of the
darkrecord component. - dark() - Static method in class wiiuu.ui.UiTheme
-
The built-in dark appearance.
- dim - Variable in class wiiuu.ui.MilkTheme
- done(long) - Method in class wiiuu.ui.MilkIntro
- DOWN - Enum constant in enum class wiiuu.input.PadButton
- drips(int, float, float, float) - Static method in class wiiuu.ui.MilkTheme
-
The band with drips hanging off its bottom edge;
grow0..1 lets the drips run down.
E
- ellipsize(String, FontMetrics, float) - Static method in class wiiuu.ui.UiText
-
Fit a line with an ellipsis.
- equals(Object) - Method in record class wiiuu.ui.AnimatedMascot.Style
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class wiiuu.ui.ThemeScript.Result
-
Indicates whether some other object is "equal to" this one.
- evaluate(String, String, boolean) - Static method in class wiiuu.ui.MenuPalette
-
Evaluate a theme without console-specific colours, using the standard menu palettes.
- evaluate(String, String, Function, Function, Set, boolean) - Static method in class wiiuu.ui.ThemeScript
-
Works a theme out.
F
- family() - Static method in class wiiuu.ui.MilkTheme
-
A rounded, friendly face when the computer has one; the standard sans otherwise.
- family(String) - Method in class wiiuu.ui.UiFonts
-
Switch family and invalidate this instance's cached fonts.
- followsSystem() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns the value of the
followsSystemrecord component. - font() - Method in record class wiiuu.ui.AnimatedMascot.Style
-
Returns the value of the
fontrecord component. - font(int, float) - Static method in class wiiuu.ui.MilkTheme
- font(int, float) - Method in class wiiuu.ui.UiFonts
-
Get a font, rounded to half points and at least eight points, as in the WII-UU menu.
- font(int, float) - Method in class wiiuu.ui.UiTheme
- fonts() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns the value of the
fontsrecord component. - frame(int[], int, int, float) - Method in class wiiuu.engine.GameScreen
-
A frame in the first w * h pixels (0xRRGGBB); aspect 0 uses the pixel dimensions.
- from(ThemeScript.Result) - Static method in class wiiuu.ui.UiTheme
-
Use an evaluated .wtheme, including its font preferences.
- FUNCTIONS - Static variable in class wiiuu.ui.ThemeScript
-
The colour functions, with their arguments (for the reference and error messages).
G
- gamepad(Graphics2D, float, float, float, float, Color) - Static method in class wiiuu.ui.MenuPainter
-
Paint a GamePad symbol at explicit coordinates, preserving graphics state.
- GAMEPAD - Enum constant in enum class wiiuu.ui.MenuPainter.Icon
- GameScreen - Class in wiiuu.engine
-
A game's picture as Choccy Milk draws it: as big as fits at the game's shape (or stretched to 16:9), whole source pixels or upscaled (smooth, Scale2x, Scale3x, xBR 2x / 4x, a CRT TV:
GameScreen.look(String, boolean)), optionally with each frame blended into the one before, on black, with a hint at the top for a few seconds after it starts. - GameScreen() - Constructor for class wiiuu.engine.GameScreen
- glass(Graphics2D, float, float, float, float, float, float, float, float, double, Color, Color, Color, Color) - Static method in class wiiuu.ui.MilkTheme
-
The logo: a glass at (x, y), w wide and h tall.
H
- hashCode() - Method in record class wiiuu.ui.AnimatedMascot.Style
-
Returns a hash code value for this object.
- hashCode() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns a hash code value for this object.
- heading(String) - Method in class wiiuu.ui.Ui
- HINT - Static variable in class wiiuu.engine.GameScreen
-
The hint's color (WII-UU's warm "milk" brown).
- hintShowing() - Method in class wiiuu.engine.GameScreen
-
Whether the hint is still showing (keep repainting until it has faded).
- hit(double, double) - Method in class wiiuu.ui.AnimatedMascot
-
Whether a click at x, y hits it.
- HOME - Enum constant in enum class wiiuu.input.PadButton
- hop() - Method in class wiiuu.ui.AnimatedMascot
I
- icon(int) - Static method in class wiiuu.ui.MilkTheme
-
The app icon at one size: the glass on a rounded chocolate square.
- icon(Graphics2D, MenuPainter.Icon, Rectangle2D, Color) - Static method in class wiiuu.ui.MenuPainter
-
Paint a vector dock icon in the given bounds, preserving graphics state.
- icons() - Static method in class wiiuu.ui.MilkTheme
-
Icons for the window (each size drawn on its own, so small ones stay crisp).
- installed(String) - Static method in class wiiuu.ui.UiFonts
-
Whether the family was found on this desktop.
- isBuzz() - Method in enum class wiiuu.input.PadButton
- isDark() - Static method in class wiiuu.engine.SystemTheme
- isDark() - Method in class wiiuu.ui.UiTheme
- isDirection() - Method in enum class wiiuu.input.PadButton
K
- key(int) - Static method in class wiiuu.engine.GameScreen
-
The keyboard's game buttons: arrows, X = A, Z = B, S = X, A = Y, Q / W = L / R, E / R = ZL / ZR, Enter = Start (+), Space or Shift = Select (-).
L
- L - Enum constant in enum class wiiuu.input.PadButton
- L3 - Enum constant in enum class wiiuu.input.PadButton
- label() - Method in record class wiiuu.ui.AnimatedMascot.Style
-
Returns the value of the
labelrecord component. - label(String) - Method in class wiiuu.ui.Ui
- label(String, JComponent) - Method in class wiiuu.ui.Ui
-
Label a form control and give it an accessible name when it has none.
- LEFT - Enum constant in enum class wiiuu.input.PadButton
- LENGTH - Static variable in class wiiuu.ui.MilkIntro
- levels() - Method in class wiiuu.ui.AudioVisualizer
-
A snapshot of the bars, 0..1, low to high.
- light() - Static method in class wiiuu.ui.UiTheme
-
The built-in light appearance.
- line - Variable in exception class wiiuu.ui.ThemeScript.Error
- look(float, float) - Method in class wiiuu.ui.AnimatedMascot
-
Where it looks (screen coordinates).
- look(String, boolean) - Method in class wiiuu.engine.GameScreen
-
How the next game's picture is drawn (see wiiuu.core.ChoccyPicture): the filter, "+blend" after it to blend frames.
- LS_DOWN - Enum constant in enum class wiiuu.input.PadButton
- LS_LEFT - Enum constant in enum class wiiuu.input.PadButton
- LS_RIGHT - Enum constant in enum class wiiuu.input.PadButton
- LS_UP - Enum constant in enum class wiiuu.input.PadButton
M
- MenuPainter - Class in wiiuu.ui
-
WII-UU menu backgrounds, drop shadows and vector dock icons, independent of app state.
- MenuPainter.Icon - Enum Class in wiiuu.ui
-
Vector icons shared by the menu dock.
- MenuPalette - Class in wiiuu.ui
-
WII-UU's light and dark menu palettes, independent of any application or window.
- milk - Variable in class wiiuu.ui.MilkTheme
- MILK - Static variable in class wiiuu.ui.MilkTheme
- MilkIntro - Class in wiiuu.ui
-
A reusable chocolate-milk intro: a glass drops in, syrup pours in, a straw lands and the host application's title appears letter by letter.
- MilkIntro(MilkTheme, String, String) - Constructor for class wiiuu.ui.MilkIntro
-
Start an intro now, with the host application's title and tagline.
- MilkIntro(MilkTheme, String, String, long) - Constructor for class wiiuu.ui.MilkIntro
-
Start at an explicit timestamp, for deterministic rendering or a host animation clock.
- MilkTheme - Class in wiiuu.ui
-
Choccy Milk's own look: Cocoa (dark) and Milk (light), following the computer unless chosen (choccy.theme = auto, cocoa or milk; T switches).
- MINUS - Enum constant in enum class wiiuu.input.PadButton
- mix(Color, Color, float) - Static method in class wiiuu.ui.MilkTheme
- mutedLabel(String) - Method in class wiiuu.ui.Ui
N
- name - Variable in class wiiuu.ui.MilkTheme
- name() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns the value of the
namerecord component. - nameOf(String) - Static method in class wiiuu.ui.ThemeScript
-
The name a theme gives itself (for lists), without working it out; null if it has none.
- needsFrame() - Method in class wiiuu.ui.AnimatedMascot
-
Whether the next frame looks different (the caller repaints only then).
O
- onAccent() - Method in class wiiuu.ui.UiTheme
-
Readable foreground for an accent-filled control, including custom theme accents.
P
- PadButton - Enum Class in wiiuu.input
-
Every input the phone gamepad can send.
- page(LayoutManager) - Method in class wiiuu.ui.Ui
-
Gradient page container.
- paint(Graphics2D, float, float, float, boolean, float) - Method in class wiiuu.ui.AnimatedMascot
-
Paints it standing at footX, footY, with a body s high (2.6 s wide), and its bubble to the right (bubbleAbove false) or above it, at most bubbleW wide.
- paint(Graphics2D, int, int, long) - Method in class wiiuu.ui.MilkIntro
-
Paint without changing the caller's graphics state.
- paint(Graphics2D, int, int, String, Font) - Method in class wiiuu.engine.GameScreen
- paintAmbient(Graphics2D, int, float, float, Color) - Method in class wiiuu.ui.AudioVisualizer
-
The strip behind the tiles: translucent bars standing on the dock's edge.
- paintFull(Graphics2D, int, int, String, String, String, String, Color, String) - Method in class wiiuu.ui.AudioVisualizer
-
Full screen: a dark stage, the spectrum ring around WII-UU's name, the waveform and the track.
- paintPage(Graphics2D, int, int, float, float, long) - Method in class wiiuu.ui.MilkTheme
-
The background, and the chocolate band at the top (
bandHtall, drips below it). - paintWalking(Graphics2D, float, float, float, float) - Method in class wiiuu.ui.AnimatedMascot
- panel - Variable in class wiiuu.ui.MilkTheme
-
lists sit on panels
- panel(LayoutManager) - Method in class wiiuu.ui.Ui
-
Theme-coloured plain panel, useful with any Swing layout manager.
- panelEdge - Variable in class wiiuu.ui.MilkTheme
-
lists sit on panels
- parse(String) - Static method in enum class wiiuu.input.PadButton
- pick(Graphics2D, float, float, float, float, float, boolean) - Method in class wiiuu.ui.MilkTheme
-
The chosen row's pill.
- pick(String, boolean) - Static method in class wiiuu.ui.MilkTheme
-
The look to use: choccy.theme, or the computer's dark / light mode.
- pickBottom - Variable in class wiiuu.ui.MilkTheme
-
the chosen row: a chocolate pill, lighter at the top
- pickIdle - Variable in class wiiuu.ui.MilkTheme
-
the chosen row while the other column has the focus
- pickText - Variable in class wiiuu.ui.MilkTheme
-
the chosen row: a chocolate pill, lighter at the top
- pickTop - Variable in class wiiuu.ui.MilkTheme
-
the chosen row: a chocolate pill, lighter at the top
- picture() - Method in class wiiuu.engine.GameScreen
-
The newest picture, or null.
- pictureBounds(int, int) - Method in class wiiuu.engine.GameScreen
-
Exact viewport used for drawing, also used to map standalone DS stylus clicks.
- PLUS - Enum constant in enum class wiiuu.input.PadButton
- POWER - Enum constant in enum class wiiuu.ui.MenuPainter.Icon
- primaryButton(String) - Method in class wiiuu.ui.Ui
- primaryButton(String, ActionListener) - Method in class wiiuu.ui.Ui
- progressBar(int, int) - Method in class wiiuu.ui.Ui
- PROPERTIES - Static variable in class wiiuu.ui.ThemeScript
-
Every colour a theme can set, with what it is for (the order of the reference).
Q
- quietFor() - Method in class wiiuu.ui.AnimatedMascot
-
How long since it last said something (ms).
R
- R - Enum constant in enum class wiiuu.input.PadButton
- R3 - Enum constant in enum class wiiuu.input.PadButton
- REFRESH - Enum constant in enum class wiiuu.ui.MenuPainter.Icon
- Result(String, String, Map, Map, List, boolean, boolean, List) - Constructor for record class wiiuu.ui.ThemeScript.Result
-
Creates an instance of a
Resultrecord class. - RIGHT - Enum constant in enum class wiiuu.input.PadButton
- row(Component...) - Method in class wiiuu.ui.Ui
- RS_DOWN - Enum constant in enum class wiiuu.input.PadButton
- RS_LEFT - Enum constant in enum class wiiuu.input.PadButton
- RS_RIGHT - Enum constant in enum class wiiuu.input.PadButton
- RS_UP - Enum constant in enum class wiiuu.input.PadButton
S
- SAMPLE_COUNT - Static variable in class wiiuu.ui.AudioVisualizer
- say(String) - Method in class wiiuu.ui.AnimatedMascot
-
Says something (and hops).
- sayOne(String...) - Method in class wiiuu.ui.AnimatedMascot
-
Says one of these, at random.
- scrollPane(Component) - Method in class wiiuu.ui.Ui
- setTheme(UiTheme) - Method in class wiiuu.ui.UiButton
- setTheme(UiTheme, Component) - Method in class wiiuu.ui.Ui
-
Change future controls and restyle existing toolkit controls under root, preserving their state.
- SETTINGS - Enum constant in enum class wiiuu.ui.MenuPainter.Icon
- shadow(Graphics2D, float, float, float, float, float, float) - Method in class wiiuu.ui.MilkTheme
-
A soft shadow under a rounded panel.
- shadow(Graphics2D, Shape, int, Color, int) - Static method in class wiiuu.ui.MenuPainter
-
Paint a soft shadow without changing the caller's graphics state.
- showing() - Method in class wiiuu.engine.GameScreen
-
Whether a game picture is there (a game is playing).
- starting(String) - Method in class wiiuu.engine.GameScreen
-
Enter the game view before its first frame, so a slow native core cannot leave the menu visible.
- Style(String, String, Color, boolean, BiFunction) - Constructor for record class wiiuu.ui.AnimatedMascot.Style
-
Creates an instance of a
Stylerecord class. - SystemTheme - Class in wiiuu.engine
-
Asks the desktop whether it is in dark mode (macOS, Windows, GNOME/KDE and other freedesktops).
T
- talking() - Method in class wiiuu.ui.AnimatedMascot
- text - Variable in class wiiuu.ui.MilkTheme
- textArea(String, int, int) - Method in class wiiuu.ui.Ui
- textField(String, int) - Method in class wiiuu.ui.Ui
- theme() - Method in class wiiuu.ui.Ui
- ThemeScript - Class in wiiuu.ui
-
WII-UU's theme language: small text files (.wtheme) that recolour the menu.
- ThemeScript.Error - Exception Class in wiiuu.ui
-
A mistake in a theme, with where it is (1-based).
- ThemeScript.Result - Record Class in wiiuu.ui
-
A theme, worked out.
- toggle(String, boolean) - Method in class wiiuu.ui.Ui
-
Selected and unselected states use the same rounded painter as buttons.
- toString() - Method in record class wiiuu.ui.AnimatedMascot.Style
-
Returns a string representation of this record class.
- toString() - Method in exception class wiiuu.ui.ThemeScript.Error
- toString() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns a string representation of this record class.
U
- Ui - Class in wiiuu.ui
-
Small Swing app toolkit.
- Ui() - Constructor for class wiiuu.ui.Ui
- Ui(UiTheme) - Constructor for class wiiuu.ui.Ui
- UiButton - Class in wiiuu.ui
-
Rounded Swing button with native action, mnemonic, focus and default-button semantics.
- UiButton(String) - Constructor for class wiiuu.ui.UiButton
- UiButton(String, UiTheme, boolean) - Constructor for class wiiuu.ui.UiButton
- UiFonts - Class in wiiuu.ui
-
Desktop font discovery and an app-owned cache using WII-UU's half-point size buckets.
- UiFonts(String) - Constructor for class wiiuu.ui.UiFonts
-
Create an independent cache; unknown families use Java's normal font fallback.
- UiText - Class in wiiuu.ui
-
Width-aware text layout extracted from the WII-UU and Choccy Milk menus.
- UiTheme - Class in wiiuu.ui
-
An immutable palette and font policy for the built-in Swing controls.
- UiTheme(Map, String, boolean) - Constructor for class wiiuu.ui.UiTheme
-
Create a theme from a complete MenuPalette/ThemeScript palette and a font family.
- UP - Enum constant in enum class wiiuu.input.PadButton
- update(float[], int) - Method in class wiiuu.ui.AudioVisualizer
-
Updates the bars from
mono, the last 2048 samples before exclusive end, zero-padded when fewer are available. - updateUI() - Method in class wiiuu.ui.UiButton
-
Preserve the library painter across Swing look-and-feel updates.
V
- valueOf(String) - Static method in enum class wiiuu.input.PadButton
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class wiiuu.ui.MenuPainter.Icon
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class wiiuu.input.PadButton
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class wiiuu.ui.MenuPainter.Icon
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warnings() - Method in record class wiiuu.ui.ThemeScript.Result
-
Returns the value of the
warningsrecord component. - wave() - Method in class wiiuu.ui.AudioVisualizer
-
A snapshot of the waveform just supplied, normalized to about -1..1.
- wave(float, float, float, float, float, double) - Static method in class wiiuu.ui.MilkTheme
-
A gentle wave from (x, y) across w.
- wiiuu.engine - package wiiuu.engine
- wiiuu.input - package wiiuu.input
- wiiuu.ui - package wiiuu.ui
- wrap(String, FontMetrics, float, int) - Static method in class wiiuu.ui.UiText
-
Wrap words into at most maxLines lines; ellipsize long words and the remaining final line.
X
Y
Z
- ZL - Enum constant in enum class wiiuu.input.PadButton
- ZR - Enum constant in enum class wiiuu.input.PadButton
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form