public class OwHeaderFieldColumnInfoDecorator extends Object implements OwHeaderFieldColumnInfo
Header ID decorator of standard OwFieldColumnInfos.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
ALIGNMENT_CENTER, ALIGNMENT_CENTER_NOWRAP, ALIGNMENT_DEFAULT, ALIGNMENT_LEFT, ALIGNMENT_LEFT_NOWRAP, ALIGNMENT_MAX, ALIGNMENT_RIGHT, ALIGNMENT_RIGHT_NOWRAP| Constructor and Description |
|---|
OwHeaderFieldColumnInfoDecorator(OwFieldColumnInfo fieldInfo_p,
String headerID_p) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlignment()
get the object property name this column is referring to
|
String |
getDisplayName(Locale locale_p)
get the string to display in the header
|
String |
getHeaderID() |
String |
getPropertyName()
get the object property name this column is referring to
|
int |
getWidth()
get column width in % or 0 if undefined
|
boolean |
isSortable()
Returns
true if the column can be sorted. |
public OwHeaderFieldColumnInfoDecorator(OwFieldColumnInfo fieldInfo_p, String headerID_p)
public String getDisplayName(Locale locale_p)
OwFieldColumnInfogetDisplayName in interface OwFieldColumnInfolocale_p - Locale to usepublic String getPropertyName()
OwFieldColumnInfogetPropertyName in interface OwFieldColumnInfopublic int getAlignment()
OwFieldColumnInfogetAlignment in interface OwFieldColumnInfopublic int getWidth()
OwFieldColumnInfogetWidth in interface OwFieldColumnInfopublic boolean isSortable()
OwFieldColumnInfotrue if the column can be sorted.isSortable in interface OwFieldColumnInfotrue if the column can be sorted.public String getHeaderID()
getHeaderID in interface OwHeaderFieldColumnInfoCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.