org.alfresco.web.ui.repo.component.shelf
Class UIShelf

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
              extended by org.alfresco.web.ui.repo.component.shelf.UIShelf
All Implemented Interfaces:
javax.faces.component.StateHolder

public class UIShelf
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent


Nested Class Summary
static class UIShelf.ShelfEvent
          Class representing the an action event relevant to the Shelf.
 
Constructor Summary
UIShelf()
           
 
Method Summary
 void broadcast(javax.faces.event.FacesEvent event)
           
 void decode(javax.faces.context.FacesContext context)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
 void encodeChildren(javax.faces.context.FacesContext context)
           
 void encodeEnd(javax.faces.context.FacesContext context)
           
 java.lang.String getFamily()
           
 java.lang.String getGroupBgcolor()
           
 javax.faces.el.MethodBinding getGroupExpandedActionListener()
           
 java.lang.String getGroupPanel()
           
 java.lang.String getInnerGroupBgcolor()
           
 java.lang.String getInnerGroupPanel()
           
 boolean getRendersChildren()
           
 java.lang.String getSelectedGroupBgcolor()
           
 java.lang.String getSelectedGroupPanel()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setGroupBgcolor(java.lang.String groupBgcolor)
           
 void setGroupExpandedActionListener(javax.faces.el.MethodBinding binding)
           
 void setGroupPanel(java.lang.String groupPanel)
           
 void setInnerGroupBgcolor(java.lang.String innerGroupBgcolor)
           
 void setInnerGroupPanel(java.lang.String innerGroupPanel)
           
 void setSelectedGroupBgcolor(java.lang.String selectedGroupBgcolor)
           
 void setSelectedGroupPanel(java.lang.String selectedGroupPanel)
           
 
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
outputAttribute
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, 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

UIShelf

public UIShelf()
Method Detail

getFamily

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

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)

setGroupExpandedActionListener

public void setGroupExpandedActionListener(javax.faces.el.MethodBinding binding)
Parameters:
binding - The MethodBinding to call when the Group expand action is performed by the user

getGroupExpandedActionListener

public javax.faces.el.MethodBinding getGroupExpandedActionListener()
Returns:
The MethodBinding to call for the Group expand action

decode

public void decode(javax.faces.context.FacesContext context)
Overrides:
decode in class javax.faces.component.UIComponentBase
See Also:
UIComponentBase.decode(javax.faces.context.FacesContext)

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class javax.faces.component.UIComponentBase
Throws:
javax.faces.event.AbortProcessingException
See Also:
UIComponentBase.broadcast(javax.faces.event.FacesEvent)

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException
See Also:
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context)
                    throws java.io.IOException
Overrides:
encodeChildren in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException
See Also:
UIComponentBase.encodeChildren(javax.faces.context.FacesContext)

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context)
               throws java.io.IOException
Overrides:
encodeEnd in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException
See Also:
UIComponentBase.encodeEnd(javax.faces.context.FacesContext)

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase
See Also:
UIComponentBase.getRendersChildren()

getGroupPanel

public java.lang.String getGroupPanel()
Returns:
Returns the group panel name.

setGroupPanel

public void setGroupPanel(java.lang.String groupPanel)
Parameters:
groupPanel - The group panel name to set.

getGroupBgcolor

public java.lang.String getGroupBgcolor()
Returns:
Returns the group background colour.

setGroupBgcolor

public void setGroupBgcolor(java.lang.String groupBgcolor)
Parameters:
groupBgcolor - The group background colour to set.

getSelectedGroupPanel

public java.lang.String getSelectedGroupPanel()
Returns:
Returns the selected group panel name.

setSelectedGroupPanel

public void setSelectedGroupPanel(java.lang.String selectedGroupPanel)
Parameters:
selectedGroupPanel - The selected group panel name to set.

getSelectedGroupBgcolor

public java.lang.String getSelectedGroupBgcolor()
Returns:
Returns the selected group background colour.

setSelectedGroupBgcolor

public void setSelectedGroupBgcolor(java.lang.String selectedGroupBgcolor)
Parameters:
selectedGroupBgcolor - The selected group background colour to set.

getInnerGroupPanel

public java.lang.String getInnerGroupPanel()
Returns:
Returns the inner group panel name.

setInnerGroupPanel

public void setInnerGroupPanel(java.lang.String innerGroupPanel)
Parameters:
innerGroupPanel - The inner group panel name to set.

getInnerGroupBgcolor

public java.lang.String getInnerGroupBgcolor()
Returns:
Returns the inner group background colour.

setInnerGroupBgcolor

public void setInnerGroupBgcolor(java.lang.String innerGroupBgcolor)
Parameters:
innerGroupBgcolor - The inner group background colour to set.


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