Spec-Zone .ru
спецификации, руководства, описания, API
|
Constructor and Description |
---|
WebEngineBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(WebEngine engine)
Applies initialized values to the properties of the
WebEngine class. |
WebEngine |
build()
Creates an instance of the
WebEngine class
based on the properties set on this builder. |
WebEngineBuilder |
confirmHandler(Callback<java.lang.String,java.lang.Boolean> value)
Sets the
confirmHandler
property for the instance constructed by this builder. |
static WebEngineBuilder |
create()
Creates new builder for the
WebEngine class. |
WebEngineBuilder |
createPopupHandler(Callback<PopupFeatures,WebEngine> value)
Sets the
createPopupHandler
property for the instance constructed by this builder. |
WebEngineBuilder |
location(java.lang.String value)
Sets the
location
property for the instance constructed by this builder. |
WebEngineBuilder |
onAlert(EventHandler<WebEvent<java.lang.String>> value)
Sets the
onAlert
property for the instance constructed by this builder. |
WebEngineBuilder |
onResized(EventHandler<WebEvent<Rectangle2D>> value)
Sets the
onResized
property for the instance constructed by this builder. |
WebEngineBuilder |
onStatusChanged(EventHandler<WebEvent<java.lang.String>> value)
Sets the
onStatusChanged
property for the instance constructed by this builder. |
WebEngineBuilder |
onVisibilityChanged(EventHandler<WebEvent<java.lang.Boolean>> value)
Sets the
onVisibilityChanged
property for the instance constructed by this builder. |
WebEngineBuilder |
promptHandler(Callback<PromptData,java.lang.String> value)
Sets the
promptHandler
property for the instance constructed by this builder. |
public static WebEngineBuilder create()
WebEngine
class.WebEngineBuilder
objectpublic WebEngine build()
WebEngine
class
based on the properties set on this builder.public void applyTo(WebEngine engine)
WebEngine
class.engine
- the WebEngine
object to initializepublic WebEngineBuilder confirmHandler(Callback<java.lang.String,java.lang.Boolean> value)
confirmHandler
property for the instance constructed by this builder.value
- new value of the confirmHandler
propertypublic WebEngineBuilder createPopupHandler(Callback<PopupFeatures,WebEngine> value)
createPopupHandler
property for the instance constructed by this builder.value
- new value of the createPopupHandler
propertypublic WebEngineBuilder onAlert(EventHandler<WebEvent<java.lang.String>> value)
onAlert
property for the instance constructed by this builder.value
- new value of the onAlert
propertypublic WebEngineBuilder onResized(EventHandler<WebEvent<Rectangle2D>> value)
onResized
property for the instance constructed by this builder.value
- new value of the onResized
propertypublic WebEngineBuilder onStatusChanged(EventHandler<WebEvent<java.lang.String>> value)
onStatusChanged
property for the instance constructed by this builder.value
- new value of the onStatusChanged
propertypublic WebEngineBuilder onVisibilityChanged(EventHandler<WebEvent<java.lang.Boolean>> value)
onVisibilityChanged
property for the instance constructed by this builder.value
- new value of the onVisibilityChanged
propertypublic WebEngineBuilder promptHandler(Callback<PromptData,java.lang.String> value)
promptHandler
property for the instance constructed by this builder.value
- new value of the promptHandler
propertypublic WebEngineBuilder location(java.lang.String value)
location
property for the instance constructed by this builder.value
- new value of the location
propertyCopyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to