public final class RenderEvent extends BrowserEvent
Constructor and Description |
---|
RenderEvent(Browser browser)
Constructs a new
RenderEvent instance.
|
RenderEvent(Browser browser, int errorCode, TerminationStatus terminationStatus)
Constructs a new
RenderEvent instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns error code that indicates the reason of unexpected render process exit or crash.
返回指示意外渲染过程退出或崩溃的原因的错误代码。 |
TerminationStatus |
getTerminationStatus()
Returns the status of render process termination.
返回渲染过程终止的状态。 |
java.lang.String |
toString() |
getBrowser
public RenderEvent(Browser browser)
RenderEvent
instance.
browser
- the browser instance on which the event is initially occurred.
-最初发生事件的浏览器实例。
public RenderEvent(Browser browser, int errorCode, TerminationStatus terminationStatus)
RenderEvent
instance.
browser
- the browser instance on which the event is initially occurred.
-最初发生事件的浏览器实例。
errorCode
- the code or error that caused render process to exit.
-导致渲染过程退出的代码或错误。
terminationStatus
- the status of render process termination.
-渲染过程终止的状态。
public int getErrorCode()
public TerminationStatus getTerminationStatus()
public java.lang.String toString()
toString
in class
java.lang.Object