Class ZmPortletView
Extends
DwtComposite.
This class represents the portlet view.
Defined in: ZmPortletView.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates the portlet view.
|
Method Summary
Method Attributes |
Method Name and Description |
|
Sets the content URL as an iframe.
|
|
Sets the icon.
|
|
Sets the title.
|
|
Returns a string representation of the object.
|
- Methods borrowed from class DwtComposite:
- addChild, cleanupSeparators, clear, dispose, getChild, getChildren, getNumChildren, getTabGroupMember, removeChild, removeChildren
- Methods borrowed from class DwtControl:
- addClassName, addControlListener, addDisposeListener, addListener, appendElement, blur, clearContent, clearHandler, condClassName, delClassName, focus, getBounds, getClassName, getContent, getCursor, getData, getDragBox, getDragSource, getDropTarget, getEnabled, getFocusElement, getH, getHtmlElement, getHTMLElId, getInsetBounds, getInsets, getLocation, getMargins, getOpacity, getOuterSize, getPosition, getScrollContainer, getScrollStyle, getSize, getTooltipBase, getToolTipContent, getVisibility, getVisible, getW, getX, getXW, getY, getYH, getZIndex, hasFocus, isAlertShown, isDisposed, isInitialized, isListenerRegistered, notifyListeners, preventContextMenu, preventSelection, removeAllListeners, removeControlListener, removeDisposeListener, removeListener, reparent, reparentHtmlElement, replaceElement, setBounds, setClassName, setContent, setCursor, setData, setDisplay, setDisplayState, setDragBox, setDragSource, setDropTarget, setEnabled, setEventPropagation, setFocusElement, setHandler, setHtmlElementId, setLocation, setOpacity, setPosition, setScrollStyle, setSize, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
ZmPortletView(parentEl, portlet, className)
Creates the portlet view.
- Parameters:
-
{Element} parentEl
- the parent element
-
{ZmPortlet} portlet
- the portlet
-
{String} className
- the class name
Method Detail
setContentUrl(url)
Sets the content URL as an iframe.
- Parameters:
-
{String} url
- the url
setIcon(icon)
Sets the icon.
- Parameters:
-
{String} icon
- the icon
- See:
- AjxImg.setImage
setTitle(title)
Sets the title.
- Parameters:
-
{String} title
- the title
{String}
toString()
Returns a string representation of the object.
- Returns:
- {String} a string representation of the object
|