org.rhq.core.gui.table.component
Class SortableColumnHeaderComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by javax.faces.component.html.HtmlCommandLink
                  extended by org.rhq.core.gui.table.component.SortableColumnHeaderComponent
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.StateHolder, org.ajax4jsf.event.AjaxSource

public class SortableColumnHeaderComponent
extends javax.faces.component.html.HtmlCommandLink
implements org.ajax4jsf.event.AjaxSource

Author:
Ian Springer, Joseph Marques

Nested Class Summary
 class SortableColumnHeaderComponent.SortableColumnHeaderListener
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
SortableColumnHeaderComponent()
           
 
Method Summary
 void addAjaxListener(org.ajax4jsf.event.AjaxListener listener)
           
 org.ajax4jsf.event.AjaxListener[] getAjaxListeners()
           
 String getFamily()
           
 String getSortBy()
           
 void removeAjaxListener(org.ajax4jsf.event.AjaxListener listener)
           
 void restoreState(javax.faces.context.FacesContext context, Object state)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setSortBy(String sortBy)
           
 
Methods inherited from class javax.faces.component.html.HtmlCommandLink
getAccesskey, getCharset, getCoords, getDir, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getStyle, getStyleClass, getTabindex, getTarget, getTitle, getType, isDisabled, setAccesskey, setCharset, setCoords, setDir, setDisabled, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setType
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

SortableColumnHeaderComponent

public SortableColumnHeaderComponent()
Method Detail

getSortBy

public String getSortBy()

setSortBy

public void setSortBy(String sortBy)

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UICommand

addAjaxListener

public void addAjaxListener(org.ajax4jsf.event.AjaxListener listener)
Specified by:
addAjaxListener in interface org.ajax4jsf.event.AjaxSource

getAjaxListeners

public org.ajax4jsf.event.AjaxListener[] getAjaxListeners()
Specified by:
getAjaxListeners in interface org.ajax4jsf.event.AjaxSource

removeAjaxListener

public void removeAjaxListener(org.ajax4jsf.event.AjaxListener listener)
Specified by:
removeAjaxListener in interface org.ajax4jsf.event.AjaxSource

saveState

public Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.html.HtmlCommandLink

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.html.HtmlCommandLink


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.