com.wewebu.ow.server.field
Class OwHeaderFieldColumnInfoDecorator

java.lang.Object
  extended by com.wewebu.ow.server.field.OwHeaderFieldColumnInfoDecorator
All Implemented Interfaces:
OwFieldColumnInfo, OwHeaderFieldColumnInfo

public class OwHeaderFieldColumnInfoDecorator
extends Object
implements OwHeaderFieldColumnInfo

Header ID decorator of standard OwFieldColumnInfos.

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

Since:
3.2.0.0

Field Summary
 
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
OwHeaderFieldColumnInfoDecorator(OwFieldColumnInfo fieldInfo_p, String headerID_p)
           
 
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 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwHeaderFieldColumnInfoDecorator

public OwHeaderFieldColumnInfoDecorator(OwFieldColumnInfo fieldInfo_p,
                                        String headerID_p)
Method Detail

getDisplayName

public String getDisplayName(Locale locale_p)
Description copied from interface: OwFieldColumnInfo
get the string to display in the header

Specified by:
getDisplayName in interface OwFieldColumnInfo
Parameters:
locale_p - Locale to use
Returns:
String display name

getPropertyName

public String getPropertyName()
Description copied from interface: OwFieldColumnInfo
get the object property name this column is referring to

Specified by:
getPropertyName in interface OwFieldColumnInfo
Returns:
String property name

getAlignment

public int getAlignment()
Description copied from interface: OwFieldColumnInfo
get the object property name this column is referring to

Specified by:
getAlignment in interface OwFieldColumnInfo
Returns:
int alignment as defined with OwFieldColumnInfo.ALIGNMENT_...

getWidth

public int getWidth()
Description copied from interface: OwFieldColumnInfo
get column width in % or 0 if undefined

Specified by:
getWidth in interface OwFieldColumnInfo
Returns:
int width [%]

isSortable

public boolean isSortable()
Description copied from interface: OwFieldColumnInfo
Returns true if the column can be sorted.

Specified by:
isSortable in interface OwFieldColumnInfo
Returns:
true if the column can be sorted.

getHeaderID

public String getHeaderID()
Specified by:
getHeaderID in interface OwHeaderFieldColumnInfo
Returns:
String ID of the owner header


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.