org.alfresco.web.ui.common.component.data
Class UIColumn

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.alfresco.web.ui.common.component.data.UIColumn
All Implemented Interfaces:
javax.faces.component.StateHolder

public class UIColumn
extends javax.faces.component.UIComponentBase


Constructor Summary
UIColumn()
           
 
Method Summary
 boolean getActions()
           
 java.lang.String getFamily()
           
 javax.faces.component.UIComponent getFooter()
          Return the UI Component to be used as the footer for this column
 javax.faces.component.UIComponent getHeader()
          Return the UI Component to be used as the header for this column
 javax.faces.component.UIComponent getLargeIcon()
          Return the UI Component to be used as the large icon for this column
 boolean getPrimary()
           
 javax.faces.component.UIComponent getSmallIcon()
          Return the UI Component to be used as the small icon for this column
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setActions(boolean actions)
           
 void setPrimary(boolean primary)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIColumn

public UIColumn()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent
See Also:
UIComponent.getFamily()

getHeader

public javax.faces.component.UIComponent getHeader()
Return the UI Component to be used as the header for this column

Returns:
UIComponent

getFooter

public javax.faces.component.UIComponent getFooter()
Return the UI Component to be used as the footer for this column

Returns:
UIComponent

getLargeIcon

public javax.faces.component.UIComponent getLargeIcon()
Return the UI Component to be used as the large icon for this column

Returns:
UIComponent

getSmallIcon

public javax.faces.component.UIComponent getSmallIcon()
Return the UI Component to be used as the small icon for this column

Returns:
UIComponent

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase
See Also:
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase
See Also:
StateHolder.saveState(javax.faces.context.FacesContext)

getPrimary

public boolean getPrimary()
Returns:
true if this is the primary column

setPrimary

public void setPrimary(boolean primary)
Parameters:
primary - True if this is the primary column, false otherwise

getActions

public boolean getActions()
Returns:
true if this is the column containing actions for the current row

setActions

public void setActions(boolean actions)
Parameters:
actions - True if this is the column containing actions for the current row


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.