public class RichTree extends PartialRichTree implements DragSourceFactory
org.apache.myfaces.trinidad.component.UIXCollection.ColumnFacetsOnlyVisitContext, org.apache.myfaces.trinidad.component.UIXCollection.NoColumnFacetsVisitContext| Modifier and Type | Field and Description |
|---|---|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
ACTIVE_ROW_KEY_KEY, AUTO_HEIGHT_ROWS_KEY, BLOCK_ROW_NAVIGATION_ON_ERROR_ALWAYS, BLOCK_ROW_NAVIGATION_ON_ERROR_AUTO, BLOCK_ROW_NAVIGATION_ON_ERROR_KEY, BLOCK_ROW_NAVIGATION_ON_ERROR_NEVER, CLEAR_TOKEN_CACHE_ON_PPR_KEY, CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COMPONENT_FAMILY, COMPONENT_TYPE, CONTENT_DELIVERY_IMMEDIATE, CONTENT_DELIVERY_KEY, CONTENT_DELIVERY_LAZY, CONTENT_DELIVERY_WHEN_AVAILABLE, CONTEXT_MENU_FACET, CONTEXT_MENU_ID_KEY, CONTEXT_MENU_SELECT_KEY, CUSTOMIZATION_ID_KEY, DISPLAY_ROW_FIRST, DISPLAY_ROW_KEY, DISPLAY_ROW_KEY_KEY, DISPLAY_ROW_LAST, DISPLAY_ROW_SELECTED, EDITING_MODE_CLICK_TO_EDIT, EDITING_MODE_EDIT_ALL, EDITING_MODE_KEY, EMPTY_TEXT_KEY, EXPAND_ALL_ENABLED_KEY, FETCH_SIZE_KEY, INLINE_STYLE_KEY, NON_SCROLLABLE_ROWS_KEY, PARTIAL_TRIGGERS_KEY, PATH_STAMP_FACET, ROW_SELECTION_KEY, ROW_SELECTION_MULTIPLE, ROW_SELECTION_NONE, ROW_SELECTION_SINGLE, SCROLL_LEFT_KEY, SCROLL_TOP_KEY, SCROLL_TOP_ROW_KEY_KEY, SELECTION_EVENT_DELAY_DISABLED, SELECTION_EVENT_DELAY_ENABLED, SELECTION_EVENT_DELAY_KEY, SHORT_DESC_KEY, STYLE_CLASS_KEY, SUMMARY_KEY, UNSECURE_KEY, VISIBLE_KEYDISCLOSED_ROW_KEYS_KEY, FOCUS_LISTENER_KEY, FOCUS_ROW_KEY_KEY, IMMEDIATE_KEY, INITIALLY_EXPANDED_KEY, NODE_STAMP_FACET, ROW_DISCLOSURE_LISTENER_KEY, SELECTED_ROW_KEYS_KEY, SELECTION_LISTENER_KEY, VALUE_KEY, VAR_STATUS_KEYBINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEYATTRS_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_KEYDEFAULT_DRAGSOURCE| Modifier | Constructor and Description |
|---|---|
|
RichTree()
Construct an instance of the RichTree.
|
protected |
RichTree(String rendererType)
Construct an instance of the RichTree.
|
| Modifier and Type | Method and Description |
|---|---|
void |
__decodeChildrenImpl(javax.faces.context.FacesContext context) |
void |
__updateChildrenImpl(javax.faces.context.FacesContext context) |
void |
__validateChildrenImpl(javax.faces.context.FacesContext context) |
void |
broadcast(javax.faces.event.FacesEvent event) |
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.Type |
getBeanType() |
boolean |
invokeOnComponent(javax.faces.context.FacesContext facesContext,
String clientId,
javax.faces.component.ContextCallback callback) |
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) |
protected boolean |
visitUnstampedFacets(javax.faces.component.visit.VisitContext visitContext,
javax.faces.component.visit.VisitCallback callback) |
addClientBehavior, getActiveRowKey, getAutoHeightRows, getBlockRowNavigationOnError, getClientAttributes, getClientBehaviors, getClientListeners, getContentDelivery, getContextMenu, getContextMenuId, getCustomizationId, getDefaultEventName, getDisplayRow, getDisplayRowKey, getEditingMode, getEmptyText, getEventNames, getFamily, getFetchSize, getInlineStyle, getNonScrollableRows, getPartialTriggers, getPathStamp, getRowSelection, getScrollLeft, getScrollTop, getScrollTopRowKey, getSelectionEventDelay, getShortDesc, getStyleClass, getSummary, getUnsecure, isClearTokenCacheOnPPR, isClientComponent, isContextMenuSelect, isExpandAllEnabled, isVisible, setActiveRowKey, setAutoHeightRows, setBlockRowNavigationOnError, setClearTokenCacheOnPPR, setClientAttributes, setClientComponent, setClientListeners, setContentDelivery, setContextMenu, setContextMenuId, setContextMenuSelect, setCustomizationId, setDisplayRow, setDisplayRowKey, setEditingMode, setEmptyText, setExpandAllEnabled, setFetchSize, setInlineStyle, setNonScrollableRows, setPartialTriggers, setPathStamp, setRowSelection, setScrollLeft, setScrollTop, setScrollTopRowKey, setSelectionEventDelay, setShortDesc, setStyleClass, setSummary, setUnsecure, setVisible__encodeBegin, addFocusListener, addRowDisclosureListener, addSelectionListener, createCollectionModel, createFacesBean, getDisclosedRowKeys, getFocusListener, getFocusListeners, getFocusRowKey, getNodeStamp, getRowDisclosureListener, getRowDisclosureListeners, getSelectedRowKeys, getSelectionListener, getSelectionListeners, getValue, getVarStatus, isImmediate, isInitiallyExpanded, postCreateCollectionModel, processFacetsAndChildren, queueEvent, removeFocusListener, removeRowDisclosureListener, removeSelectionListener, setDisclosedRowKeys, setFocusListener, setFocusRowKey, setImmediate, setInitiallyExpanded, setNodeStamp, setRowDisclosureListener, setRowDisclosureListener, setSelectedRowKeys, setSelectionListener, setSelectionListener, setupVisitingContext, setValue, setVarStatus, tearDownVisitingContext, visitDataareRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, createVarStatusMap, enterContainer, exitContainer, getAllAncestorContainerRowKeys, getContainerRowKey, getContainerRowKey, getDepth, getDepth, getFirst, getRows, getStamps, getTreeModel, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isContainer, isContainerEmpty, visitHierarchy, visitLevelareRowsAvailable, 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, getVar, isRowAvailable, isRowAvailable, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable, isSortable, newNoColumnFacetsVisitContext, postRowDataChange, preRowDataChange, processComponent, processDecodes, processEvent, processFlattenedChildrenBegin, processRestoreState, processSaveState, processUpdates, processValidators, resetStampState, restoreStampState, restoreState, saveStampState, saveState, setClientRowKey, setCurrencyString, setRowIndex, setRowKey, setSortCriteria, setVar, updateChildrenImpl, validateChildrenImpl, visitChildrenWithoutIterating, visitStampedColumnFacetsadaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, decode, decodeChildren, encodeChildren, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getPassThroughAttributes, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, 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, validateChildrenaddPartialTarget, 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, visitTreeencodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInViewclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitareRowsAvailable, areRowsAvailable, areRowsAvailable, getRowCount, getRowData, getRowData, getRowData, getRowIndex, getRowKey, isRowAvailable, isRowAvailable, isRowAvailable, setRowIndex, setRowKeyareRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearLocalCache, getCachingStrategy, getEstimatedRowCount, getEstimatedRowCountConfidence, isRowLocallyAvailable, isRowLocallyAvailablepublic RichTree()
protected RichTree(String rendererType)
rendererType - The type of rendererprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class PartialRichTreeprotected Object setupELVariable(javax.faces.context.FacesContext context, String name, Object value)
setupELVariable in class org.apache.myfaces.trinidad.component.UIXCollectionpublic void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class org.apache.myfaces.trinidad.component.UIXTreejavax.faces.event.AbortProcessingExceptionpublic void __decodeChildrenImpl(javax.faces.context.FacesContext context)
public void __validateChildrenImpl(javax.faces.context.FacesContext context)
public void __updateChildrenImpl(javax.faces.context.FacesContext context)
public DragSource createDragSource(String name, Set<DnDAction> allowedActions, DnDAction defaultAction, String discriminant, javax.el.MethodExpression dragDropEndListener, Map<String,?> properties)
DragSourceFactorynull if no DragSource should be attached.createDragSource in interface DragSourceFactoryname - 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)
DragSourceFactorycreateDragSourceBehavior in interface DragSourceFactoryname - 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 futureprotected boolean visitChildren(javax.faces.component.visit.VisitContext visitContext,
javax.faces.component.visit.VisitCallback callback)
visitChildren in class org.apache.myfaces.trinidad.component.UIXTreeprotected boolean visitUnstampedFacets(javax.faces.component.visit.VisitContext visitContext,
javax.faces.component.visit.VisitCallback callback)
visitUnstampedFacets in class org.apache.myfaces.trinidad.component.UIXCollectionpublic boolean invokeOnComponent(javax.faces.context.FacesContext facesContext,
String clientId,
javax.faces.component.ContextCallback callback)
throws javax.faces.FacesException
invokeOnComponent in class org.apache.myfaces.trinidad.component.UIXCollectionjavax.faces.FacesException