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:SimpleLinkSection
The label for the section- Specified by:
getLabel
in interfaceSimpleLinkSection
- Returns:
- The label for the section
-
getTitle
Description copied from interface:SimpleLinkSection
The title (tooltip) for the section- Specified by:
getTitle
in interfaceSimpleLinkSection
- Returns:
- The title (tooltip) for the section
-
getIconUrl
Description copied from interface:SimpleLinkSection
The url for the icon for the section- Specified by:
getIconUrl
in interfaceSimpleLinkSection
- Returns:
- The url for the icon for the section
-
getStyleClass
Description copied from interface:SimpleLinkSection
The style to aply to the section- Specified by:
getStyleClass
in interfaceSimpleLinkSection
- Returns:
- The style to apply to the section
-
getId
Description copied from interface:SimpleLinkSection
The unique id for the section. This should not be null.- Specified by:
getId
in interfaceSimpleLinkSection
- Returns:
- The unique id for the section.
-
getParams
Description copied from interface:SimpleLinkSection
Get params associated with this section- Specified by:
getParams
in interfaceSimpleLinkSection
- Returns:
- untyped params of this section
-
getWeight
Description copied from interface:SimpleLinkSection
The weight for the section- Specified by:
getWeight
in interfaceSimpleLinkSection
- Returns:
- The weight for the section
-