Package | Description |
---|---|
com.teamdev.jxbrowser.browser |
This package provides the classes that allow you to work with browsers.
|
com.teamdev.jxbrowser.browser.callback |
This package provides the classes that allow you to work with browser events.
|
com.teamdev.jxbrowser.browser.event |
This package provides the classes that allow you to work with browser events.
|
com.teamdev.jxbrowser.dom |
Provides the interfaces and classes for the Document Object Model (DOM).
|
com.teamdev.jxbrowser.frame |
This package provides the classes that allow you to work with frames in browser.
|
com.teamdev.jxbrowser.navigation.event |
The navigation events.
|
com.teamdev.jxbrowser.permission.callback |
The permission service callbacks.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Frame> |
Browser.focusedFrame()
Returns an
Optional that contains the focused Frame on the currently loaded
web page, otherwise an empty Optional . |
java.util.List<Frame> |
Browser.frames()
Returns all the frames on the currently loaded web page or an empty collection if the current
browser didn't load any web pages.
|
java.util.Optional<Frame> |
Browser.mainFrame()
Returns an
Optional that contains the main Frame of the currently loaded web
page if it exists, otherwise an empty Optional . |
Modifier and Type | Method and Description |
---|---|
default Frame |
InjectCssCallback.Params.frame()
Returns the
Frame instance of the created document. |
default Frame |
InjectJsCallback.Params.frame()
Returns the
Frame instance of the created document. |
Modifier and Type | Method and Description |
---|---|
default Frame |
FrameCreated.frame()
Returns the
Frame instance that has been created. |
default Frame |
FrameDeleted.frame()
Returns the
Frame instance that has been deleted. |
default Frame |
SpellCheckCompleted.frame()
Returns the
Frame instance in which spell checking has been completed. |
Modifier and Type | Method and Description |
---|---|
Frame |
Document.frame()
Returns the
Frame instance of this document. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Frame> |
Frame.children()
Returns the list of child frames or an empty list if this frame does not have any children.
|
java.util.Optional<Frame> |
Frame.parent()
Returns an
Optional that contains the parent Frame instance or an empty
Optional if the current frame is a main (top-level) frame and it does not have a
parent. |
Modifier and Type | Method and Description |
---|---|
default Frame |
FrameDocumentLoadFinished.frame()
Returns the
Frame instance which document has been loaded. |
default Frame |
FrameLoadFailed.frame()
Returns the
Frame instance that failed to load content. |
default Frame |
FrameLoadFinished.frame()
Returns the
Frame instance that has been finished loading content. |
default Frame |
NavigationFinished.frame()
Returns the
Frame instance initiated this navigation. |
Modifier and Type | Method and Description |
---|---|
default Frame |
RequestPermissionCallback.Params.frame()
Returns the
Frame instance that is requesting permission. |