|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.portal.portlets.AbstractPortlet
org.apache.jetspeed.portal.portlets.AbstractInstancePortlet
org.apache.jetspeed.portal.portlets.IFramePortlet
A Portlet that displays the contents of a source URL in an IFRAME tag. portlets.xreg Usage example:
local-portlets.xreg Usage example:org.apache.jetspeed.portal.portlets.IFramePortlet
<meta-info> <title>SomeSite Info</title> Navigate SomeSite within an IFRAME </meta-info>
The following parameters are accepted:
refresh
- value in seconds to auto refresh contents of the IFRAME. align
- top | bottom | middle | left | right - How to align the IFRAME in relation to surrounding content.marginwidth
- size of the top and bottom margin inside the iframe. marginheight
- size of the left and right margin inside the iframe.
AbstractPortlet
,
Serialized FormField Summary |
Fields inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet |
content |
Fields inherited from interface org.apache.jetspeed.portal.Portlet |
PORTLET_MAXIMIZED, PORTLET_MINIMIZED, PORTLET_NORMAL |
Constructor Summary | |
IFramePortlet()
|
Method Summary | |
java.lang.String |
getAlign()
Gets the aling attribute of the IFramePortlet object |
org.apache.ecs.ConcreteElement |
getContent(org.apache.turbine.util.RunData runData)
This methods outputs the content of the portlet for a given request. |
java.lang.String |
getFrameBorder()
Gets whether to display a border around the IFRAME. |
java.lang.String |
getFrameName()
Gets iframe name |
java.lang.String |
getHeight()
Gets the height attribute of the IFramePortlet object |
java.lang.String |
getMarginHeight()
Gets the marginheight attribute of the IFramePortlet object |
java.lang.String |
getMarginWidth()
Gets the marginwidth attribute of the IFramePortlet object |
java.lang.String |
getNotSupportedMsg()
Gets the message displayed when IFRAME is not supported This includes when Frames are turned off. |
java.lang.String |
getRefresh()
Gets iframe refresh |
java.lang.String |
getScrolling()
Gets the scrolling attribute of the IFramePortlet object |
java.lang.String |
getSource()
Gets the source attribute of the IFramePortlet object |
java.lang.String |
getStyle()
Gets iframe style |
java.lang.String |
getWidth()
Gets the width attribute of the IFramePortlet object |
void |
init()
Initialize this portlet by setting inst. |
void |
setAlign(java.lang.String value)
Sets the marginheight attribute of the IFramePortlet object |
void |
setFrameBorder(java.lang.String frameBorder)
Sets the frameBorder attribute of the IFramePortlet object |
void |
setFrameName(java.lang.String value)
Sets the name of iframe. |
void |
setHeight(java.lang.String height)
Sets the height attribute of the IFramePortlet object |
void |
setMarginHeight(java.lang.String height)
Sets the marginheight attribute of the IFramePortlet object |
void |
setMarginWidth(java.lang.String width)
Sets the width attribute of the IFramePortlet object |
void |
setRefresh(java.lang.String value)
Sets the refresh meta tag |
void |
setScrolling(java.lang.String scrolling)
Sets the scrolling attribute of the IFramePortlet object |
void |
setSource(java.lang.String source)
Sets the source attribute of the IFramePortlet object |
void |
setStyle(java.lang.String value)
Sets the style of iframe. |
void |
setWidth(java.lang.String width)
Sets the width attribute of the IFramePortlet object |
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractInstancePortlet |
getHandle |
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet |
allowClose, allowCustomize, allowInfo, allowMaximize, allowMinimize, allowPrintFriendly, allowView, clearContent, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getContent, getCreationTime, getDescription, getDescription, getExpirationMillis, getExpire, getHandle, getID, getImage, getImage, getInstance, getName, getPortletConfig, getTitle, getTitle, isCacheable, isClosed, isMinimized, isShowTitleBar, providesCustomization, refresh, setAttribute, setCacheable, setCachedObject, setClosed, setContent, setContent, setContent, setCreationTime, setDescription, setExpirationMillis, setHandle, setID, setImage, setMinimized, setName, setPortletConfig, setTitle, setTitle, supportsType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IFramePortlet()
Method Detail |
public void setSource(java.lang.String source)
source
- The new source valuepublic void setScrolling(java.lang.String scrolling)
scrolling
- The new scrolling valuepublic void setWidth(java.lang.String width)
width
- The new width valuepublic void setHeight(java.lang.String height)
height
- The new height valuepublic void setFrameBorder(java.lang.String frameBorder)
frameBorder
- The new frameBorder valuepublic void setMarginWidth(java.lang.String width)
width
- The new width valuepublic void setMarginHeight(java.lang.String height)
height
- The new height valuepublic void setAlign(java.lang.String value)
public void setRefresh(java.lang.String value)
value
- in secondspublic void setStyle(java.lang.String value)
value
- public void setFrameName(java.lang.String value)
value
- public org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData runData)
getContent
in interface Portlet
getContent
in class AbstractPortlet
runData
- the RunData object for the request
public java.lang.String getSource()
public java.lang.String getScrolling()
public java.lang.String getWidth()
public java.lang.String getHeight()
public java.lang.String getFrameBorder()
public java.lang.String getNotSupportedMsg()
public java.lang.String getAlign()
public java.lang.String getStyle()
public java.lang.String getFrameName()
public java.lang.String getRefresh()
public java.lang.String getMarginHeight()
public java.lang.String getMarginWidth()
public void init() throws PortletException
init
in interface Portlet
init
in class AbstractPortlet
PortletException
- Initialization failed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |