Top Description Fields Constructors Methods
com.sun.javafx.fxml.builder.web

public Class JavaFXWebViewBuilder

extends AbstractMap<String, Object>
implements Builder<WebView>
Class Inheritance
All Implemented Interfaces
javafx.util.Builder
Imports
java.util.AbstractMap, .Set, javafx.scene.web.WebView, .WebEngine, javafx.util.Builder

JavaFX WebView builder.

Todo

Implement this to fix JDK-8089907. This should be implemented using the pattern from JavaFXBuilderFactory$ObjectBuilderWrapper$ObjectBuilder modified to use setters and getters rather than builder methods for all WebView properties (including those inherited from Parent and Node). The only special-cased properties should be those that need to delegate to WebEngine. Once this is done, the remaining 4 legacy builder classes can be removed from this package, as can the JavaFXBuilderFactory$ObjectBuilderWrapper class.

Field Summary

Modifier and TypeField and Description
private String
private final WebView

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public WebView
build()

Implements javafx.util.Builder.build.

Builds and returns the object.

public Set<Map.Entry<String, Object>>
entrySet()

Implements abstract java.util.AbstractMap.entrySet.

Implements java.util.Map.entrySet.

Returns a Set view of the mappings contained in this map.

public Object
put(String key, Object value)

Overrides java.util.AbstractMap.put.

Implements java.util.Map.put.

Associates the specified value with the specified key in this map (optional operation).

Inherited from java.util.AbstractMap:
clearclonecontainsKeycontainsValueequalsgethashCodeisEmptykeySetputAllremovesizetoStringvalues

Field Detail

locationback to summary
private String location
viewback to summary
private final WebView view

Constructor Detail

JavaFXWebViewBuilderback to summary
public JavaFXWebViewBuilder()

Method Detail

buildback to summary
public WebView build()

Implements javafx.util.Builder.build.

Doc from javafx.util.Builder.build.

Builds and returns the object.

Annotations
@Override
entrySetback to summary
public Set<Map.Entry<String, Object>> entrySet()

Implements abstract java.util.AbstractMap.entrySet.

Implements java.util.Map.entrySet.

Doc from java.util.Map.entrySet.

Returns a Set view of the mappings contained in this map. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. If the map is modified while an iteration over the set is in progress (except through the iterator's own remove operation, or through the setValue operation on a map entry returned by the iterator) the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove, Set.remove, removeAll, retainAll and clear operations. It does not support the add or addAll operations.

Annotations
@Override
putback to summary
public Object put(String key, Object value)

Overrides java.util.AbstractMap.put.

Implements java.util.Map.put.

Doc from java.util.AbstractMap.put.

Associates the specified value with the specified key in this map (optional operation). If the map previously contained a mapping for the key, the old value is replaced by the specified value. (A map m is said to contain a mapping for a key k if and only if m.containsKey(k) would return true.)

Annotations
@Override