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, java.lang.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.


Constructor Summary
SubTaskReorderColumnLayoutItem(PermissionManager permissionManager, SubTaskBean subTaskBean, java.lang.String subTaskView, Issue parentIssue, com.opensymphony.user.User user, I18nHelper i18n)
           
 
Method Summary
protected  java.lang.String getColumnCssClass()
          Subclasses can override this to provide their own CSS class if they need to
 java.lang.String getHtml(java.util.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, getIssueObject, getNavigableField, getPosition, 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,
                                      java.lang.String subTaskView,
                                      Issue parentIssue,
                                      com.opensymphony.user.User user,
                                      I18nHelper i18n)
Method Detail

getColumnCssClass

protected java.lang.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 java.lang.String getHtml(java.util.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-2010 Atlassian. All Rights Reserved.