public abstract class

SimpleColumnLayoutItem

extends Object
implements ColumnLayoutItem
java.lang.Object
   ↳ com.atlassian.jira.web.component.SimpleColumnLayoutItem
Known Direct Subclasses

Class Overview

This column layout is used to be able to create columns that are just producing HTML.

It works in conjunction with IssueTableWebComponent

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItem
Public Constructors
SimpleColumnLayoutItem()
Public Methods
int compareTo(Object o)
String getColumnHeadingKey()
Return some text for the Column Header.
String getHeaderHtml()
Subclasses can override this method to provide specific header html
abstract String getHtml(Map displayParams, Issue issue)
Subclasses need to implement this to return the HTML for each row.
String getId()
Return the string form of the unique identifier for this column.
NavigableField getNavigableField()
int getPosition()
boolean isAliasForField(ApplicationUser user, String sortField)
boolean isAliasForField(User user, String sortField)
Protected Methods
String getColumnCssClass()
Subclasses can override this to provide their own CSS class if they need to
Issue getIssueObject(GenericValue genericValue)
This method is deprecated. No replacement.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItem
From interface java.lang.Comparable

Public Constructors

public SimpleColumnLayoutItem ()

Public Methods

public int compareTo (Object o)

public String getColumnHeadingKey ()

Return some text for the Column Header. By default this calls getColumnHeadingKey() but implementations can override this to provide different column headings as appropriate

Returns

public String getHeaderHtml ()

Subclasses can override this method to provide specific header html

public abstract String getHtml (Map displayParams, Issue issue)

Subclasses need to implement this to return the HTML for each row.

public String getId ()

Return the string form of the unique identifier for this column. When the column corresponds to a NavigableField, the id of the column will be the same as the id of the field.

Returns
  • the id;

public NavigableField getNavigableField ()

public int getPosition ()

public boolean isAliasForField (ApplicationUser user, String sortField)

public boolean isAliasForField (User user, String sortField)

Protected Methods

protected String getColumnCssClass ()

Subclasses can override this to provide their own CSS class if they need to

Returns
  • a css class - defaults to empty String

protected Issue getIssueObject (GenericValue genericValue)

This method is deprecated.
No replacement.