private final class WebEngine.LoadWorker
extends java.lang.Object
Type | Property and Description |
---|---|
<any> |
exception |
ReadOnlyStringProperty |
message |
ReadOnlyDoubleProperty |
progress |
ReadOnlyBooleanProperty |
running |
<any> |
state |
ReadOnlyStringProperty |
title |
ReadOnlyDoubleProperty |
totalWork |
<any> |
value |
ReadOnlyDoubleProperty |
workDone |
Modifier and Type | Field and Description |
---|---|
private <any> |
exception |
private ReadOnlyStringWrapper |
message |
private ReadOnlyDoubleWrapper |
progress |
private ReadOnlyBooleanWrapper |
running |
private <any> |
state |
private ReadOnlyStringWrapper |
title |
private ReadOnlyDoubleWrapper |
totalWorkToBeDone |
private <any> |
value |
private ReadOnlyDoubleWrapper |
workDone |
Modifier | Constructor and Description |
---|---|
private |
LoadWorker() |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancels the loading of the page.
|
private void |
cancelAndReset() |
private java.lang.Throwable |
describeError(int errorCode) |
private void |
dispatchLoadEvent(long frame,
int state,
java.lang.String url,
java.lang.String contentType,
double workDone,
int errorCode) |
<any> |
exceptionProperty() |
java.lang.Throwable |
getException()
Gets the value of the property exception.
|
java.lang.String |
getMessage()
Gets the value of the property message.
|
double |
getProgress()
Gets the value of the property progress.
|
State |
getState()
Gets the value of the property state.
|
java.lang.String |
getTitle()
Gets the value of the property title.
|
double |
getTotalWork()
Gets the value of the property totalWork.
|
java.lang.Void |
getValue()
Gets the value of the property value.
|
double |
getWorkDone()
Gets the value of the property workDone.
|
boolean |
isRunning()
Gets the value of the property running.
|
ReadOnlyStringProperty |
messageProperty() |
ReadOnlyDoubleProperty |
progressProperty() |
ReadOnlyBooleanProperty |
runningProperty() |
<any> |
stateProperty() |
ReadOnlyStringProperty |
titleProperty() |
ReadOnlyDoubleProperty |
totalWorkProperty() |
private void |
updateProgress(double p) |
private void |
updateState(State value) |
<any> |
valueProperty() |
ReadOnlyDoubleProperty |
workDoneProperty() |
public final <any> stateProperty
getState()
public final <any> valueProperty
getValue()
public final <any> exceptionProperty
getException()
public final ReadOnlyDoubleProperty workDoneProperty
getWorkDone()
public final ReadOnlyDoubleProperty totalWorkProperty
getTotalWork()
public final ReadOnlyDoubleProperty progressProperty
getProgress()
public final ReadOnlyBooleanProperty runningProperty
isRunning()
public final ReadOnlyStringProperty messageProperty
getMessage()
public final ReadOnlyStringProperty titleProperty
getTitle()
private final <any> state
private final <any> value
private final <any> exception
private final ReadOnlyDoubleWrapper workDone
private final ReadOnlyDoubleWrapper totalWorkToBeDone
private final ReadOnlyDoubleWrapper progress
private final ReadOnlyBooleanWrapper running
private final ReadOnlyStringWrapper message
private final ReadOnlyStringWrapper title
public final State getState()
public final <any> stateProperty()
getState()
private void updateState(State value)
public final java.lang.Void getValue()
public final <any> valueProperty()
getValue()
public final java.lang.Throwable getException()
public final <any> exceptionProperty()
getException()
public final double getWorkDone()
public final ReadOnlyDoubleProperty workDoneProperty()
getWorkDone()
public final double getTotalWork()
public final ReadOnlyDoubleProperty totalWorkProperty()
getTotalWork()
public final double getProgress()
public final ReadOnlyDoubleProperty progressProperty()
getProgress()
private void updateProgress(double p)
public final boolean isRunning()
public final ReadOnlyBooleanProperty runningProperty()
isRunning()
public final java.lang.String getMessage()
public final ReadOnlyStringProperty messageProperty()
getMessage()
public final java.lang.String getTitle()
public final ReadOnlyStringProperty titleProperty()
getTitle()
public boolean cancel()
private void cancelAndReset()
private void dispatchLoadEvent(long frame, int state, java.lang.String url, java.lang.String contentType, double workDone, int errorCode)
private java.lang.Throwable describeError(int errorCode)