Class SimpleLinkSectionImpl
java.lang.Object
com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
- All Implemented Interfaces:
SimpleLinkSection
- Direct Known Subclasses:
SimpleLinkImpl
Default implementation of
SimpleLinkSection.
Simple bean containing no real logic.- Since:
- v4.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleLinkSectionImpl(String id, SimpleLinkSectionImpl copy) SimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style, Map<String, String> params) Constructor taking all attributes of a sectionSimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style, Map<String, String> params, Integer weight) Constructor taking all attributes of a section -
Method Summary
-
Field Details
-
label
-
title
-
iconUrl
-
style
-
id
-
params
-
weight
-
-
Constructor Details
-
SimpleLinkSectionImpl
public SimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style, Map<String, String> params) Constructor taking all attributes of a section- Parameters:
id- The unique id of the sectionlabel- The optional label to display for the sectiontitle- The optional title (tooltip) of the sectioniconUrl- The optional url pointing an image for the sectionstyle- The optional style to apply to the section
-
SimpleLinkSectionImpl
public SimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style, Map<String, String> params, Integer weight) Constructor taking all attributes of a section- Parameters:
id- The unique id of the sectionlabel- The optional label to display for the sectiontitle- The optional title (tooltip) of the sectioniconUrl- The optional url pointing an image for the sectionstyle- The optional style to apply to the section
-
SimpleLinkSectionImpl
-
-
Method Details
-
getLabel
Description copied from interface:SimpleLinkSectionThe label for the section- Specified by:
getLabelin interfaceSimpleLinkSection- Returns:
- The label for the section
-
getTitle
Description copied from interface:SimpleLinkSectionThe title (tooltip) for the section- Specified by:
getTitlein interfaceSimpleLinkSection- Returns:
- The title (tooltip) for the section
-
getIconUrl
Description copied from interface:SimpleLinkSectionThe url for the icon for the section- Specified by:
getIconUrlin interfaceSimpleLinkSection- Returns:
- The url for the icon for the section
-
getStyleClass
Description copied from interface:SimpleLinkSectionThe style to aply to the section- Specified by:
getStyleClassin interfaceSimpleLinkSection- Returns:
- The style to apply to the section
-
getId
Description copied from interface:SimpleLinkSectionThe unique id for the section. This should not be null.- Specified by:
getIdin interfaceSimpleLinkSection- Returns:
- The unique id for the section.
-
getParams
Description copied from interface:SimpleLinkSectionGet params associated with this section- Specified by:
getParamsin interfaceSimpleLinkSection- Returns:
- untyped params of this section
-
getWeight
Description copied from interface:SimpleLinkSectionThe weight for the section- Specified by:
getWeightin interfaceSimpleLinkSection- Returns:
- The weight for the section
-