public class OwHeaderFieldColumnInfoDecorator extends Object implements OwHeaderFieldColumnInfo
Header ID decorator of standard OwFieldColumnInfo
s.
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)
OwFieldColumnInfo
getDisplayName
in interface OwFieldColumnInfo
locale_p
- Locale to usepublic String getPropertyName()
OwFieldColumnInfo
getPropertyName
in interface OwFieldColumnInfo
public int getAlignment()
OwFieldColumnInfo
getAlignment
in interface OwFieldColumnInfo
public int getWidth()
OwFieldColumnInfo
getWidth
in interface OwFieldColumnInfo
public boolean isSortable()
OwFieldColumnInfo
true
if the column can be sorted.isSortable
in interface OwFieldColumnInfo
true
if the column can be sorted.public String getHeaderID()
getHeaderID
in interface OwHeaderFieldColumnInfo
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.