|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.field.OwStandardFieldColumnInfo
public class OwStandardFieldColumnInfo
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
Field Summary | |
---|---|
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 |
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 | |
---|---|
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 |
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 OwFieldDefinition m_fielddefinition
protected int m_iAlignment
protected int m_iWidth
Constructor Detail |
---|
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
- OwFieldDefinitionMethod 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
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 |