Interface ViewProfilePanel
- All Known Implementing Classes:
DarkFeaturesUserProfilePanel,DefaultProfilePanel,ReferenceViewProfileTabPanel,SummaryUserProfilePanel
@PublicSpi
public interface ViewProfilePanel
Defines a "panel" of content that will be displayed on the view profile page, in the center. These panels will
be groups by named "tabs".
- Since:
- v3.12
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe default velocity template name that is used to render the view. -
Method Summary
Modifier and TypeMethodDescriptiongetHtml(ApplicationUser profileUser) Renders the html to be used in this profile panel.voidinit(ViewProfilePanelModuleDescriptor moduleDescriptor) This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.
-
Field Details
-
VIEW_TEMPLATE
The default velocity template name that is used to render the view.- See Also:
-
-
Method Details
-
init
This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.- Parameters:
moduleDescriptor- the controlling class that doles out this module.
-
getHtml
Renders the html to be used in this profile panel.- Parameters:
profileUser- The user whose profile is being viewed. May be null.- Returns:
- the html content.
-