public class IssueTableLayoutBean extends Object
IssueTableWebComponent
and issuetable.vm to achieve this.
It contains sensible defaults.
Modifier and Type | Field and Description |
---|---|
static String |
CELL_NO_LINK |
static String |
CELL_TEXT_ONLY |
static String |
DEFAULT_COLUMNS |
static String |
EXCEL_VIEW
Deprecated.
use
FieldRenderingContext.EXCEL_VIEW instead |
static String |
FULL_LINK |
static String |
NAVIGATOR_VIEW
Deprecated.
use
FieldRenderingContext.NAVIGATOR_VIEW instead |
Constructor and Description |
---|
IssueTableLayoutBean(List<ColumnLayoutItem> columns) |
IssueTableLayoutBean(List<ColumnLayoutItem> columns,
Collection<SearchSort> searchSorts) |
IssueTableLayoutBean(com.atlassian.crowd.embedded.api.User user,
Collection<SearchSort> searchSorts) |
Modifier and Type | Method and Description |
---|---|
void |
addCellDisplayParam(String key,
Object value)
You can use this method to pass parameters through to individual cells / issues
for formatting.
|
String |
getActionUrl() |
Map |
getCellDisplayParams() |
List<ColumnLayoutItem> |
getColumns() |
Long |
getFilterId() |
SearchSort |
getFirstSorter() |
String |
getTableCssClass() |
boolean |
isAlternateRowColors() |
boolean |
isDisplayHeader() |
boolean |
isDisplayHeaderPager() |
boolean |
isShowActionColumn() |
boolean |
isShowExteriorTable() |
boolean |
isShowHeaderDescription() |
boolean |
isShowTableEditHeader() |
boolean |
isSortingEnabled() |
void |
setActionUrl(String actionUrl) |
void |
setAlternateRowColors(boolean alternateRowColors) |
void |
setDisplayHeader(boolean displayHeader) |
void |
setDisplayHeaderPager(boolean displayHeaderPager) |
void |
setFilterId(Long filterId) |
void |
setShowActionColumn(boolean showActionColumn) |
void |
setShowExteriorTable(boolean showExteriorTable) |
void |
setShowHeaderDescription(boolean showHeaderDescription) |
void |
setShowTableEditHeader(boolean showTableEditHeader) |
void |
setSortingEnabled(boolean sortingEnabled) |
void |
setTableCssClass(String tableCssClass)
Set the CSS class for the table element in the issue table.
|
public static final String CELL_NO_LINK
public static final String CELL_TEXT_ONLY
public static final String FULL_LINK
public static final String DEFAULT_COLUMNS
public static final String EXCEL_VIEW
FieldRenderingContext.EXCEL_VIEW
insteadpublic static final String NAVIGATOR_VIEW
FieldRenderingContext.NAVIGATOR_VIEW
insteadpublic IssueTableLayoutBean(List<ColumnLayoutItem> columns)
public IssueTableLayoutBean(List<ColumnLayoutItem> columns, Collection<SearchSort> searchSorts)
public IssueTableLayoutBean(com.atlassian.crowd.embedded.api.User user, Collection<SearchSort> searchSorts)
public List<ColumnLayoutItem> getColumns()
public SearchSort getFirstSorter()
public Long getFilterId()
public String getActionUrl()
public void addCellDisplayParam(String key, Object value)
CELL_NO_LINK
,
CELL_TEXT_ONLY
public Map getCellDisplayParams()
public boolean isSortingEnabled()
public void setSortingEnabled(boolean sortingEnabled)
public boolean isShowHeaderDescription()
public void setShowHeaderDescription(boolean showHeaderDescription)
public boolean isAlternateRowColors()
public void setAlternateRowColors(boolean alternateRowColors)
public boolean isShowTableEditHeader()
public void setShowTableEditHeader(boolean showTableEditHeader)
public void setFilterId(Long filterId)
public void setActionUrl(String actionUrl)
public void setDisplayHeader(boolean displayHeader)
public boolean isDisplayHeader()
public boolean isDisplayHeaderPager()
public void setDisplayHeaderPager(boolean displayHeaderPager)
public boolean isShowExteriorTable()
public void setShowExteriorTable(boolean showExteriorTable)
public String getTableCssClass()
public void setTableCssClass(String tableCssClass)
public boolean isShowActionColumn()
public void setShowActionColumn(boolean showActionColumn)
Copyright © 2002-2015 Atlassian. All Rights Reserved.