public class TabTitleChangedEvent extends BrowserEvent<TabTitleChangedHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
TabTitleChangedEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to suppress the title change
|
protected void |
dispatch(TabTitleChangedHandler handler) |
static <S extends HasTabTitleChangedHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<TabTitleChangedHandler> |
getAssociatedType() |
java.lang.String |
getNewTitle()
the new title
|
java.lang.String |
getOldTitle()
the old title
|
Tab |
getTab()
the tab whose title has changed
|
static GwtEvent.Type<TabTitleChangedHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public TabTitleChangedEvent(JavaScriptObject jsObj)
public static <S extends HasTabTitleChangedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<TabTitleChangedHandler> getType()
protected void dispatch(TabTitleChangedHandler handler)
dispatch
in class GwtEvent<TabTitleChangedHandler>
public final GwtEvent.Type<TabTitleChangedHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<TabTitleChangedHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public java.lang.String getNewTitle()
public java.lang.String getOldTitle()
public Tab getTab()