@Deprecated public final class WebViewBuilder extends ParentBuilder<WebViewBuilder> implements Builder<WebView>
WebView
class.Modifier and Type | Field and Description |
---|---|
private WebEngineBuilder |
engineBuilder
Deprecated.
|
private double |
fontScale
Deprecated.
|
private boolean |
fontScaleSet
Deprecated.
|
private double |
maxHeight
Deprecated.
|
private boolean |
maxHeightSet
Deprecated.
|
private double |
maxWidth
Deprecated.
|
private boolean |
maxWidthSet
Deprecated.
|
private double |
minHeight
Deprecated.
|
private boolean |
minHeightSet
Deprecated.
|
private double |
minWidth
Deprecated.
|
private boolean |
minWidthSet
Deprecated.
|
private double |
prefHeight
Deprecated.
|
private boolean |
prefHeightSet
Deprecated.
|
private double |
prefWidth
Deprecated.
|
private boolean |
prefWidthSet
Deprecated.
|
Constructor and Description |
---|
WebViewBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
applyTo(WebView view)
Deprecated.
Applies initialized values to the properties of the
WebView class. |
WebView |
build()
Deprecated.
Creates an instance of the
WebView class
based on the properties set on this builder. |
WebViewBuilder |
confirmHandler(Callback<java.lang.String,java.lang.Boolean> value)
Deprecated.
Sets the
confirmHandler
property for the engine
property of the instance constructed by this builder. |
static WebViewBuilder |
create()
Deprecated.
Creates new builder for the
WebView class. |
WebViewBuilder |
createPopupHandler(Callback<PopupFeatures,WebEngine> value)
Deprecated.
Sets the
createPopupHandler
property for the engine
property of the instance constructed by this builder. |
private WebEngineBuilder |
engineBuilder()
Deprecated.
|
WebViewBuilder |
fontScale(double value)
Deprecated.
Sets the
fontScale
property for the instance constructed by this builder. |
WebViewBuilder |
location(java.lang.String value)
Deprecated.
|
WebViewBuilder |
maxHeight(double value)
Deprecated.
Sets the
maxHeight
property for the instance constructed by this builder. |
WebViewBuilder |
maxWidth(double value)
Deprecated.
Sets the
maxWidth
property for the instance constructed by this builder. |
WebViewBuilder |
minHeight(double value)
Deprecated.
Sets the
minHeight
property for the instance constructed by this builder. |
WebViewBuilder |
minWidth(double value)
Deprecated.
Sets the
minWidth
property for the instance constructed by this builder. |
WebViewBuilder |
onAlert(EventHandler<WebEvent<java.lang.String>> value)
Deprecated.
|
WebViewBuilder |
onResized(EventHandler<WebEvent<Rectangle2D>> value)
Deprecated.
|
WebViewBuilder |
onStatusChanged(EventHandler<WebEvent<java.lang.String>> value)
Deprecated.
Sets the
onStatusChanged
property for the engine
property of the instance constructed by this builder. |
WebViewBuilder |
onVisibilityChanged(EventHandler<WebEvent<java.lang.Boolean>> value)
Deprecated.
Sets the
onVisibilityChanged
property for the engine
property of the instance constructed by this builder. |
WebViewBuilder |
prefHeight(double value)
Deprecated.
Sets the
prefHeight
property for the instance constructed by this builder. |
WebViewBuilder |
prefWidth(double value)
Deprecated.
Sets the
prefWidth
property for the instance constructed by this builder. |
WebViewBuilder |
promptHandler(Callback<PromptData,java.lang.String> value)
Deprecated.
Sets the
promptHandler
property for the engine
property of the instance constructed by this builder. |
applyTo, stylesheets, stylesheets
applyTo, blendMode, cache, cacheHint, clip, cursor, depthTest, disable, effect, eventDispatcher, focusTraversable, id, inputMethodRequests, layoutX, layoutY, managed, mouseTransparent, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScroll, onScrollFinished, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoom, onZoomFinished, onZoomStarted, opacity, pickOnBounds, rotate, rotationAxis, scaleX, scaleY, scaleZ, style, styleClass, styleClass, transforms, transforms, translateX, translateY, translateZ, userData, visible
private double fontScale
private boolean fontScaleSet
private double maxHeight
private boolean maxHeightSet
private double maxWidth
private boolean maxWidthSet
private double minHeight
private boolean minHeightSet
private double minWidth
private boolean minWidthSet
private double prefHeight
private boolean prefHeightSet
private double prefWidth
private boolean prefWidthSet
private WebEngineBuilder engineBuilder
public static WebViewBuilder create()
WebView
class.WebViewBuilder
objectpublic WebView build()
WebView
class
based on the properties set on this builder.public void applyTo(WebView view)
WebView
class.view
- the WebView
object to initializepublic WebViewBuilder fontScale(double value)
fontScale
property for the instance constructed by this builder.value
- new value of the fontScale
propertypublic WebViewBuilder maxHeight(double value)
maxHeight
property for the instance constructed by this builder.value
- new value of the maxHeight
propertypublic WebViewBuilder maxWidth(double value)
maxWidth
property for the instance constructed by this builder.value
- new value of the maxWidth
propertypublic WebViewBuilder minHeight(double value)
minHeight
property for the instance constructed by this builder.value
- new value of the minHeight
propertypublic WebViewBuilder minWidth(double value)
minWidth
property for the instance constructed by this builder.value
- new value of the minWidth
propertypublic WebViewBuilder prefHeight(double value)
prefHeight
property for the instance constructed by this builder.value
- new value of the prefHeight
propertypublic WebViewBuilder prefWidth(double value)
prefWidth
property for the instance constructed by this builder.value
- new value of the prefWidth
propertypublic WebViewBuilder confirmHandler(Callback<java.lang.String,java.lang.Boolean> value)
confirmHandler
property for the engine
property of the instance constructed by this builder.value
- new value of the confirmHandler
propertypublic WebViewBuilder createPopupHandler(Callback<PopupFeatures,WebEngine> value)
createPopupHandler
property for the engine
property of the instance constructed by this builder.value
- new value of the createPopupHandler
propertypublic WebViewBuilder onAlert(EventHandler<WebEvent<java.lang.String>> value)
value
- new value of the onAlert
propertypublic WebViewBuilder onResized(EventHandler<WebEvent<Rectangle2D>> value)
value
- new value of the onResized
propertypublic WebViewBuilder onStatusChanged(EventHandler<WebEvent<java.lang.String>> value)
onStatusChanged
property for the engine
property of the instance constructed by this builder.value
- new value of the onStatusChanged
propertypublic WebViewBuilder onVisibilityChanged(EventHandler<WebEvent<java.lang.Boolean>> value)
onVisibilityChanged
property for the engine
property of the instance constructed by this builder.value
- new value of the onVisibilityChanged
propertypublic WebViewBuilder promptHandler(Callback<PromptData,java.lang.String> value)
promptHandler
property for the engine
property of the instance constructed by this builder.value
- new value of the promptHandler
propertypublic WebViewBuilder location(java.lang.String value)
value
- new value of the location
propertyprivate WebEngineBuilder engineBuilder()