public class OwStandardFieldColumnInfoString extends Object implements OwFieldColumnInfo
Implements the OwFieldColumnInfo interface using. As opposed to OwStandardFieldColumnInfo, OwStandardFieldColumnInfoString may be instantiated providing a String type property name parameter.
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 OwString |
m_displayname
the string to display in the header
|
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
|
protected String |
m_propertyname
the object property name this column is referring to
|
ALIGNMENT_CENTER, ALIGNMENT_CENTER_NOWRAP, ALIGNMENT_DEFAULT, ALIGNMENT_LEFT, ALIGNMENT_LEFT_NOWRAP, ALIGNMENT_MAX, ALIGNMENT_RIGHT, ALIGNMENT_RIGHT_NOWRAP
Constructor and Description |
---|
OwStandardFieldColumnInfoString(OwString displayname_p,
String strPropertyName_p,
int iAlignment_p)
construct and initialize Column info tuple
|
OwStandardFieldColumnInfoString(OwString displayname_p,
String strPropertyName_p,
int iAlignment_p,
int iWidth_p)
construct and initialize Column info tuple
|
OwStandardFieldColumnInfoString(String strPropertyName_p,
int iAlignment_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 int m_iAlignment
protected OwString m_displayname
protected String m_propertyname
protected int m_iWidth
public OwStandardFieldColumnInfoString(String strPropertyName_p, int iAlignment_p)
strPropertyName_p
- String property this column is referring toiAlignment_p
- int alignment to use for the column, as defined with OwFieldColumnInfo.ALIGNMENT_...public OwStandardFieldColumnInfoString(OwString displayname_p, String strPropertyName_p, int iAlignment_p)
displayname_p
- OwString to display in the headerstrPropertyName_p
- String property this column is referring toiAlignment_p
- int alignment to use for the column, as defined with OwFieldColumnInfo.ALIGNMENT_...public OwStandardFieldColumnInfoString(OwString displayname_p, String strPropertyName_p, int iAlignment_p, int iWidth_p)
displayname_p
- OwString to display in the headerstrPropertyName_p
- String property this column is referring toiAlignment_p
- int alignment to use for the column, as defined with OwFieldColumnInfo.ALIGNMENT_...iWidth_p
- int width [%]public 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 String toString()
toString
in class Object
Object.toString()
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.