|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Portlet
The interface implemented by portlet widgets.
| Field Summary | |
|---|---|
static java.lang.String |
PORTLET_ID_SEPARATOR
|
static java.lang.String |
PORTLET_IPCID_URL_PARAM
|
static java.lang.String |
PORTLET_OBJECTID_URL_PARAM
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addPortletClosedHandler(PortletClosedHandler handler)
Adds a PortletClosedEvent handler. |
com.google.gwt.event.shared.HandlerRegistration |
addPortletClosingHandler(PortletClosingHandler handler)
Adds a PortletClosingEvent handler. |
void |
destroy()
Destroys a portlet, cleaning up resources that are being held (such as the URL contents that a portlet may have loaded). |
java.lang.String |
getPortletCommunicationID()
Returns a unique ID for the portlet that will be used for inter-portlet communications. |
java.lang.String |
getPortletID()
Returns the ID for the portlet. |
void |
init()
Initializes a portlet. |
void |
notifyAction(java.lang.String nameSpace,
java.lang.String topicID,
java.lang.String action,
java.lang.String portletCommunicationID,
java.lang.String data)
Sends a notification that an IPC event occurred. |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Field Detail |
|---|
static final java.lang.String PORTLET_IPCID_URL_PARAM
static final java.lang.String PORTLET_OBJECTID_URL_PARAM
static final java.lang.String PORTLET_ID_SEPARATOR
| Method Detail |
|---|
java.lang.String getPortletCommunicationID()
java.lang.String getPortletID()
void notifyAction(java.lang.String nameSpace,
java.lang.String topicID,
java.lang.String action,
java.lang.String portletCommunicationID,
java.lang.String data)
nameSpace - The namespace of the event.topicID - The topic of the event.action - The event's action.portletCommunicationID - The communication ID of the portlet doing the publishing (where
that ID is the portlet communication ID of its instance
context).data - The data associated with that action.com.google.gwt.event.shared.HandlerRegistration addPortletClosedHandler(PortletClosedHandler handler)
PortletClosedEvent handler.
addPortletClosedHandler in interface HasPortletClosedHandlershandler - the handler
com.google.gwt.event.shared.HandlerRegistration addPortletClosingHandler(PortletClosingHandler handler)
PortletClosingEvent handler.
addPortletClosingHandler in interface HasPortletClosingHandlershandler - the handler
void init()
void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||