Package com.atlassian.jira.web.component
Class SimpleColumnLayoutItem
java.lang.Object
com.atlassian.jira.web.component.SimpleColumnLayoutItem
- All Implemented Interfaces:
ColumnLayoutItem,Comparable
- Direct Known Subclasses:
AbstractSubTaskColumnLayoutItem,ActionsAndOperationsColumnLayoutItem
This column layout is used to be able to create columns that are just producing HTML.
It works in conjunction with IssueTableWebComponent
-
Field Summary
Fields inherited from interface com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItem
TO_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected StringSubclasses can override this to provide their own CSS class if they need toReturn some text for the Column Header.Subclasses can override this method to provide specific header htmlabstract StringSubclasses need to implement this to return the HTML for each row.getId()Return the string form of the unique identifier for this column.protected IssuegetIssueObject(org.ofbiz.core.entity.GenericValue genericValue) Deprecated.intbooleanisAliasForField(ApplicationUser user, String sortField)
-
Constructor Details
-
SimpleColumnLayoutItem
public SimpleColumnLayoutItem()
-
-
Method Details
-
getId
Description copied from interface:ColumnLayoutItemReturn the string form of the unique identifier for this column. When the column corresponds to aNavigableField, the id of the column will be the same as the id of the field.- Specified by:
getIdin interfaceColumnLayoutItem- Returns:
- the id;
-
getPosition
public int getPosition()- Specified by:
getPositionin interfaceColumnLayoutItem
-
getHtml
Subclasses need to implement this to return the HTML for each row.- Specified by:
getHtmlin interfaceColumnLayoutItem
-
getColumnCssClass
Subclasses can override this to provide their own CSS class if they need to- Returns:
- a css class - defaults to empty String
-
getColumnHeadingKey
Description copied from interface:ColumnLayoutItemReturn some text for the Column Header. By default this callsNavigableField.getColumnHeadingKey()but implementations can override this to provide different column headings as appropriate- Specified by:
getColumnHeadingKeyin interfaceColumnLayoutItem- Returns:
- A key, which can be run through
I18nHelper.getText(String)to get a heading
-
isAliasForField
- Specified by:
isAliasForFieldin interfaceColumnLayoutItem
-
getHeaderHtml
Subclasses can override this method to provide specific header html -
compareTo
- Specified by:
compareToin interfaceComparable
-
getIssueObject
Deprecated.