org.apache.myfaces.custom.sortheader

Class HtmlCommandSortHeader

Implemented Interfaces:
UserRoleAware

public class HtmlCommandSortHeader
extends HtmlCommandLink

Version:
$Revision: 219788 $ $Date: 2005-07-20 00:30:10 +0200 (Wed, 20 Jul 2005) $
Author:
Manfred Geiler (latest modification by $Author: schof $)

Field Summary

static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE

Fields inherited from class org.apache.myfaces.component.html.ext.HtmlCommandLink

COMPONENT_TYPE

Fields inherited from interface org.apache.myfaces.component.UserRoleAware

ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR

Constructor Summary

HtmlCommandSortHeader()

Method Summary

void
broadcast(FacesEvent event)
HtmlDataTable
findParentDataTable()
String
getColumnName()
String
getFamily()
boolean
isArrow()
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setArrow(boolean arrow)
void
setColumnName(String columnName)

Methods inherited from class org.apache.myfaces.component.html.ext.HtmlCommandLink

getClientId, getEnabledOnUserRole, getTarget, getVisibleOnUserRole, isRendered, restoreState, saveState, setEnabledOnUserRole, setTarget, setVisibleOnUserRole

Field Details

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY

COMPONENT_TYPE

public static final String COMPONENT_TYPE

Constructor Details

HtmlCommandSortHeader

public HtmlCommandSortHeader()

Method Details

broadcast

public void broadcast(FacesEvent event)
            throws AbortProcessingException

findParentDataTable

public HtmlDataTable findParentDataTable()

getColumnName

public String getColumnName()

getFamily

public String getFamily()

isArrow

public boolean isArrow()

restoreState

public void restoreState(FacesContext context,
                         Object state)
Overrides:
restoreState in interface HtmlCommandLink

saveState

public Object saveState(FacesContext context)
Overrides:
saveState in interface HtmlCommandLink

setArrow

public void setArrow(boolean arrow)

setColumnName

public void setColumnName(String columnName)