|
||||||||||
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<OpenURLHandler>
com.sage.swt.client.portal.communication.OpenURLEvent
public class OpenURLEvent
Fired when a URL portlet needs to be opened.
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 |
OpenURLEvent(java.lang.String caption,
java.lang.String url)
Construct a new OpenURLEvent . |
protected |
OpenURLEvent(java.lang.String caption,
java.lang.String url,
java.lang.String portletCommunicationID)
Construct a new OpenURLEvent . |
protected |
OpenURLEvent(java.lang.String caption,
java.lang.String url,
java.lang.String portletCommunicationID,
boolean dialogUI)
Construct a new OpenURLEvent . |
Method Summary | ||
---|---|---|
protected void |
dispatch(OpenURLHandler handler)
|
|
static
|
fire(S source,
java.lang.String caption,
java.lang.String url)
Fires an open URL portlet event on all registered handlers in the handler source. |
|
static
|
fire(S source,
java.lang.String caption,
java.lang.String url,
java.lang.String portletCommunicationID)
Fires an open URL portlet event on all registered handlers in the handler source and specifies the portletCommunicationID for the portlet that they want this portlet to replace. |
|
com.google.gwt.event.shared.GwtEvent.Type<OpenURLHandler> |
getAssociatedType()
|
|
java.lang.String |
getCaption()
Gets the caption for the portlet |
|
java.lang.String |
getPortletCommunicationID()
Gets the id of a portlet that is already opened in the Portal. |
|
static com.google.gwt.event.shared.GwtEvent.Type<OpenURLHandler> |
getType()
Ensures the existence of the handler hook and then returns it. |
|
java.lang.String |
getURL()
Gets the URL that will be opened in the portlet |
|
boolean |
isDialogUI()
Returns true if this is a report or process UI that will be displayed as a "dialog" in the Portal; otherwise, returns false. |
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 OpenURLEvent(java.lang.String caption, java.lang.String url)
OpenURLEvent
.
caption
- The caption for the url portleturl
- The url that will be opened in the portletprotected OpenURLEvent(java.lang.String caption, java.lang.String url, java.lang.String portletCommunicationID)
OpenURLEvent
.
caption
- The caption for the url portleturl
- The url that will be opened in the portletportletCommunicationID
- The id of a portlet that is already opened in the Portal. When
this event opens the new portlet (specified by the url
parameter), it will close the portlet that corresponds to this
id and replace it the new portlet.protected OpenURLEvent(java.lang.String caption, java.lang.String url, java.lang.String portletCommunicationID, boolean dialogUI)
OpenURLEvent
.
caption
- The caption for the url portleturl
- The url that will be opened in the portletportletCommunicationID
- The id of a portlet that is already opened in the Portal. When
this event opens the new portlet (specified by the url
parameter), it will close the portlet that corresponds to this
id and replace it the new portlet.dialogUI
- Specify true if this is a report or process UI that will be
displayed as a "dialog" in the Portal; otherwise, specify false.Method Detail |
---|
public static <S extends HasPortletOpenedHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, java.lang.String caption, java.lang.String url)
S
- The handler sourcesource
- the source of the handlerscaption
- The caption for the url portleturl
- The url that will be opened in the portletpublic static <S extends HasPortletOpenedHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, java.lang.String caption, java.lang.String url, java.lang.String portletCommunicationID)
S
- The handler sourcesource
- the source of the handlerscaption
- The caption for the url portleturl
- The url that will be opened in the portletportletCommunicationID
- The id of a portlet that is already opened in the Portal. When
this event opens the new portlet (specified by the url
parameter), it will close the portlet that corresponds to this
id and replace it the new portlet.public static com.google.gwt.event.shared.GwtEvent.Type<OpenURLHandler> getType()
public final com.google.gwt.event.shared.GwtEvent.Type<OpenURLHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<OpenURLHandler>
public java.lang.String getCaption()
public java.lang.String getURL()
public java.lang.String getPortletCommunicationID()
public boolean isDialogUI()
protected void dispatch(OpenURLHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<OpenURLHandler>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |