|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.field.OwStandardFieldColumnInfoString
public class OwStandardFieldColumnInfoString
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
Field Summary | |
---|---|
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 |
Fields inherited from interface com.wewebu.ow.server.field.OwFieldColumnInfo |
---|
ALIGNMENT_CENTER, ALIGNMENT_CENTER_NOWRAP, ALIGNMENT_DEFAULT, ALIGNMENT_LEFT, ALIGNMENT_LEFT_NOWRAP, ALIGNMENT_MAX, ALIGNMENT_RIGHT, ALIGNMENT_RIGHT_NOWRAP |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int m_iAlignment
protected OwString m_displayname
protected String m_propertyname
protected int m_iWidth
Constructor Detail |
---|
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 [%]Method Detail |
---|
public String getDisplayName(Locale locale_p)
getDisplayName
in interface OwFieldColumnInfo
locale_p
- Locale to use
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |