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 java.lang.Object
implements SimpleLinkSection

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

Since:
v4.0

Field Summary
protected  java.lang.String iconUrl
           
protected  java.lang.String id
           
protected  java.lang.String label
           
protected  java.lang.String style
           
protected  java.lang.String title
           
 
Constructor Summary
SimpleLinkSectionImpl(java.lang.String id, java.lang.String label, java.lang.String title, java.lang.String iconUrl, java.lang.String style)
          Constructor taking all attributes of a section
 
Method Summary
 java.lang.String getIconUrl()
          The url for the icon for the section
 java.lang.String getId()
          The unique id for the section.
 java.lang.String getLabel()
          The label for the section
 java.lang.String getStyleClass()
          The style to aply to the section
 java.lang.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 java.lang.String label

title

protected final java.lang.String title

iconUrl

protected final java.lang.String iconUrl

style

protected final java.lang.String style

id

protected final java.lang.String id
Constructor Detail

SimpleLinkSectionImpl

public SimpleLinkSectionImpl(java.lang.String id,
                             java.lang.String label,
                             java.lang.String title,
                             java.lang.String iconUrl,
                             java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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.