Interface ColumnLayoutItem
- All Superinterfaces:
Comparable
- All Known Implementing Classes:
AbstractSubTaskColumnLayoutItem,ActionsAndOperationsColumnLayoutItem,ColumnLayoutItemImpl,ExcelColumnLayoutItem,SimpleColumnLayoutItem,SubTaskReorderColumnLayoutItem,SubTaskSequenceColumnLayoutItem
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.common.base.Function<ColumnLayoutItem,String> Transform to its id. -
Method Summary
Modifier and TypeMethodDescriptionReturn some text for the Column Header.getId()Return the string form of the unique identifier for this column.intbooleanisAliasForField(ApplicationUser user, String sortField) Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
TO_ID
Transform to its id.
-
-
Method Details
-
getId
String getId()Return 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.- Returns:
- the id;
-
isAliasForField
-
getPosition
int getPosition() -
getHtml
-
getColumnHeadingKey
String getColumnHeadingKey()Return some text for the Column Header. By default this callsNavigableField.getColumnHeadingKey()but implementations can override this to provide different column headings as appropriate- Returns:
- A key, which can be run through
I18nHelper.getText(String)to get a heading