| java.lang.Object org.gridsphere.layout.BaseComponentLifecycle org.gridsphere.layout.BasePortletComponent
All known Subclasses: org.gridsphere.layout.PortletBar, org.gridsphere.layout.PortletFrame, org.gridsphere.layout.PortletContainer, org.gridsphere.layout.PortletNavMenu, org.gridsphere.layout.PortletTitleBar, org.gridsphere.layout.PortletStaticContent, org.gridsphere.layout.PortletPage, org.gridsphere.layout.PortletFrameLayout, org.gridsphere.layout.PortletTab, org.gridsphere.layout.SelectionContainer, org.gridsphere.layout.PortletContent,
BasePortletComponent | abstract public class BasePortletComponent extends BaseComponentLifecycle implements PortletComponent,Serializable(Code) | | BasePortletComponent represents an abstract portlet component with a particular
size, layout and theme and is subclasses by concrete portlet component instances.
|
LAYOUT_MAPPING_PATH | protected URL LAYOUT_MAPPING_PATH(Code) | | |
canModify | protected boolean canModify(Code) | | |
isVisible | protected boolean isVisible(Code) | | |
actionPerformed | public void actionPerformed(GridSphereEvent event)(Code) | | Performs an action on this portlet component
Parameters: event - a gridsphere event |
doRender | public void doRender(GridSphereEvent event)(Code) | | Renders the portlet component
Parameters: event - a gridsphere event |
getCanModify | public boolean getCanModify()(Code) | | |
getDefaultWidth | public String getDefaultWidth()(Code) | | Returns the default portlet component width
the default portlet component width |
getLabel | public String getLabel()(Code) | | Returns the portlet component label
the portlet component label |
getRequiredRole | public String getRequiredRole()(Code) | | Allows a required role to be associated with viewing this portlet
the required portlet role expressed as a String |
getStyle | public String getStyle()(Code) | | Returns the portlet component css.
portlet component css |
getVisible | public boolean getVisible()(Code) | | Return true if the portlet component visibility is true
the portlet component visibility |
getWidth | public String getWidth()(Code) | | Returns the portlet component width
the portlet component width |
init | public List<ComponentIdentifier> init(PortletRequest req, List<ComponentIdentifier> list)(Code) | | Initializes the portlet component. Since the components are isolated
after Castor unmarshalls from XML, the ordering is determined by a
passed in List containing the previous portlet components in the tree.
Parameters: list - a list of component identifiers a list of updated component identifiers See Also: ComponentIdentifier |
remove | public void remove()(Code) | | |
setCanModify | public void setCanModify(boolean canModify)(Code) | | |
setLabel | public void setLabel(String label)(Code) | | Sets the portlet component label
Parameters: label - the portlet component label |
setRequiredRole | public void setRequiredRole(String roleString)(Code) | | Allows a required role to be associated with viewing this portlet
Parameters: roleString - the required portlet role expressed as a String |
setStyle | public void setStyle(String style)(Code) | | Sets the portlet component css
Parameters: style - style to be set |
setVisible | public void setVisible(boolean isVisible)(Code) | | When set to true the portlet component is visible and will be rendered
Parameters: isVisible - if true portlet component is rendered,false otherwise |
setWidth | public void setWidth(String width)(Code) | | Sets the portlet component width
Parameters: width - the portlet component width |
|
|