org.efaps.ui.wicket.models.objects
Class UITableHeader

java.lang.Object
  extended by org.efaps.ui.wicket.models.objects.UITableHeader
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable

public class UITableHeader
extends java.lang.Object
implements org.apache.wicket.IClusterable

Version:
$Id: UITableHeader.java 4665 2010-06-04 18:02:03Z jan.moxter $
Author:
The eFaps Team
See Also:
Serialized Form

Nested Class Summary
static class UITableHeader.FilterType
          Enum for the different types of filter.
 
Constructor Summary
UITableHeader(org.efaps.admin.ui.field.Field _field, org.efaps.admin.ui.AbstractCommand.SortDirection _sortdirection, org.efaps.admin.datamodel.Attribute _attr)
           
 
Method Summary
 org.efaps.admin.datamodel.Attribute getAttribute()
          Get the Attribute belonging to this UITableHeader.
 long getFieldId()
          Getter method for instance variable fieldId.
 java.lang.String getFieldName()
          This is the getter method for the instance variable fieldName.
 java.lang.String getFilterDefault()
          Getter method for instance variable filterDefault.
 UITableHeader.FilterType getFilterType()
          Getter method for instance variable filterType.
 java.lang.String getLabel()
           
 java.lang.String getMarkupId()
          This is the getter method for the instance variable markupId.
 org.efaps.admin.ui.AbstractCommand.SortDirection getSortDirection()
          This is the getter method for the instance variable sortDirection.
 int getWidth()
          This is the getter method for the instance variable width.
 boolean isFilter()
          This is the getter method for the instance variable filter.
 boolean isFilterApplied()
          Getter method for instance variable filterApplied.
 boolean isFilterMemoryBased()
          Getter method for instance variable filterMemoryBased.
 boolean isFilterPickList()
          Getter method for instance variable filterPickList.
 boolean isFilterRequired()
          Getter method for instance variable filterRequired.
 boolean isFixedWidth()
          This is the getter method for the instance variable fixedWidth.
 boolean isSortable()
          This is the getter method for the instance variable sortable.
 void setFilter(boolean _filter)
          Setter method for instance variable filter.
 void setFilterApplied(boolean _filterApplied)
          Setter method for instance variable filterApplied.
 void setMarkupId(java.lang.String _markupId)
          This is the setter method for the instance variable markupId.
 void setSortable(boolean _sortable)
          Setter method for instance variable sortable.
 void setSortDirection(org.efaps.admin.ui.AbstractCommand.SortDirection _sortDirection)
          This is the setter method for the instance variable sortDirection.
 void setWidth(int _width)
          This is the setter method for the instance variable width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UITableHeader

public UITableHeader(org.efaps.admin.ui.field.Field _field,
                     org.efaps.admin.ui.AbstractCommand.SortDirection _sortdirection,
                     org.efaps.admin.datamodel.Attribute _attr)
Parameters:
_field - field
_sortdirection - sort direction
_attr - attribute this field is used for
Method Detail

getAttribute

public org.efaps.admin.datamodel.Attribute getAttribute()
                                                 throws org.efaps.util.cache.CacheReloadException
Get the Attribute belonging to this UITableHeader.

Returns:
Attribute
Throws:
org.efaps.util.cache.CacheReloadException - on error

getLabel

public java.lang.String getLabel()
Returns:
translated label

isSortable

public boolean isSortable()
This is the getter method for the instance variable sortable.

Returns:
value of instance variable sortable

setFilter

public void setFilter(boolean _filter)
Setter method for instance variable filter.

Parameters:
_filter - value for instance variable filter

setSortable

public void setSortable(boolean _sortable)
Setter method for instance variable sortable.

Parameters:
_sortable - value for instance variable sortable

getFieldName

public java.lang.String getFieldName()
This is the getter method for the instance variable fieldName.

Returns:
value of instance variable fieldName

getFieldId

public long getFieldId()
Getter method for instance variable fieldId.

Returns:
value of instance variable fieldId

isFilter

public boolean isFilter()
This is the getter method for the instance variable filter.

Returns:
value of instance variable filter

getFilterType

public UITableHeader.FilterType getFilterType()
Getter method for instance variable filterType.

Returns:
value of instance variable filterType

getSortDirection

public org.efaps.admin.ui.AbstractCommand.SortDirection getSortDirection()
This is the getter method for the instance variable sortDirection.

Returns:
value of instance variable sortDirection

setSortDirection

public void setSortDirection(org.efaps.admin.ui.AbstractCommand.SortDirection _sortDirection)
This is the setter method for the instance variable sortDirection.

Parameters:
_sortDirection - the sortDirection to set

getWidth

public int getWidth()
This is the getter method for the instance variable width.

Returns:
value of instance variable width

setWidth

public void setWidth(int _width)
This is the setter method for the instance variable width.

Parameters:
_width - the width to set

isFixedWidth

public boolean isFixedWidth()
This is the getter method for the instance variable fixedWidth.

Returns:
value of instance variable fixedWidth

getMarkupId

public java.lang.String getMarkupId()
This is the getter method for the instance variable markupId.

Returns:
value of instance variable markupId

setMarkupId

public void setMarkupId(java.lang.String _markupId)
This is the setter method for the instance variable markupId.

Parameters:
_markupId - the markupId to set

isFilterPickList

public boolean isFilterPickList()
Getter method for instance variable filterPickList.

Returns:
value of instance variable filterPickList

isFilterMemoryBased

public boolean isFilterMemoryBased()
Getter method for instance variable filterMemoryBased.

Returns:
value of instance variable filterMemoryBased

isFilterRequired

public boolean isFilterRequired()
Getter method for instance variable filterRequired.

Returns:
value of instance variable filterRequired

getFilterDefault

public java.lang.String getFilterDefault()
Getter method for instance variable filterDefault.

Returns:
value of instance variable filterDefault

isFilterApplied

public boolean isFilterApplied()
Getter method for instance variable filterApplied.

Returns:
value of instance variable filterApplied

setFilterApplied

public void setFilterApplied(boolean _filterApplied)
Setter method for instance variable filterApplied.

Parameters:
_filterApplied - value for instance variable filterApplied


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.