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

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.UIShelfItem
                  extended by org.alfresco.web.ui.repo.component.shelf.UIClipboardShelfItem
All Implemented Interfaces:
javax.faces.component.StateHolder

public class UIClipboardShelfItem
extends UIShelfItem


Nested Class Summary
static class UIClipboardShelfItem.ClipboardEvent
          Class representing the an action relevant to the Clipboard element.
 
Field Summary
static int ACTION_PASTE_ALL
           
static int ACTION_PASTE_ITEM
           
static int ACTION_PASTE_LINK
           
static int ACTION_REMOVE_ALL
           
static int ACTION_REMOVE_ITEM
           
 
Fields inherited from class org.alfresco.web.ui.repo.component.shelf.UIShelfItem
SHELF_END, SHELF_START
 
Constructor Summary
UIClipboardShelfItem()
           
 
Method Summary
 void broadcast(javax.faces.event.FacesEvent event)
           
 void decode(javax.faces.context.FacesContext context)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
 java.util.List getCollections()
           
 javax.faces.el.MethodBinding getPasteActionListener()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setCollections(java.util.List collections)
           
 void setPasteActionListener(javax.faces.el.MethodBinding binding)
           
 
Methods inherited from class org.alfresco.web.ui.repo.component.shelf.UIShelfItem
getFamily
 
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
outputAttribute
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, 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
 

Field Detail

ACTION_REMOVE_ITEM

public static final int ACTION_REMOVE_ITEM
See Also:
Constant Field Values

ACTION_REMOVE_ALL

public static final int ACTION_REMOVE_ALL
See Also:
Constant Field Values

ACTION_PASTE_ITEM

public static final int ACTION_PASTE_ITEM
See Also:
Constant Field Values

ACTION_PASTE_ALL

public static final int ACTION_PASTE_ALL
See Also:
Constant Field Values

ACTION_PASTE_LINK

public static final int ACTION_PASTE_LINK
See Also:
Constant Field Values
Constructor Detail

UIClipboardShelfItem

public UIClipboardShelfItem()
Method Detail

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)

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)

setCollections

public void setCollections(java.util.List collections)
Parameters:
collections - Set the clipboard item collections to use

getCollections

public java.util.List getCollections()
Returns:
The clipboard item collections to use

setPasteActionListener

public void setPasteActionListener(javax.faces.el.MethodBinding binding)
Parameters:
binding - The MethodBinding to call when Paste is selected by the user

getPasteActionListener

public javax.faces.el.MethodBinding getPasteActionListener()
Returns:
The MethodBinding to call when Paste is selected by the user


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