public class RichListView extends PartialRichListView implements org.apache.myfaces.trinidad.model.RowKeyIndex, org.apache.myfaces.trinidad.component.CollectionComponent, DragSourceFactory
org.apache.myfaces.trinidad.component.UIXCollection.NoColumnFacetsVisitContext
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COMPONENT_FAMILY, COMPONENT_TYPE, CUSTOMIZATION_ID_KEY, EMPTY_TEXT_KEY, FETCH_SIZE_KEY, GROUP_DISCLOSURE_POLICY_INITIALLY_EXPANDED, GROUP_DISCLOSURE_POLICY_KEY, GROUP_DISCLOSURE_POLICY_NO_DISCLOSURE, GROUP_HEADER_STAMP_FACET, IMMEDIATE_KEY, INLINE_STYLE_KEY, PARTIAL_TRIGGERS_KEY, SELECTION_KEY, SELECTION_MULTIPLE, SELECTION_NONE, SELECTION_SINGLE, SHORT_DESC_KEY, STYLE_CLASS_KEY, UNSECURE_KEY, VISIBLE_KEY
GROUP_DISCLOSED_ROW_KEYS_KEY, GROUP_DISCLOSURE_LISTENER_KEY, SELECTED_ROW_KEYS_KEY, SELECTION_LISTENER_KEY
FIRST_KEY, ROWS_KEY, VALUE_KEY, VAR_STATUS_KEY
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
DEFAULT_DRAGSOURCE
Constructor and Description |
---|
RichListView()
Construct an instance of the RichListView.
|
RichListView(String rendererType)
Construct an instance of the RichListView.
|
Modifier and Type | Method and Description |
---|---|
DragSource |
createDragSource(String name, Set<DnDAction> allowedActions, DnDAction defaultAction, String discriminant, javax.el.MethodExpression dragDropEndListener, Map<String,?> properties)
Returns the server DragSource, or
null if no DragSource should be attached. |
CharSequence |
createDragSourceBehavior(String name, DragSource dragSource, Set<DnDAction> allowedActions, DnDAction defaultAction, String discriminant, javax.el.MethodExpression dragDropEndListener, Map<String,?> properties)
Returns the client DragSource initializer.
|
protected org.apache.myfaces.trinidad.bean.FacesBean |
createFacesBean(String rendererType) |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
protected Object |
setupELVariable(javax.faces.context.FacesContext context, String name, Object value) |
protected boolean |
visitChildren(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback) |
addClientBehavior, getClientAttributes, getClientBehaviors, getClientListeners, getCustomizationId, getDefaultEventName, getEmptyText, getEventNames, getFamily, getFetchSize, getGroupDisclosurePolicy, getGroupHeaderStamp, getInlineStyle, getPartialTriggers, getSelection, getShortDesc, getStyleClass, getUnsecure, isClientComponent, isImmediate, isVisible, setClientAttributes, setClientComponent, setClientListeners, setCustomizationId, setEmptyText, setFetchSize, setGroupDisclosurePolicy, setGroupHeaderStamp, setImmediate, setInlineStyle, setPartialTriggers, setSelection, setShortDesc, setStyleClass, setUnsecure, setVisible
addRowDisclosureListener, addSelectionListener, broadcast, enterContainer, exitContainer, getAllAncestorContainerRowKeys, getContainerRowKey, getContainerRowKey, getDepth, getDepth, getGroupDisclosedRowKeys, getGroupDisclosureListener, getRowDisclosureListeners, getSelectedRowKeys, getSelectionListener, getSelectionListeners, isContainer, isContainerEmpty, postCreateCollectionModel, queueEvent, removeRowDisclosureListener, removeSelectionListener, setGroupDisclosedRowKeys, setGroupDisclosureListener, setSelectedRowKeys, setSelectionListener
createCollectionModel, createVarStatusMap, encodeChildren, getFirst, getRendersChildren, getRows, getValue, getVarStatus, isFlatteningChildren, processFacetsAndChildren, processFlattenedChildren, setFirst, setRows, setValue, setVarStatus, visitData
areRowsAvailable, areRowsAvailable, areRowsAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearCurrencyStringCache, clearLocalCache, decodeChildrenImpl, defaultVisitChildren, encodeBegin, encodeEnd, ensureRowsAvailable, getCachingStrategy, getClientRowKey, getClientRowKeyManager, getCollectionModel, getCollectionModel, getContainerClientId, getCurrencyString, getEstimatedRowCount, getEstimatedRowCountConfidence, getRowCount, getRowData, getRowData, getRowData, getRowIndex, getRowKey, getSortCriteria, getStamps, getVar, invokeOnComponent, isRowAvailable, isRowAvailable, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable, isSortable, postRowDataChange, preRowDataChange, processComponent, processDecodes, processEvent, processRestoreState, processSaveState, processUpdates, processValidators, resetStampState, restoreStampState, restoreState, saveStampState, saveState, setClientRowKey, setCurrencyString, setRowIndex, setRowKey, setSortCriteria, setupVisitingContext, setVar, tearDownVisitingContext, updateChildrenImpl, validateChildrenImpl, visitChildrenWithoutIterating, visitUnstampedFacets
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, decode, decodeChildren, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, satisfiesPartialTrigger, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, validateChildren
addPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, visitAllChildren, visitChildren, visitTree, visitTree
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFirst, getRows, getVar
areRowsAvailable, areRowsAvailable, areRowsAvailable, getRowCount, getRowData, getRowData, getRowData, getRowIndex, getRowKey, isRowAvailable, isRowAvailable, isRowAvailable, setRowIndex, setRowKey
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearLocalCache, getCachingStrategy, getEstimatedRowCount, getEstimatedRowCountConfidence, isRowLocallyAvailable, isRowLocallyAvailable
public RichListView()
public RichListView(String rendererType)
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class PartialRichListView
protected org.apache.myfaces.trinidad.bean.FacesBean createFacesBean(String rendererType)
createFacesBean
in class org.apache.myfaces.trinidad.component.UIXListView
protected Object setupELVariable(javax.faces.context.FacesContext context, String name, Object value)
setupELVariable
in class org.apache.myfaces.trinidad.component.UIXCollection
protected boolean visitChildren(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback)
visitChildren
in class org.apache.myfaces.trinidad.component.UIXCollection
public DragSource createDragSource(String name, Set<DnDAction> allowedActions, DnDAction defaultAction, String discriminant, javax.el.MethodExpression dragDropEndListener, Map<String,?> properties)
DragSourceFactory
null
if no DragSource should be attached.createDragSource
in interface DragSourceFactory
name
- refers to a named DragSource; "default" refers to the default DragSourceallowedActions
- Set of DnDAction
supported by the DragSource.defaultAction
- Default drag and drop action supported by this drag sourcediscriminant
- The discriminant for the default DataFlavors generated by this drag source.dragDropEndListener
- A method reference to an event of the signature void method(DropEvent)
that is invoked after the drag drop operation ends.properties
- allows for additional properties in the futurepublic CharSequence createDragSourceBehavior(String name, DragSource dragSource, Set<DnDAction> allowedActions, DnDAction defaultAction, String discriminant, javax.el.MethodExpression dragDropEndListener, Map<String,?> properties)
DragSourceFactory
createDragSourceBehavior
in interface DragSourceFactory
name
- refers to a named DragSource; "default" refers to the default DragSourcedragSource
- DragSource to create clientDragSource initializer for.allowedActions
- Set of DnDAction
supported by the DragSource.defaultAction
- Default drag and drop action supported by this drag sourcediscriminant
- The discriminant for the default DataFlavors generated by this drag source.dragDropEndListener
- A method reference to an event of the signature void method(DropEvent)
that is invoked after the drag drop operation ends.properties
- allows for additional properties in the future