com.atlassian.jira.web.component.subtask
Class SubTaskReorderColumnLayoutItem

java.lang.Object
  extended by com.atlassian.jira.web.component.SimpleColumnLayoutItem
      extended by com.atlassian.jira.web.component.subtask.SubTaskReorderColumnLayoutItem
All Implemented Interfaces:
ColumnLayoutItem, Comparable

public class SubTaskReorderColumnLayoutItem
extends SimpleColumnLayoutItem

This class displays a column which displays arrows for changing the sequence of sub-tasks on the view issue page.

Note that a new instance should be created for every view issue page, as it uses sequence numbers which need to be reset after each use.


Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItem
TO_ID
 
Constructor Summary
SubTaskReorderColumnLayoutItem(PermissionManager permissionManager, SubTaskBean subTaskBean, String subTaskView, Issue parentIssue, com.atlassian.crowd.embedded.api.User user, I18nHelper i18n)
           
 
Method Summary
protected  String getColumnCssClass()
          Subclasses can override this to provide their own CSS class if they need to
 String getHtml(Map displayParams, Issue issue)
          Subclasses need to implement this to return the HTML for each row.
 
Methods inherited from class com.atlassian.jira.web.component.SimpleColumnLayoutItem
compareTo, getColumnHeadingKey, getHeaderHtml, getId, getIssueObject, getNavigableField, getPosition, isAliasForField, isAliasForField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubTaskReorderColumnLayoutItem

public SubTaskReorderColumnLayoutItem(PermissionManager permissionManager,
                                      SubTaskBean subTaskBean,
                                      String subTaskView,
                                      Issue parentIssue,
                                      com.atlassian.crowd.embedded.api.User user,
                                      I18nHelper i18n)
Method Detail

getColumnCssClass

protected String getColumnCssClass()
Description copied from class: SimpleColumnLayoutItem
Subclasses can override this to provide their own CSS class if they need to

Overrides:
getColumnCssClass in class SimpleColumnLayoutItem
Returns:
a css class - defaults to empty String

getHtml

public String getHtml(Map displayParams,
                      Issue issue)
Description copied from class: SimpleColumnLayoutItem
Subclasses need to implement this to return the HTML for each row.

Specified by:
getHtml in interface ColumnLayoutItem
Specified by:
getHtml in class SimpleColumnLayoutItem


Copyright © 2002-2014 Atlassian. All Rights Reserved.