Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- activated() - Method in interface megalodonte.application.messaging.NativeWorker.Application
- activeGeneration() - Method in class megalodonte.application.messaging.NativeWindowHost
- activeWorkerPid() - Method in class megalodonte.application.messaging.NativeWindowHost
- ALT - Enum constant in enum class megalodonte.base.v2.KeyBind.Modifier
- Animations - Class in megalodonte.base
-
Pre-built animation utilities for components.
- Animations() - Constructor for class megalodonte.base.Animations
- appIcon(String) - Static method in class megalodonte.application.MegalodonteApp
-
Classpath resource path (e.g.
- appIconResourcePath - Static variable in class megalodonte.application.Bootstrap
-
Classpath resource path for the app icon, or null if not set.
- apply(Node) - Method in class megalodonte.base.components.Props
-
Binds this property set to the node and subscribes to theme changes.
- apply(Node) - Method in interface megalodonte.base.components.PropsInterface
-
Applies this property set to the given node.
- applyAppIcon(Stage) - Static method in class megalodonte.application.Bootstrap
-
Applies the icon configured through
MegalodonteApp.appIcon(String)to a stage. - applyRouteWindowMode(Stage, boolean) - Static method in class megalodonte.application.reload.LiveReload
-
Apply route-owned window mode and remember mandatory full-screen across dev restarts.
- applyStageIcon(Stage, String) - Static method in class megalodonte.application.Bootstrap
-
Applies a route icon when one is provided, otherwise falls back to the application icon.
- applyTheme(Node, Props, ThemeInterface) - Method in class megalodonte.base.components.Props
- appName - Static variable in class megalodonte.application.Bootstrap
-
Application display name, or null if not set.
- appName(String) - Static method in class megalodonte.application.MegalodonteApp
-
Sets the application display name.
- Async - Class in megalodonte.base.async
-
Utility for running tasks on virtual threads.
- attach(ScreenContextInterface) - Method in class megalodonte.base.v2.KeyBind
-
Attaches the key bindings to a screen context's key event filter.
B
- backendContract() - Method in class megalodonte.application.Context
- bind(Node, ReadableState, Consumer) - Method in class megalodonte.base.components.Props
-
Subscribes a state to a handler.
- bind(Context) - Method in interface megalodonte.base.route.RouterBase
-
Binds this router to the application context, enabling navigation.
- bindStates(Node) - Method in class megalodonte.base.components.Props
-
Override to perform initial state bindings.
- Bootstrap - Class in megalodonte.application
-
Internal bootstrap that wires the JavaFX lifecycle to the Megalodonte framework.
- Bootstrap() - Constructor for class megalodonte.application.Bootstrap
- bounce(Component) - Static method in class megalodonte.base.Animations
-
Vertical bounce — rises and falls with easing.
- bounce(Component, Duration) - Static method in class megalodonte.base.Animations
- button(String, String) - Static method in class megalodonte.application.messaging.NativeUi
- BUTTON - Enum constant in enum class megalodonte.application.messaging.NativeUi.Kind
C
- cancel() - Method in class megalodonte.base.async.Scope
-
Cancels the scope:
Scope.isCancelled()starts returningtrueand all callbacks registered viaScope.onCancel(Runnable)run now, on the same thread (synchronous, just likeonDestroy()— cancelling is cheap, the actual cleanup work is each callback's responsibility). - children() - Method in record class megalodonte.application.messaging.NativeUi.Element
-
Returns the value of the
childrenrecord component. - close() - Method in class megalodonte.application.messaging.NativeWindowHost
- closeAllSpawned() - Method in class megalodonte.base.route.ScreenManager
-
Destroys every spawned window's screen and closes its stage.
- CloseRequest - Enum constant in enum class megalodonte.application.MegalodonteApp.Event
-
Fired when the user requests closing the application window.
- column(String, NativeUi.Element...) - Static method in class megalodonte.application.messaging.NativeUi
- COLUMN - Enum constant in enum class megalodonte.application.messaging.NativeUi.Kind
- component() - Method in record class megalodonte.application.messaging.NativeUi.Event
-
Returns the value of the
componentrecord component. - Component - Class in megalodonte.base.components
-
Base class for all UI components.
- Component(Node) - Constructor for class megalodonte.base.components.Component
-
Creates a component wrapping the given node.
- Component(Node, PropsInterface) - Constructor for class megalodonte.base.components.Component
-
Creates a component wrapping the given node and applies the given props.
- Component.Transition - Interface in megalodonte.base.components
-
Functional interface for screen enter/exit transition animations.
- ComponentInterface<T> - Interface in megalodonte.base.components
-
Contract for components that wrap a JavaFX
Node. - Context - Class in megalodonte.application
-
Application context available to the startup handler.
- Context.RouterBuilder - Class in megalodonte.application
- contract() - Static method in class megalodonte.platform.javafx.JavaFxPlatform
- create(ScreenContextInterface) - Method in interface megalodonte.base.route.ScreenFactory
- CreateFromJavaFxNode(Node) - Static method in class megalodonte.base.components.Component
-
Factory method to create a wrapper
Componentaround an existing JavaFX Node. - CTRL - Enum constant in enum class megalodonte.base.v2.KeyBind.Modifier
- current() - Method in class megalodonte.base.components.Ref
D
- DEFAULT_FONTS_DIRECTORY - Static variable in class megalodonte.platform.javafx.JavaFxFontLoader
-
Conventional classpath resource directory client apps should place their fonts under.
- destroy(Stage) - Method in class megalodonte.base.route.ScreenManager
-
Removes a spawned window from tracking and destroys its active screen.
- dispatch(Class, Stage, String[]) - Static method in class megalodonte.application.Bootstrap
-
Main bootstrap entry point.
- dispatch(Stage) - Static method in class megalodonte.application.Bootstrap
- dispatch(Stage, String[]) - Static method in class megalodonte.application.Bootstrap
- dispatchEvent(MegalodonteApp.Event) - Static method in class megalodonte.application.Bootstrap
-
Dispatches a framework event to the registered event handler.
E
- Element(String, NativeUi.Kind, String, List) - Constructor for record class megalodonte.application.messaging.NativeUi.Element
-
Creates an instance of a
Elementrecord class. - entrypoint() - Method in interface megalodonte.base.route.RouterBase
-
Returns the entrypoint route result for the default route.
- entrypoint() - Method in class megalodonte.base.route.RouteTable
- equals(Object) - Method in record class megalodonte.application.messaging.NativeUi.Element
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class megalodonte.application.messaging.NativeUi.Event
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class megalodonte.application.messaging.NativeUi.Snapshot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class megalodonte.application.messaging.NativeUi.State
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class megalodonte.application.messaging.NativeUi.Window
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class megalodonte.base.route.Route
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class megalodonte.base.route.RouteProps
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class megalodonte.base.route.RouteResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class megalodonte.base.route.RouteTable.ResolvedRoute
-
Indicates whether some other object is "equal to" this one.
- ErrorReporter - Class in megalodonte.application
-
Central error handler for the framework.
- ErrorReporter.Handler - Interface in megalodonte.application
-
Functional interface for error handling callbacks.
- Event(String, String, String, String) - Constructor for record class megalodonte.application.messaging.NativeUi.Event
-
Creates an instance of a
Eventrecord class. - eventHandler - Static variable in class megalodonte.application.Bootstrap
-
Framework event handler (e.g.
F
- factory() - Method in record class megalodonte.base.route.Route
-
Returns the value of the
factoryrecord component. - fade(Component, boolean) - Static method in class megalodonte.base.Animations
-
Pure fade without displacement.
- fade(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- fadeScale(Component, boolean) - Static method in class megalodonte.base.Animations
-
Smooth scale up/down from center, combined with fade.
- fadeScale(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- fadeScale(Component, boolean, Duration, Duration) - Static method in class megalodonte.base.Animations
- fadeSlide(Component, boolean) - Static method in class megalodonte.base.Animations
- fadeSlide(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- fadeSlideDown(Component, boolean) - Static method in class megalodonte.base.Animations
-
Slides from/to above — useful for dropdowns, menus, notifications.
- fadeSlideDown(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- fadeSlideUp(Component, boolean) - Static method in class megalodonte.base.Animations
-
Slides from/to below — useful for toasts/popups rising from the bottom of the screen.
- fadeSlideUp(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- flash(Component) - Static method in class megalodonte.base.Animations
-
Opacity flash — quick blink.
- flash(Component, Duration) - Static method in class megalodonte.base.Animations
- fromJavaFxNode(Node) - Method in class megalodonte.base.components.Component
- fromJavaFxNode(Node) - Method in interface megalodonte.base.components.ComponentInterface
-
Creates a new component wrapping the given node.
- fullScreen() - Method in record class megalodonte.base.route.RouteProps
-
Returns the value of the
fullScreenrecord component.
G
- get() - Method in interface megalodonte.utils.ThrowingSupplier
- getArgs() - Method in class megalodonte.application.Context
-
Returns the command-line arguments passed to the application.
- getArgs() - Static method in class megalodonte.application.MegalodonteApp
-
Returns the command-line arguments passed to the application.
- getCurrentContext() - Static method in class megalodonte.application.MegalodonteApp
-
Returns the application context, available after
MegalodonteApp.run(Consumer, Consumer)has been called. - getJavaFxNode() - Method in class megalodonte.base.components.Component
- getJavaFxNode() - Method in interface megalodonte.base.components.ComponentInterface
-
Returns the underlying JavaFX node.
- getJavaFxNode() - Method in class megalodonte.base.components.IconInterface
-
Returns the underlying JavaFX node for this icon.
- getJavaFXScene() - Method in class megalodonte.base.route.v2.ScreenContextBase
- getJavaFXScene() - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Get current JavaFX scene of this screen
- getParams() - Method in class megalodonte.base.route.v2.ScreenContextBase
- getParams() - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Route parameters for the current navigation, resolved from dynamic segments (
${param}) — e.g.
H
- handle(Throwable) - Static method in class megalodonte.application.ErrorReporter
-
Reports an error by logging it to file and delegating to the registered handler.
- handler - Static variable in class megalodonte.application.Bootstrap
-
Application startup handler, called once with the
Context. - hashCode() - Method in record class megalodonte.application.messaging.NativeUi.Element
-
Returns a hash code value for this object.
- hashCode() - Method in record class megalodonte.application.messaging.NativeUi.Event
-
Returns a hash code value for this object.
- hashCode() - Method in record class megalodonte.application.messaging.NativeUi.Snapshot
-
Returns a hash code value for this object.
- hashCode() - Method in record class megalodonte.application.messaging.NativeUi.State
-
Returns a hash code value for this object.
- hashCode() - Method in record class megalodonte.application.messaging.NativeUi.Window
-
Returns a hash code value for this object.
- hashCode() - Method in record class megalodonte.base.route.Route
-
Returns a hash code value for this object.
- hashCode() - Method in record class megalodonte.base.route.RouteProps
-
Returns a hash code value for this object.
- hashCode() - Method in record class megalodonte.base.route.RouteResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class megalodonte.base.route.RouteTable.ResolvedRoute
-
Returns a hash code value for this object.
- height - Variable in class megalodonte.application.Context
- height() - Method in record class megalodonte.application.messaging.NativeUi.Window
-
Returns the value of the
heightrecord component.
I
- IconInterface - Class in megalodonte.base.components
-
Base class for icon components.
- IconInterface() - Constructor for class megalodonte.base.components.IconInterface
- iconPath() - Method in record class megalodonte.base.route.RouteProps
-
Returns the value of the
iconPathrecord component. - id() - Method in record class megalodonte.application.messaging.NativeUi.Element
-
Returns the value of the
idrecord component. - id() - Method in record class megalodonte.application.messaging.NativeUi.Window
-
Returns the value of the
idrecord component. - identification() - Method in record class megalodonte.base.route.Route
-
Returns the value of the
identificationrecord component. - initialize() - Static method in class megalodonte.platform.javafx.JavaFxPlatform
- input(String, String) - Static method in class megalodonte.application.messaging.NativeUi
- input(String, String, String) - Method in record class megalodonte.application.messaging.NativeUi.State
- INPUT - Enum constant in enum class megalodonte.application.messaging.NativeUi.Kind
- inputs() - Method in record class megalodonte.application.messaging.NativeUi.State
-
Returns the value of the
inputsrecord component. - isActive() - Static method in class megalodonte.application.reload.ReloadAgent
-
True only when launched with this agent; normal applications do not watch files.
- isCancelled() - Method in class megalodonte.base.async.Scope
- isFullScreen() - Method in class megalodonte.base.route.v2.ScreenContextBase
- isFullScreen() - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Returns whether this screen's window is currently in full-screen mode.
J
- JavaFxFontLoader - Class in megalodonte.platform.javafx
-
Auto-discovers and registers font files with JavaFX, so their family names become usable as
-fx-font-family(andThemeTypography.fontFamily()) without the application having to load each file by hand. - JavaFXHost - Class in megalodonte.application
-
Default shared launcher, used by the
MegalodonteApp.run(Consumer, Consumer)overloads that don't take aClass<? extends Application>. - JavaFXHost() - Constructor for class megalodonte.application.JavaFXHost
- JavaFxPlatform - Class in megalodonte.platform.javafx
- javafxStage() - Method in class megalodonte.application.Context
-
Returns the primary JavaFX stage managed by this context.
K
- KeyBind - Class in megalodonte.base.v2
-
Keyboard shortcut binding utility.
- KeyBind() - Constructor for class megalodonte.base.v2.KeyBind
- KeyBind.Modifier - Enum Class in megalodonte.base.v2
-
Available keyboard modifiers.
- kind() - Method in record class megalodonte.application.messaging.NativeUi.Element
-
Returns the value of the
kindrecord component.
L
- LiveReload - Class in megalodonte.application.reload
-
Development-only screen refresh.
- loadAll() - Static method in class megalodonte.platform.javafx.JavaFxFontLoader
-
Scans
JavaFxFontLoader.DEFAULT_FONTS_DIRECTORY(on every classpath root — app jar, dependency jars, exploded classes dir when running from an IDE) and registers every font file found withFont.loadFont(InputStream, double). - loadAll(String) - Static method in class megalodonte.platform.javafx.JavaFxFontLoader
-
Same as
JavaFxFontLoader.loadAll(), but scanning a custom resource directory instead of the conventionalJavaFxFontLoader.DEFAULT_FONTS_DIRECTORY.
M
- mainStage() - Method in interface megalodonte.base.route.RouterBase
- markPrimary(Stage) - Static method in class megalodonte.application.reload.LiveReload
-
Give the application stage a stable identity before the startup handler creates its view.
- megalodonte.application - package megalodonte.application
- megalodonte.application.messaging - package megalodonte.application.messaging
- megalodonte.application.reload - package megalodonte.application.reload
- megalodonte.base - package megalodonte.base
- megalodonte.base.async - package megalodonte.base.async
- megalodonte.base.components - package megalodonte.base.components
- megalodonte.base.desktop - module megalodonte.base.desktop
- megalodonte.base.route - package megalodonte.base.route
- megalodonte.base.route.v2 - package megalodonte.base.route.v2
- megalodonte.base.v2 - package megalodonte.base.v2
- megalodonte.platform.javafx - package megalodonte.platform.javafx
- megalodonte.utils - package megalodonte.utils
- MegalodonteApp - Class in megalodonte.application
-
Main entry point for Megalodonte applications.
- MegalodonteApp() - Constructor for class megalodonte.application.MegalodonteApp
- MegalodonteApp.Event - Enum Class in megalodonte.application
-
Framework-level events dispatched to the application.
- MegalodonteApplication - Class in megalodonte.application
-
Base class for an app's own JavaFX entry point.
- MegalodonteApplication() - Constructor for class megalodonte.application.MegalodonteApplication
- mount(Stage, Route, Map, RouterBase) - Method in class megalodonte.base.route.ScreenManager
-
Mounts a screen on the given stage, destroying any previously active screen on that stage.
N
- name() - Method in record class megalodonte.base.route.RouteProps
-
Returns the value of the
namerecord component. - NativeHostLauncher - Class in megalodonte.application.messaging
-
Experimental standalone host.
- NativeHostSupervisor - Class in megalodonte.application.messaging
-
CLI control channel for the experimental native host; stdout is JSON protocol.
- NativeUi - Class in megalodonte.application.messaging
-
Experimental Java-authored native UI messages.
- NativeUi.Element - Record Class in megalodonte.application.messaging
- NativeUi.Event - Record Class in megalodonte.application.messaging
- NativeUi.Kind - Enum Class in megalodonte.application.messaging
- NativeUi.Snapshot - Record Class in megalodonte.application.messaging
- NativeUi.State - Record Class in megalodonte.application.messaging
- NativeUi.Window - Record Class in megalodonte.application.messaging
- NativeWindowHost - Class in megalodonte.application.messaging
-
Experimental permanent JavaFX host.
- NativeWindowHost(Consumer) - Constructor for class megalodonte.application.messaging.NativeWindowHost
- NativeWindowHost(Consumer, Duration) - Constructor for class megalodonte.application.messaging.NativeWindowHost
- NativeWorker - Class in megalodonte.application.messaging
-
Worker-side entry point.
- NativeWorker.Application - Interface in megalodonte.application.messaging
- navigate(String) - Method in class megalodonte.base.route.v2.ScreenContextBase
- navigate(String) - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Navigates to the given route path within this screen's stage.
- navigateAndCloseOthers(String) - Method in interface megalodonte.base.route.RouterBase
- navigateAndCloseOthers(String) - Method in class megalodonte.base.route.v2.ScreenContextBase
- navigateAndCloseOthers(String) - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Fecha todas as janelas spawned (inclusive a atual, se for uma spawned) e navega a stage principal para o path informado.
- navigateOnStage(String, Stage) - Method in interface megalodonte.base.route.RouterBase
- node - Variable in class megalodonte.base.components.Component
-
The underlying JavaFX node.
O
- of(Node) - Static method in class megalodonte.base.components.IconInterface
-
Creates an
IconInterfacewrapping the given JavaFX node. - on(KeyCode, Runnable, KeyBind.Modifier...) - Method in class megalodonte.base.v2.KeyBind
-
Registers a key combination with an action.
- onCancel(Runnable) - Method in class megalodonte.base.async.Scope
-
Registers
cleanupto run when the scope is cancelled. - onDestroy() - Method in interface megalodonte.base.components.ScreenComponent
-
Called when the screen is destroyed (navigated away from).
- onError(Throwable) - Method in interface megalodonte.application.ErrorReporter.Handler
- onEvent(NativeUi.Event) - Method in interface megalodonte.application.messaging.NativeWorker.Application
- onMount() - Method in interface megalodonte.base.components.ScreenComponent
-
Called once after the stage is visible and the scene is attached.
P
- params() - Method in record class megalodonte.base.route.RouteTable.ResolvedRoute
-
Returns the value of the
paramsrecord component. - play(Component, boolean) - Method in interface megalodonte.base.components.Component.Transition
-
Creates the transition animation.
- pop(Component, boolean) - Static method in class megalodonte.base.Animations
-
Emphatic "pop" — overshoots slightly before settling.
- pop(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- premain(String, Instrumentation) - Static method in class megalodonte.application.reload.ReloadAgent
-
JVM agent entry point.
- prepare(NativeUi.State) - Method in interface megalodonte.application.messaging.NativeWorker.Application
-
Prepare without business side effects: the candidate is not active yet.
- props - Variable in class megalodonte.base.components.Component
-
Optional properties applied to this component.
- props() - Method in record class megalodonte.base.route.Route
-
Returns the value of the
propsrecord component. - props() - Method in record class megalodonte.base.route.RouteResult
-
Returns the value of the
propsrecord component. - Props - Class in megalodonte.base.components
-
Abstract base for reactive, theme-aware component properties.
- Props() - Constructor for class megalodonte.base.components.Props
- PropsInterface - Interface in megalodonte.base.components
-
Contract for component property sets.
- pulse(Component) - Static method in class megalodonte.base.Animations
-
Scale pulse (heartbeat) — grows and returns.
- pulse(Component, int) - Static method in class megalodonte.base.Animations
- pulse(Component, int, Duration) - Static method in class megalodonte.base.Animations
- pulse(Component, int, Duration, Duration) - Static method in class megalodonte.base.Animations
- pulse(Component, Duration) - Static method in class megalodonte.base.Animations
R
- readyForReplacement() - Method in class megalodonte.application.messaging.NativeWindowHost
- Redirect - Class in megalodonte.base
-
Opens a URL in the system's default browser.
- Redirect() - Constructor for class megalodonte.base.Redirect
- ref(Ref) - Method in class megalodonte.base.components.IconInterface
-
Binds this icon to a
Ref, making it accessible from the parent scope. - ref(Ref) - Method in class megalodonte.base.components.Component
-
Binds this component to a
Ref, making it accessible from the parent scope. - ref(RefContract) - Method in class megalodonte.base.components.Component
- Ref<T> - Class in megalodonte.base.components
-
A mutable reference holder for components.
- Ref() - Constructor for class megalodonte.base.components.Ref
- Ref(T) - Constructor for class megalodonte.base.components.Ref
- register(ErrorReporter.Handler) - Static method in class megalodonte.application.ErrorReporter
-
Registers the application-specific error handler.
- registerSpawned(Stage) - Method in class megalodonte.base.route.ScreenManager
-
Registers a window spawned via
ScreenContextBase.spawnWindow(String). - ReloadAgent - Class in megalodonte.application.reload
-
Opt-in premain agent used by `megalodonte dev`.
- render() - Method in interface megalodonte.application.View
-
Deprecated.
- render() - Method in interface megalodonte.base.components.ScreenComponent
-
Renders the screen's component tree.
- render(ScreenComponent) - Static method in class megalodonte.application.reload.LiveReload
-
Render with subscription ownership only in a development-agent session.
- replaceWorker(List) - Method in class megalodonte.application.messaging.NativeWindowHost
-
Retains window identities.
- replaceWorker(List, Path, Map) - Method in class megalodonte.application.messaging.NativeWindowHost
- resolve(String) - Method in class megalodonte.base.route.RouteTable
-
Resolves the given path against the registered routes, extracting dynamic segment parameters (
${name}). - resolve(String) - Method in class megalodonte.base.route.ScreenManager
- ResolvedRoute(Route, Map) - Constructor for record class megalodonte.base.route.RouteTable.ResolvedRoute
-
Creates an instance of a
ResolvedRouterecord class. - restoreBeforeShow(Stage) - Static method in class megalodonte.application.reload.LiveReload
-
Restore saved bounds and native mode after application code has configured the stage.
- restoreFocusAfterShow(Stage) - Static method in class megalodonte.application.reload.LiveReload
-
Preserve foreground/background intent after JavaFX maps the recreated native window.
- riseIn(Component, boolean) - Static method in class megalodonte.base.Animations
-
Gentle entrance for card grids: fade + slight rise + slight scale, with EASE_OUT easing and longer duration (450ms by default) — designed to not feel like a harsh "pop".
- riseIn(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- riseIn(Component, boolean, Duration, Duration) - Static method in class megalodonte.base.Animations
- root() - Method in record class megalodonte.application.messaging.NativeUi.Window
-
Returns the value of the
rootrecord component. - rotate(Node, double, double, Duration) - Static method in class megalodonte.base.Animations
- rotate(Component, double, double, Duration) - Static method in class megalodonte.base.Animations
-
Free rotation between two angles.
- rotate360(Node) - Static method in class megalodonte.base.Animations
- rotate360(Component) - Static method in class megalodonte.base.Animations
-
Full 360-degree spin.
- route() - Method in record class megalodonte.base.route.RouteTable.ResolvedRoute
-
Returns the value of the
routerecord component. - Route - Record Class in megalodonte.base.route
- Route(String, ScreenFactory, RouteProps) - Constructor for record class megalodonte.base.route.Route
-
Creates an instance of a
Routerecord class. - RouteNotFoundException - Exception Class in megalodonte.base.route
-
Exception thrown when a route cannot be resolved by the Router.
- RouteNotFoundException(String) - Constructor for exception class megalodonte.base.route.RouteNotFoundException
-
Creates a new exception for a missing route.
- RouteProps - Record Class in megalodonte.base.route
-
Immutable properties for a route.
- RouteProps(int, int, String, boolean) - Constructor for record class megalodonte.base.route.RouteProps
- RouteProps(int, int, String, boolean, boolean) - Constructor for record class megalodonte.base.route.RouteProps
- RouteProps(int, int, String, boolean, String) - Constructor for record class megalodonte.base.route.RouteProps
- RouteProps(int, int, String, boolean, String, boolean) - Constructor for record class megalodonte.base.route.RouteProps
-
Creates an instance of a
RoutePropsrecord class. - router() - Method in class megalodonte.base.route.v2.ScreenContextBase
- RouterBase - Interface in megalodonte.base.route
-
Contract for routers that resolve routes and produce screen views.
- RouteResolutionException - Exception Class in megalodonte.base.route
- RouteResolutionException(String, Throwable) - Constructor for exception class megalodonte.base.route.RouteResolutionException
- RouteResult - Record Class in megalodonte.base.route
-
Result of resolving a route.
- RouteResult(ComponentInterface, RouteProps) - Constructor for record class megalodonte.base.route.RouteResult
-
Creates an instance of a
RouteResultrecord class. - routes() - Method in class megalodonte.base.route.RouteTable
- RouteTable - Class in megalodonte.base.route
-
Stores the route definitions and the entrypoint.
- RouteTable(Set, String) - Constructor for class megalodonte.base.route.RouteTable
- RouteTable.ResolvedRoute - Record Class in megalodonte.base.route
- row(String, NativeUi.Element...) - Static method in class megalodonte.application.messaging.NativeUi
- ROW - Enum constant in enum class megalodonte.application.messaging.NativeUi.Kind
- run() - Method in interface megalodonte.base.async.RunnableThrowing
- run(Class, String[], Consumer) - Static method in class megalodonte.application.MegalodonteApp
- run(Class, String[], Consumer, Consumer) - Static method in class megalodonte.application.MegalodonteApp
-
Same as
MegalodonteApp.run(String[], Consumer, Consumer), but launching throughappClassinstead of the shared defaultJavaFXHost. - run(Class, Consumer) - Static method in class megalodonte.application.MegalodonteApp
- run(Class, Consumer, Consumer) - Static method in class megalodonte.application.MegalodonteApp
- run(String[], Consumer) - Static method in class megalodonte.application.MegalodonteApp
-
Launches the application with command-line arguments.
- run(String[], Consumer, Consumer) - Static method in class megalodonte.application.MegalodonteApp
-
Launches the application with command-line arguments.
- run(Consumer) - Static method in class megalodonte.application.MegalodonteApp
-
Launches the application using the default
JavaFXHostlauncher. - run(Consumer, Consumer) - Static method in class megalodonte.application.MegalodonteApp
-
Launches the application using the default
JavaFXHostlauncher. - run(NativeWorker.Application) - Static method in class megalodonte.application.messaging.NativeWorker
- run(NativeWorker.Application, InputStream, OutputStream) - Static method in class megalodonte.application.messaging.NativeWorker
- run(RunnableThrowing) - Method in class megalodonte.base.async.Scope
-
Runs
taskon a virtual thread, but only if the scope hasn't been cancelled at the moment the task begins executing. - Run(RunnableThrowing) - Static method in class megalodonte.base.async.Async
-
Submits a task to run on a virtual thread.
- RunnableThrowing - Interface in megalodonte.base.async
-
A
Runnablevariant that allows checked exceptions. - runOnUi(Runnable) - Static method in class megalodonte.base.UI
-
Executes
taskon the JavaFX Application Thread.
S
- scope() - Method in class megalodonte.base.route.v2.ScreenContextBase
- scope() - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Escopo de cancelamento vinculado a esta navegação: cancelado automaticamente pelo
RouterBaseassim que a tela associada é destruída (antes deonDestroy()rodar). - Scope - Class in megalodonte.base.async
-
Cancellation binding between async work (
Async.Run(RunnableThrowing)) and the lifecycle of whoever initiated it (a screen, a ViewModel). - Scope() - Constructor for class megalodonte.base.async.Scope
- ScreenComponent - Interface in megalodonte.base.components
-
Interface for screen-level components managed by the router.
- ScreenContextBase - Class in megalodonte.base.route.v2
-
Screen-level context owned by megalodonte-base.
- ScreenContextBase(Stage, RouterBase, ScreenManager) - Constructor for class megalodonte.base.route.v2.ScreenContextBase
- ScreenContextInterface - Interface in megalodonte.base.route
-
Marker interface for screen-level context objects provided by the router.
- ScreenContextInterface - Interface in megalodonte.base.route.v2
-
Screen-level context provided to each screen.
- ScreenFactory - Interface in megalodonte.base.route
- screenHeight() - Method in record class megalodonte.base.route.RouteProps
-
Returns the value of the
screenHeightrecord component. - screenIsExpandable() - Method in record class megalodonte.base.route.RouteProps
-
Returns the value of the
screenIsExpandablerecord component. - ScreenManager - Class in megalodonte.base.route
-
Screen lifecycle manager owned by megalodonte-base.
- ScreenManager(RouteTable) - Constructor for class megalodonte.base.route.ScreenManager
- screenWidth() - Method in record class megalodonte.base.route.RouteProps
-
Returns the value of the
screenWidthrecord component. - selfStage() - Method in class megalodonte.base.route.v2.ScreenContextBase
- selfStage() - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
The JavaFX
Stagethis screen is currently attached to. - setCurrent(T) - Method in class megalodonte.base.components.Ref
- setFullScreen(boolean) - Method in class megalodonte.base.route.v2.ScreenContextBase
- setFullScreen(boolean) - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Changes this screen's window full-screen mode without exposing JavaFX stage manipulation to application code.
- setParams(Map) - Method in class megalodonte.base.route.v2.ScreenContextBase
- shake(Component) - Static method in class megalodonte.base.Animations
-
Horizontal shake — useful for validation errors, wrong passwords, alerts.
- shake(Component, Duration) - Static method in class megalodonte.base.Animations
- SHIFT - Enum constant in enum class megalodonte.base.v2.KeyBind.Modifier
- slideHorizontal(Component, boolean) - Static method in class megalodonte.base.Animations
-
Longer horizontal slide without fade — useful for carousel/wizard screen transitions.
- slideHorizontal(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- slideInLeft(Component, boolean) - Static method in class megalodonte.base.Animations
-
Slide in from the left — useful for side menus, drawers.
- slideInLeft(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- slideInRight(Component, boolean) - Static method in class megalodonte.base.Animations
-
Slide in from the right — useful for detail panels, sidebar.
- slideInRight(Component, boolean, Duration) - Static method in class megalodonte.base.Animations
- Snapshot(List) - Constructor for record class megalodonte.application.messaging.NativeUi.Snapshot
-
Creates an instance of a
Snapshotrecord class. - spawnWindow(String) - Method in class megalodonte.base.route.v2.ScreenContextBase
- spawnWindow(String) - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Spawns a new window for the given route.
- spawnWindow(String, Consumer) - Method in class megalodonte.base.route.v2.ScreenContextBase
- spawnWindow(String, Consumer) - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Spawns a new window for the given route.
- start() - Method in class megalodonte.application.Context.RouterBuilder
- start(Stage) - Method in class megalodonte.application.MegalodonteApplication
- State(Map) - Constructor for record class megalodonte.application.messaging.NativeUi.State
-
Creates an instance of a
Staterecord class.
T
- text() - Method in record class megalodonte.application.messaging.NativeUi.Element
-
Returns the value of the
textrecord component. - text(String, String) - Static method in class megalodonte.application.messaging.NativeUi
- TEXT - Enum constant in enum class megalodonte.application.messaging.NativeUi.Kind
- ThrowingSupplier<T> - Interface in megalodonte.utils
-
A
Suppliervariant that allows checked exceptions. - title() - Method in record class megalodonte.application.messaging.NativeUi.Window
-
Returns the value of the
titlerecord component. - to(String) - Static method in class megalodonte.base.Redirect
-
Opens the given URL in the default browser.
- to(String, Consumer) - Static method in class megalodonte.base.Redirect
-
Opens the given URL in the default browser, notifying the callback on failure.
- toggleFullScreen() - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Toggles this screen's window between full-screen and windowed modes.
- toString() - Method in record class megalodonte.application.messaging.NativeUi.Element
-
Returns a string representation of this record class.
- toString() - Method in record class megalodonte.application.messaging.NativeUi.Event
-
Returns a string representation of this record class.
- toString() - Method in record class megalodonte.application.messaging.NativeUi.Snapshot
-
Returns a string representation of this record class.
- toString() - Method in record class megalodonte.application.messaging.NativeUi.State
-
Returns a string representation of this record class.
- toString() - Method in record class megalodonte.application.messaging.NativeUi.Window
-
Returns a string representation of this record class.
- toString() - Method in record class megalodonte.base.route.Route
-
Returns a string representation of this record class.
- toString() - Method in record class megalodonte.base.route.RouteProps
-
Returns a string representation of this record class.
- toString() - Method in record class megalodonte.base.route.RouteResult
-
Returns a string representation of this record class.
- toString() - Method in record class megalodonte.base.route.RouteTable.ResolvedRoute
-
Returns a string representation of this record class.
- track(Stage, ScreenComponent, Parent) - Static method in class megalodonte.application.reload.LiveReload
-
Track only framework-managed, currently rendered screens, on the FX thread.
- type() - Method in record class megalodonte.application.messaging.NativeUi.Event
-
Returns the value of the
typerecord component.
U
- UI - Class in megalodonte.base
-
Helper for running code on the JavaFX Application Thread.
- UI() - Constructor for class megalodonte.base.UI
- untrack(Stage) - Static method in class megalodonte.application.reload.LiveReload
-
Drop a route that is being destroyed or replaced by an unmanaged view.
- updateView(ScreenComponent) - Method in class megalodonte.application.Context
-
Re-renders
componentin place — swaps the currentScene's root node, keeping the Stage's existing Scene, size and position untouched. - useRouter(RouterBase) - Method in class megalodonte.application.Context
-
Binds a router to this context and returns a
Context.RouterBuilderto start navigation. - useView(Class) - Method in class megalodonte.application.Context
-
Instantiates a
ScreenComponentby class and renders it as the current view. - useView(ComponentInterface) - Method in class megalodonte.application.Context
-
Deprecated, for removal: This API element is subject to removal in a future version.
- useView(ScreenComponent) - Method in class megalodonte.application.Context
-
Renders a
ScreenComponentas the current view. - useView(ScreenComponent, double, double) - Method in class megalodonte.application.Context
-
Creates the first scene at its intended size, avoiding native resize feedback at startup.
- useView(RouteResult) - Method in class megalodonte.application.Context
-
Renders a route result, applying its
RouteProps(dimensions, title, icon, resizability) to the stage.
V
- value() - Method in record class megalodonte.application.messaging.NativeUi.Event
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class megalodonte.application.MegalodonteApp.Event
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class megalodonte.application.messaging.NativeUi.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class megalodonte.base.v2.KeyBind.Modifier
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class megalodonte.application.MegalodonteApp.Event
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class megalodonte.application.messaging.NativeUi.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class megalodonte.base.v2.KeyBind.Modifier
-
Returns an array containing the constants of this enum class, in the order they are declared.
- view() - Method in record class megalodonte.base.route.RouteResult
-
Returns the value of the
viewrecord component. - View - Interface in megalodonte.application
-
Deprecated, for removal: This API element is subject to removal in a future version.
W
- whenReady(RunnableThrowing) - Method in class megalodonte.base.route.v2.ScreenContextBase
- whenReady(RunnableThrowing) - Method in interface megalodonte.base.route.v2.ScreenContextInterface
-
Executa o callback quando a Scene estiver pronta na Stage.
- width - Variable in class megalodonte.application.Context
- width() - Method in record class megalodonte.application.messaging.NativeUi.Window
-
Returns the value of the
widthrecord component. - window() - Method in record class megalodonte.application.messaging.NativeUi.Event
-
Returns the value of the
windowrecord component. - Window(String, String, double, double, NativeUi.Element) - Constructor for record class megalodonte.application.messaging.NativeUi.Window
-
Creates an instance of a
Windowrecord class. - windows() - Method in record class megalodonte.application.messaging.NativeUi.Snapshot
-
Returns the value of the
windowsrecord component. - windows() - Method in class megalodonte.application.messaging.NativeWindowHost
-
Read-only registry for host integrations; returned Stages remain host-owned.
- wobble(Component) - Static method in class megalodonte.base.Animations
-
Wobble — lateral oscillation with fade out.
- wobble(Component, Duration) - Static method in class megalodonte.base.Animations
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form