com.atlassian.jira.plugin.webfragment.model
Class SimpleLinkSectionImpl

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
All Implemented Interfaces:
SimpleLinkSection
Direct Known Subclasses:
SimpleLinkImpl

public class SimpleLinkSectionImpl
extends Object
implements SimpleLinkSection

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

Since:
v4.0

Field Summary
protected  String iconUrl
           
protected  String id
           
protected  String label
           
protected  String style
           
protected  String title
           
 
Constructor Summary
SimpleLinkSectionImpl(String id, String label, String title, String iconUrl, String style)
          Constructor taking all attributes of a section
 
Method Summary
 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
 String getStyleClass()
          The style to aply to the section
 String getTitle()
          The title (tooltip) for the section
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

protected final String label

title

protected final String title

iconUrl

protected final String iconUrl

style

protected final String style

id

protected final String id
Constructor Detail

SimpleLinkSectionImpl

public SimpleLinkSectionImpl(String id,
                             String label,
                             String title,
                             String iconUrl,
                             String style)
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
Method Detail

getLabel

public String getLabel()
Description copied from interface: SimpleLinkSection
The label for the section

Specified by:
getLabel in interface SimpleLinkSection
Returns:
The label for the section

getTitle

public String getTitle()
Description copied from interface: SimpleLinkSection
The title (tooltip) for the section

Specified by:
getTitle in interface SimpleLinkSection
Returns:
The title (tooltip) for the section

getIconUrl

public String getIconUrl()
Description copied from interface: SimpleLinkSection
The url for the icon for the section

Specified by:
getIconUrl in interface SimpleLinkSection
Returns:
The url for the icon for the section

getStyleClass

public String getStyleClass()
Description copied from interface: SimpleLinkSection
The style to aply to the section

Specified by:
getStyleClass in interface SimpleLinkSection
Returns:
The style to aply to the section

getId

public String getId()
Description copied from interface: SimpleLinkSection
The unique id for the section. This should not be null.

Specified by:
getId in interface SimpleLinkSection
Returns:
The unique id for the section.


Copyright © 2002-2010 Atlassian. All Rights Reserved.