public class SimpleLinkSectionImpl extends Object implements SimpleLinkSection
SimpleLinkSection
.
Simple bean containing no real logic.Modifier and Type | Field and Description |
---|---|
protected String |
iconUrl |
protected String |
id |
protected String |
label |
protected Map<String,String> |
params |
protected String |
style |
protected String |
title |
protected Integer |
weight |
Constructor and Description |
---|
SimpleLinkSectionImpl(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 section
|
SimpleLinkSectionImpl(String id,
String label,
String title,
String iconUrl,
String style,
Map<String,String> params,
Integer weight)
Constructor taking all attributes of a section
|
Modifier and Type | Method and Description |
---|---|
String |
getIconUrl()
The url for the icon for the section
|
String |
getId()
The unique id for the section.
|
String |
getLabel()
The label for the section
|
Map<String,String> |
getParams()
Get params associated with this section
|
String |
getStyleClass()
The style to aply to the section
|
String |
getTitle()
The title (tooltip) for the section
|
Integer |
getWeight()
The weight for the section
|
protected final String label
protected final String title
protected final String iconUrl
protected final String style
protected final String id
protected final Integer weight
public SimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style, Map<String,String> params)
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 sectionpublic SimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style, Map<String,String> params, Integer weight)
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 sectionpublic SimpleLinkSectionImpl(String id, SimpleLinkSectionImpl copy)
public String getLabel()
SimpleLinkSection
getLabel
in interface SimpleLinkSection
public String getTitle()
SimpleLinkSection
getTitle
in interface SimpleLinkSection
public String getIconUrl()
SimpleLinkSection
getIconUrl
in interface SimpleLinkSection
public String getStyleClass()
SimpleLinkSection
getStyleClass
in interface SimpleLinkSection
public String getId()
SimpleLinkSection
getId
in interface SimpleLinkSection
public Map<String,String> getParams()
SimpleLinkSection
getParams
in interface SimpleLinkSection
public Integer getWeight()
SimpleLinkSection
getWeight
in interface SimpleLinkSection
Copyright © 2002-2022 Atlassian. All Rights Reserved.