public final class TitleEvent extends BrowserEvent
Constructor and Description |
---|
TitleEvent(Browser browser, java.lang.String title)
Constructs a new
TitleEvent instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTitle()
Returns a new title value.
返回一个新的标题值。 |
java.lang.String |
toString() |
getBrowser
public TitleEvent(Browser browser, java.lang.String title)
TitleEvent
instance.
browser
- the browser instance on which the event is initially occurred.
-最初发生事件的浏览器实例。
title
- the new title value.
-新标题值。