public class

SimpleLinkSectionImpl

extends Object
implements SimpleLinkSection
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
Known Direct Subclasses

Class Overview

Default implementation of SimpleLinkSection. Simple bean containing no real logic.

Summary

Fields
protected final String iconUrl
protected final String id
protected final String label
protected final Map<StringString> params
protected final String style
protected final String title
protected final Integer weight
Public Constructors
SimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style, Map<StringString> params)
Constructor taking all attributes of a section
SimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style, Map<StringString> params, Integer weight)
Constructor taking all attributes of a section
SimpleLinkSectionImpl(String id, SimpleLinkSectionImpl copy)
Public Methods
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<StringString> 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
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.webfragment.model.SimpleLinkSection

Fields

protected final String iconUrl

protected final String id

protected final String label

protected final Map<StringString> params

protected final String style

protected final String title

protected final Integer weight

Public Constructors

public SimpleLinkSectionImpl (String id, String label, String title, String iconUrl, String style, Map<StringString> params)

Constructor taking all attributes of a section

Parameters
id The unique id of the section
label The optional label to display for the section
title The optional title (tooltip) of the section
iconUrl The optional url pointing an image for the section
style The optional style to apply to the section

public SimpleLinkSectionImpl (String id, String label, String title, String iconUrl, String style, Map<StringString> params, Integer weight)

Constructor taking all attributes of a section

Parameters
id The unique id of the section
label The optional label to display for the section
title The optional title (tooltip) of the section
iconUrl The optional url pointing an image for the section
style The optional style to apply to the section

public SimpleLinkSectionImpl (String id, SimpleLinkSectionImpl copy)

Public Methods

public String getIconUrl ()

The url for the icon for the section

Returns
  • The url for the icon for the section

public String getId ()

The unique id for the section. This should not be null.

Returns
  • The unique id for the section.

public String getLabel ()

The label for the section

Returns
  • The label for the section

public Map<StringString> getParams ()

Get params associated with this section

Returns
  • untyped params of this section

public String getStyleClass ()

The style to aply to the section

Returns
  • The style to aply to the section

public String getTitle ()

The title (tooltip) for the section

Returns
  • The title (tooltip) for the section

public Integer getWeight ()

The weight for the section

Returns
  • The weight for the section