|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<PortletClosingHandler>
com.sage.swt.client.portal.communication.PortletClosingEvent
public class PortletClosingEvent
Event that is fired when the portlet is being closed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
com.google.gwt.event.shared.GwtEvent.Type<H> |
Constructor Summary | |
---|---|
protected |
PortletClosingEvent()
Construct a new PortletClosingEvent . |
Method Summary | ||
---|---|---|
protected void |
dispatch(PortletClosingHandler handler)
|
|
static
|
fire(S source)
Fires a portlet closing event on all registered handlers in the handler source. |
|
com.google.gwt.event.shared.GwtEvent.Type<PortletClosingHandler> |
getAssociatedType()
|
|
java.lang.String |
getMessage()
Returns the message to be displayed in the close confirmation dialog box. |
|
static com.google.gwt.event.shared.GwtEvent.Type<PortletClosingHandler> |
getType()
Ensures the existence of the handler hook and then returns it. |
|
void |
setMessage(java.lang.String message)
Sets the message to be displayed in the close confirmation dialog box, if any. |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, getSource, isLive, kill, revive |
Methods inherited from class com.google.web.bindery.event.shared.Event |
---|
setSource, toDebugString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected PortletClosingEvent()
PortletClosingEvent
.
Method Detail |
---|
public static <S extends HasPortletClosingHandlers & com.google.gwt.event.shared.HasHandlers> PortletClosingEvent fire(S source)
S
- The handler sourcesource
- the source of the handlers
PortletClosingEvent
public static com.google.gwt.event.shared.GwtEvent.Type<PortletClosingHandler> getType()
public final com.google.gwt.event.shared.GwtEvent.Type<PortletClosingHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<PortletClosingHandler>
public void setMessage(java.lang.String message)
message
- the messagepublic java.lang.String getMessage()
protected void dispatch(PortletClosingHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<PortletClosingHandler>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |