Package org.eclipse.swt.browser
Class TitleEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.swt.events.TypedEvent
-
- org.eclipse.swt.browser.TitleEvent
-
- All Implemented Interfaces:
Serializable
public class TitleEvent extends TypedEvent
ATitleEvent
is sent by aBrowser
toTitleListener
's when the title of the current document is available or when it is modified.- Since:
- 3.0
- See Also:
- Sample code and further information, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description String
title
the title of the current document-
Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description TitleEvent(Widget widget)
Constructs a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Returns a string containing a concise, human-readable description of the receiver.-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Field Detail
-
title
public String title
the title of the current document
-
-
Constructor Detail
-
TitleEvent
public TitleEvent(Widget widget)
Constructs a new instance of this class.- Parameters:
widget
- the widget that fired the event- Since:
- 3.5
-
-
Method Detail
-
toString
public String toString()
Returns a string containing a concise, human-readable description of the receiver.- Overrides:
toString
in classTypedEvent
- Returns:
- a string representation of the event
-
-