com.wewebu.ow.server.field
Interface OwFieldColumnInfo

All Known Subinterfaces:
OwHeaderFieldColumnInfo
All Known Implementing Classes:
OwHeaderFieldColumnInfoDecorator, OwStandardFieldColumnInfo, OwStandardFieldColumnInfoString

public interface OwFieldColumnInfo

Column Description for object lists. Holds a property name and the corresponding displayname.

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
static int ALIGNMENT_CENTER
          alignment to use for the column: center alignment
static int ALIGNMENT_CENTER_NOWRAP
          alignment to use for the column: center alignment, no wrap of text
static int ALIGNMENT_DEFAULT
          alignment to use for the column: use the default of the list
static int ALIGNMENT_LEFT
          alignment to use for the column: left alignment
static int ALIGNMENT_LEFT_NOWRAP
          alignment to use for the column: left alignment, no wrap of text
static int ALIGNMENT_MAX
          max number of defined alignments
static int ALIGNMENT_RIGHT
          alignment to use for the column: right alignment
static int ALIGNMENT_RIGHT_NOWRAP
          alignment to use for the column: right alignment, no wrap of text
 
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.
 

Field Detail

ALIGNMENT_DEFAULT

static final int ALIGNMENT_DEFAULT
alignment to use for the column: use the default of the list

See Also:
Constant Field Values

ALIGNMENT_LEFT

static final int ALIGNMENT_LEFT
alignment to use for the column: left alignment

See Also:
Constant Field Values

ALIGNMENT_CENTER

static final int ALIGNMENT_CENTER
alignment to use for the column: center alignment

See Also:
Constant Field Values

ALIGNMENT_RIGHT

static final int ALIGNMENT_RIGHT
alignment to use for the column: right alignment

See Also:
Constant Field Values

ALIGNMENT_LEFT_NOWRAP

static final int ALIGNMENT_LEFT_NOWRAP
alignment to use for the column: left alignment, no wrap of text

See Also:
Constant Field Values

ALIGNMENT_CENTER_NOWRAP

static final int ALIGNMENT_CENTER_NOWRAP
alignment to use for the column: center alignment, no wrap of text

See Also:
Constant Field Values

ALIGNMENT_RIGHT_NOWRAP

static final int ALIGNMENT_RIGHT_NOWRAP
alignment to use for the column: right alignment, no wrap of text

See Also:
Constant Field Values

ALIGNMENT_MAX

static final int ALIGNMENT_MAX
max number of defined alignments

See Also:
Constant Field Values
Method Detail

getDisplayName

String getDisplayName(Locale locale_p)
get the string to display in the header

Parameters:
locale_p - Locale to use
Returns:
String display name

getPropertyName

String getPropertyName()
get the object property name this column is referring to

Returns:
String property name

getAlignment

int getAlignment()
get the object property name this column is referring to

Returns:
int alignment as defined with OwFieldColumnInfo.ALIGNMENT_...

getWidth

int getWidth()
get column width in % or 0 if undefined

Returns:
int width [%]

isSortable

boolean isSortable()
Returns true if the column can be sorted.

Returns:
true if the column can be sorted.
Since:
2.5.3.0


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.