public class UIClipboardShelfItem extends UIShelfItem
Modifier and Type | Class and Description |
---|---|
static class |
UIClipboardShelfItem.ClipboardEvent
Class representing the an action relevant to the Clipboard element.
|
Modifier and Type | Field and Description |
---|---|
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 |
SHELF_END, SHELF_START
Constructor and Description |
---|
UIClipboardShelfItem() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(FacesEvent event) |
void |
decode(FacesContext context) |
void |
encodeBegin(FacesContext context) |
List<ClipboardItem> |
getCollections() |
MethodBinding |
getPasteActionListener() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setCollections(List<ClipboardItem> collections) |
void |
setPasteActionListener(MethodBinding binding) |
getFamily
outputAttribute
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
public static final int ACTION_REMOVE_ITEM
public static final int ACTION_REMOVE_ALL
public static final int ACTION_PASTE_ITEM
public static final int ACTION_PASTE_ALL
public static final int ACTION_PASTE_LINK
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIComponentBase
StateHolder.saveState(javax.faces.context.FacesContext)
public void decode(FacesContext context)
decode
in class UIComponentBase
UIComponentBase.decode(javax.faces.context.FacesContext)
public void broadcast(FacesEvent event) throws AbortProcessingException
broadcast
in class UIComponentBase
AbortProcessingException
UIComponentBase.broadcast(javax.faces.event.FacesEvent)
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
public void setCollections(List<ClipboardItem> collections)
collections
- Set the clipboard item collections to usepublic List<ClipboardItem> getCollections()
public void setPasteActionListener(MethodBinding binding)
binding
- The MethodBinding to call when Paste is selected by the userpublic MethodBinding getPasteActionListener()
Copyright © 2005–2017 Alfresco Software. All rights reserved.