Index

A C D E F H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

animating - Variable in class org.nordstjernen.RemoteBrowser.Frame
The page is still animating / loading; keep rendering.

C

changed - Variable in class org.nordstjernen.RemoteBrowser.Hover
 
close() - Method in class org.nordstjernen.Page
 
close() - Method in class org.nordstjernen.RemoteBrowser
 
close() - Method in class org.nordstjernen.RemotePage
 
consoleDrain() - Method in class org.nordstjernen.RemoteBrowser
Drain any buffered console.* output the page produced, or null.
current - Variable in class org.nordstjernen.RemoteBrowser.Find
 
cursor - Variable in class org.nordstjernen.RemoteBrowser.Hover
 

D

DEFAULT_SETTLE_MS - Static variable in class org.nordstjernen.Nordstjernen
Default settle time (ms) for the one-shot convenience methods.
download - Variable in class org.nordstjernen.RemoteBrowser.Frame
A download the page initiated (URL), or null.

E

equals(Object) - Method in record class org.nordstjernen.Size
Indicates whether some other object is "equal to" this one.
eval(String) - Method in class org.nordstjernen.RemoteBrowser
Evaluate JavaScript in the page and return its result rendered as text.
export(String) - Method in class org.nordstjernen.RemoteBrowser
Render the whole page to path (a .pdf → PDF, else PNG); true on success.

F

favicon() - Method in class org.nordstjernen.RemoteBrowser
The current page's favicon as an image, or null if it has none.
find(String, boolean, int, int) - Method in class org.nordstjernen.RemoteBrowser
Find query in the page.

H

hashCode() - Method in record class org.nordstjernen.Size
Returns a hash code value for this object.
height() - Method in record class org.nordstjernen.Size
Returns the value of the height record component.
hover(int, int) - Method in class org.nordstjernen.RemoteBrowser
Probe the point under the pointer: moves the engine's hover state (firing :hover / mouseover), and reports the link there and the CSS cursor name so the shell can mirror the GTK status bar and pointer shape.
href - Variable in class org.nordstjernen.RemoteBrowser.Hover
 

I

image - Variable in class org.nordstjernen.RemoteBrowser.Frame
The rendered image, or null when RemoteBrowser.Frame.unchanged (reuse the prior one).
init() - Static method in class org.nordstjernen.Nordstjernen
Initialize the engine (idempotent).

K

key(int, String, String, int, int) - Method in class org.nordstjernen.RemoteBrowser
Forward a key event to the focused element.

L

linkAt(int, int) - Method in class org.nordstjernen.Page
The absolute URL of the link at page coordinates (x, y) in CSS pixels, or null if there is none.
linkAt(int, int) - Method in class org.nordstjernen.RemoteBrowser
The link URL at a document-coordinate point, or null.
links() - Method in class org.nordstjernen.Page
All <a href> links on the page as absolute URLs, de-duplicated and in document order.
linksOf(String, int) - Static method in class org.nordstjernen.Nordstjernen
Open url, collect its links, and close.

M

MAX_FULL_PAGE_PX - Static variable in class org.nordstjernen.Page
Largest full-page render dimension, in device pixels, to bound memory.
MAX_H - Static variable in class org.nordstjernen.RemoteBrowser
 
MAX_W - Static variable in class org.nordstjernen.RemoteBrowser
Maximum framebuffer the renderer is asked to allocate.
mediaAt(int, int) - Method in class org.nordstjernen.RemoteBrowser
The media element (audio/video URL) at a document-coordinate point, or null.

N

nav - Variable in class org.nordstjernen.RemoteBrowser.Frame
 
