public class OwStandardFieldColumnInfo extends Object implements OwFieldColumnInfo
Standard implementation of the OwFieldColumnInfo Interface.
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
Modifier and Type | Field and Description |
---|---|
protected OwFieldDefinition |
m_fielddefinition
field info for the column
|
protected int |
m_iAlignment
the alignment to use for the column, as defined with OwFieldColumnInfo.ALIGNMENT_...
|
protected int |
m_iWidth
column width in % or 0 if undefined
|
ALIGNMENT_CENTER, ALIGNMENT_CENTER_NOWRAP, ALIGNMENT_DEFAULT, ALIGNMENT_LEFT, ALIGNMENT_LEFT_NOWRAP, ALIGNMENT_MAX, ALIGNMENT_RIGHT, ALIGNMENT_RIGHT_NOWRAP
Constructor and Description |
---|
OwStandardFieldColumnInfo(OwFieldDefinition field_p)
construct and initialize Column info tuple
|
OwStandardFieldColumnInfo(OwFieldDefinition field_p,
int iAlignment_p)
construct and initialize Column info tuple
|
OwStandardFieldColumnInfo(OwFieldDefinition field_p,
int iAlignment_p,
int iWidth_p)
construct and initialize Column info tuple
|
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 |
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. |
String |
toString() |
protected OwFieldDefinition m_fielddefinition
protected int m_iAlignment
protected int m_iWidth
public OwStandardFieldColumnInfo(OwFieldDefinition field_p, int iAlignment_p, int iWidth_p)
field_p
- OwFieldDefinitioniAlignment_p
- int alignment to use for the column, as defined with OwFieldColumnInfo.ALIGNMENT_...iWidth_p
- int width [%]public OwStandardFieldColumnInfo(OwFieldDefinition field_p, int iAlignment_p)
field_p
- OwFieldDefinitioniAlignment_p
- int alignment to use for the column, as defined with OwFieldColumnInfo.ALIGNMENT_...public OwStandardFieldColumnInfo(OwFieldDefinition field_p)
field_p
- OwFieldDefinitionpublic String getDisplayName(Locale locale_p)
getDisplayName
in interface OwFieldColumnInfo
locale_p
- Locale to usepublic String getPropertyName()
getPropertyName
in interface OwFieldColumnInfo
public int getAlignment()
getAlignment
in interface OwFieldColumnInfo
public int getWidth()
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.OwFieldColumnInfo.isSortable()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.