com.pyxis.greenhopper.jira.configurations.layout
Class ListLayout

java.lang.Object
  extended by com.pyxis.greenhopper.jira.configurations.layout.ListLayout
All Implemented Interfaces:
Layout
Direct Known Subclasses:
CompactLayout, FixedListLayout, ParentLayout

public class ListLayout
extends java.lang.Object
implements Layout


Field Summary
protected  IssueFieldManager issueFieldManager
           
protected  com.atlassian.jira.issue.issuetype.IssueType issueType
           
protected  ListLayouts listLayouts
           
protected  java.lang.Integer totalWeight
           
 
Fields inherited from interface com.pyxis.greenhopper.jira.configurations.layout.Layout
CARD_HEADER_HEIGHT, LINE_HEIGHT, SUMMARY_HEADER_HEIGHT
 
Constructor Summary
ListLayout(BoardIssue boardIssue)
           
ListLayout(IssueFieldManager issueFieldManager, ListLayouts listLayouts, com.atlassian.jira.issue.issuetype.IssueType issueType)
           
 
Method Summary
 IssueField getCorner()
           
 int getCornerWidth()
           
 java.util.List<IssueField> getFields()
           
 double getHeight()
           
 com.atlassian.jira.issue.issuetype.IssueType getIssueType()
           
 int getLineCount()
           
 int getTotalWidth()
           
 int getWidth(IssueField field)
           
 boolean hasCorner()
           
 boolean isCorner(IssueField field)
           
 boolean isCrowded()
           
protected  int layoutWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

issueFieldManager

protected IssueFieldManager issueFieldManager

totalWeight

protected java.lang.Integer totalWeight

listLayouts

protected ListLayouts listLayouts

issueType

protected com.atlassian.jira.issue.issuetype.IssueType issueType
Constructor Detail

ListLayout

public ListLayout(IssueFieldManager issueFieldManager,
                  ListLayouts listLayouts,
                  com.atlassian.jira.issue.issuetype.IssueType issueType)

ListLayout

public ListLayout(BoardIssue boardIssue)
Method Detail

getIssueType

public com.atlassian.jira.issue.issuetype.IssueType getIssueType()
Specified by:
getIssueType in interface Layout

getCorner

public IssueField getCorner()
Specified by:
getCorner in interface Layout

getFields

public java.util.List<IssueField> getFields()
Specified by:
getFields in interface Layout

isCorner

public boolean isCorner(IssueField field)
Specified by:
isCorner in interface Layout

isCrowded

public boolean isCrowded()
Specified by:
isCrowded in interface Layout

hasCorner

public boolean hasCorner()
Specified by:
hasCorner in interface Layout

getWidth

public int getWidth(IssueField field)
Specified by:
getWidth in interface Layout

getCornerWidth

public int getCornerWidth()
Specified by:
getCornerWidth in interface Layout

layoutWeight

protected int layoutWeight()

getTotalWidth

public int getTotalWidth()

getLineCount

public int getLineCount()
Specified by:
getLineCount in interface Layout

getHeight

public double getHeight()
Specified by:
getHeight in interface Layout


Copyright © 2007-2012 Atlassian. All Rights Reserved.