nav - Variable in class org.nordstjernen.RemoteBrowser.Key
Navigation URL the key triggered (e.g.
navigate(String, int, int, int) - Method in class org.nordstjernen.RemoteBrowser
Navigate to url; returns false if the page failed to open.
Nordstjernen - Class in org.nordstjernen
Entry point for embedding the Nordstjernen browser engine from Java.
NordstjernenException - Exception Class in org.nordstjernen
Thrown when the native engine reports a failure.
NordstjernenException(String) - Constructor for exception class org.nordstjernen.NordstjernenException
 
NordstjernenException(String, Throwable) - Constructor for exception class org.nordstjernen.NordstjernenException
 

O

open(String, int, int) - Static method in class org.nordstjernen.Nordstjernen
Fetch, parse, lay out and script url, returning a Page.
open(String, int, int, int) - Static method in class org.nordstjernen.RemotePage
Open url in a fresh renderer process at the given CSS viewport, letting scripts settle for settleMs before reading the result.
org.nordstjernen - package org.nordstjernen
 

P

Page - Class in org.nordstjernen
A laid-out page.
pageHeight() - Method in class org.nordstjernen.RemoteBrowser
 
pageSize() - Method in class org.nordstjernen.Page
Total laid-out page size in CSS pixels.
pageSize() - Method in class org.nordstjernen.RemotePage
The laid-out page size in CSS pixels.
pageWidth() - Method in class org.nordstjernen.RemoteBrowser
 
pendingNav() - Method in class org.nordstjernen.RemoteBrowser
A client-side redirect (meta refresh or JS location) that fired while the just-opened page settled, or null.
press(int, int, int) - Method in class org.nordstjernen.RemoteBrowser
Press at a document-coordinate point (then call RemoteBrowser.release()).
prevented - Variable in class org.nordstjernen.RemoteBrowser.Key
The page called preventDefault() — the shell should not apply its default.

R

release() - Method in class org.nordstjernen.RemoteBrowser
Release a pending press; returns a navigation URL if the click followed a link.
RemoteBrowser - Class in org.nordstjernen
A long-lived browser backed by a single nordstjernen-renderer process.
RemoteBrowser() - Constructor for class org.nordstjernen.RemoteBrowser
 
RemoteBrowser.Find - Class in org.nordstjernen
Result of a find-in-page query: match count, the current 1-based index, and where to scroll.
RemoteBrowser.Frame - Class in org.nordstjernen
Result of a render: the image plus any side-channel the page requested.
RemoteBrowser.Hover - Class in org.nordstjernen
A hover probe: whether the frame changed, the link under the point, and the CSS cursor.
RemoteBrowser.Key - Class in org.nordstjernen
Result of a key event: any navigation it triggered, and whether the page consumed it.
RemoteBrowser.Media - Class in org.nordstjernen
A clickable media element resolved at a point: its URL, whether it is video, and if it streams.
RemotePage - Class in org.nordstjernen
A web page driven through a separate nordstjernen-renderer process, mirroring the in-process Page API without loading the native engine into the JVM.
render(int, int, int, int, double) - Method in class org.nordstjernen.Page
Convenience wrapper around Page.renderRgba(int, int, int, int, double) producing a premultiplied-ARGB image.
render(int, int, int, int, double) - Method in class org.nordstjernen.RemoteBrowser
Render a viewport region (document coordinates via scroll) to an image.
render(int, int, int, int, double) - Method in class org.nordstjernen.RemotePage
Render a viewport region to a premultiplied-ARGB image.
renderFullPage(double) - Method in class org.nordstjernen.Page
Render the entire page (top to bottom, full width) to a single image at scale.
renderFullPage(double) - Method in class org.nordstjernen.RemotePage
Render the whole page (top to bottom, full width) at scale.
renderRgba(int, int, int, int, double) - Method in class org.nordstjernen.Page
Render a viewport region into raw RGBA8888 (premultiplied) bytes, height rows of width*4 bytes.
renderRgba(int, int, int, int, double) - Method in class org.nordstjernen.RemotePage
Render a viewport region to premultiplied RGBA8888 bytes (row-major, 4 bytes per pixel, R,G,B,A).
renderToFile(Path) - Method in class org.nordstjernen.Page
Render the whole page to a file.
resolveWebgl(String, boolean) - Method in class org.nordstjernen.RemoteBrowser
Allow or block WebGL for origin for the rest of the session.
restart() - Method in class org.nordstjernen.RemoteBrowser
Replace a dead renderer with a fresh process.

S

saveScreenshot(String, int, Path) - Static method in class org.nordstjernen.Nordstjernen
Open url, render the whole page to a PNG/PDF file, and close.
screenshot(String, int, double) - Static method in class org.nordstjernen.Nordstjernen
Open url, render the whole page to an image, and close.
scrollY - Variable in class org.nordstjernen.RemoteBrowser.Find
 
select(int, int, int) - Method in class org.nordstjernen.RemoteBrowser
Drive a text selection.
setViewport(int, int) - Method in class org.nordstjernen.RemoteBrowser
Tell the engine the viewport changed (re-lays out, fires resize).
shutdown() - Static method in class org.nordstjernen.Nordstjernen
Release process-wide engine state.
Size - Record Class in org.nordstjernen
A width/height pair in CSS pixels.
Size(int, int) - Constructor for record class org.nordstjernen.Size
Creates an instance of a Size record class.
stream - Variable in class org.nordstjernen.RemoteBrowser.Media
 

T

text() - Method in class org.nordstjernen.Page
The rendered text content of the page.
textOf(String, int) - Static method in class org.nordstjernen.Nordstjernen
Open url, extract its text, and close.
title() - Method in class org.nordstjernen.Page
The page's <title> (whitespace-collapsed), or null.
title() - Method in class org.nordstjernen.RemoteBrowser
 
title() - Method in class org.nordstjernen.RemotePage
The page <title>.
toString() - Method in record class org.nordstjernen.Size
Returns a string representation of this record class.
total - Variable in class org.nordstjernen.RemoteBrowser.Find
 

U

unchanged - Variable in class org.nordstjernen.RemoteBrowser.Frame
The renderer reported nothing changed since the last render.
url - Variable in class org.nordstjernen.RemoteBrowser.Media
 
url() - Method in class org.nordstjernen.Page
The page's final URL (after redirects).
url() - Method in class org.nordstjernen.RemoteBrowser
 
url() - Method in class org.nordstjernen.RemotePage
The final URL after redirects.

V

video - Variable in class org.nordstjernen.RemoteBrowser.Media
 

W

webgl - Variable in class org.nordstjernen.RemoteBrowser.Frame
Origin requesting WebGL (needs a trust prompt), or null.
width() - Method in record class org.nordstjernen.Size
Returns the value of the width record component.
A C D E F H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form