public class RichTreeTable extends PartialRichTreeTable implements DragSourceFactory
org.apache.myfaces.trinidad.component.UIXCollection.NoColumnFacetsVisitContext
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
DISABLE_ROW_MOUSEDOWN_CELL_FOCUS_KEY
Private property key used to decide whether to disable cell focus upon row mousedown
|
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, BODY_CONTEXT_MENU_FACET, BODY_CONTEXT_MENU_ID_KEY, CLEAR_TOKEN_CACHE_ON_PPR_KEY, CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COLUMN_BANDING_INTERVAL_KEY, COLUMN_RESIZING_DISABLED, COLUMN_RESIZING_ENABLED, COLUMN_RESIZING_KEY, COLUMN_SELECTION_KEY, COLUMN_SELECTION_LISTENER_KEY, COLUMN_SELECTION_MULTIPLE, COLUMN_SELECTION_NONE, COLUMN_SELECTION_SINGLE, COLUMN_STRETCHING_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, DISABLE_COLUMN_REORDERING_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, FOOTER_FACET, FREEZE_DIRECTION_END, FREEZE_DIRECTION_KEY, FREEZE_DIRECTION_START, HEADER_FACET, HORIZONTAL_GRID_VISIBLE_KEY, INLINE_STYLE_KEY, MAX_CLIENT_ROWS_KEY, NON_SCROLLABLE_ROWS_KEY, PARTIAL_TRIGGERS_KEY, PATH_STAMP_FACET, ROW_BANDING_INTERVAL_KEY, ROW_SELECTION_KEY, ROW_SELECTION_MULTIPLE, ROW_SELECTION_MULTIPLE_NO_SELECT_ALL, ROW_SELECTION_NONE, ROW_SELECTION_SINGLE, SCROLL_LEFT_KEY, SCROLL_POLICY_AUTO, SCROLL_POLICY_KEY, SCROLL_POLICY_PAGE, SCROLL_POLICY_SCROLL, 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, VERTICAL_GRID_VISIBLE_KEY, VISIBLE_KEY, WIDTH_KEY
HEIGHT_KEY, RANGE_CHANGE_LISTENER_KEY, ROOT_NODE_RENDERED_KEY, ROWS_BY_DEPTH_KEY
DISCLOSED_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_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
Modifier | Constructor and Description |
---|---|
|
RichTreeTable()
Construct an instance of the RichTreeTable.
|
protected |
RichTreeTable(String rendererType)
Construct an instance of the RichTreeTable.
|
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() |
Collection<String> |
getSelectedColumns()
Returns selected child columns by clientId.
|
boolean |
invokeOnComponent(javax.faces.context.FacesContext facesContext, String clientId, javax.faces.component.ContextCallback callback) |
boolean |
isDisableRowMouseDownCellFocus() |
protected boolean |
isSingleRooted()
Trinidad TreeTable only supports single rooted hierarchies Override to allow visitTree to work correctly on RichTreeTable.
|
void |
setDisableRowMouseDownCellFocus(boolean disableRowMouseDownCellFocus) |
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, addColumnSelectionListener, getActiveRowKey, getAutoHeightRows, getBlockRowNavigationOnError, getBodyContextMenu, getBodyContextMenuId, getClientAttributes, getClientBehaviors, getClientListeners, getColumnBandingInterval, getColumnResizing, getColumnSelection, getColumnSelectionListener, getColumnSelectionListeners, getColumnStretching, getContentDelivery, getContextMenu, getContextMenuId, getCustomizationId, getDefaultEventName, getDisplayRow, getDisplayRowKey, getEditingMode, getEmptyText, getEventNames, getFamily, getFetchSize, getFooter, getFreezeDirection, getHeader, getInlineStyle, getMaxClientRows, getNonScrollableRows, getPartialTriggers, getPathStamp, getRowBandingInterval, getRowSelection, getScrollLeft, getScrollPolicy, getScrollTop, getScrollTopRowKey, getSelectionEventDelay, getShortDesc, getStyleClass, getSummary, getUnsecure, getWidth, isClearTokenCacheOnPPR, isClientComponent, isContextMenuSelect, isDisableColumnReordering, isExpandAllEnabled, isHorizontalGridVisible, isVerticalGridVisible, isVisible, removeColumnSelectionListener, setActiveRowKey, setAutoHeightRows, setBlockRowNavigationOnError, setBodyContextMenu, setBodyContextMenuId, setClearTokenCacheOnPPR, setClientAttributes, setClientComponent, setClientListeners, setColumnBandingInterval, setColumnResizing, setColumnSelection, setColumnSelectionListener, setColumnStretching, setContentDelivery, setContextMenu, setContextMenuId, setContextMenuSelect, setCustomizationId, setDisableColumnReordering, setDisplayRow, setDisplayRowKey, setEditingMode, setEmptyText, setExpandAllEnabled, setFetchSize, setFooter, setFreezeDirection, setHeader, setHorizontalGridVisible, setInlineStyle, setMaxClientRows, setNonScrollableRows, setPartialTriggers, setPathStamp, setRowBandingInterval, setRowSelection, setScrollLeft, setScrollPolicy, setScrollTop, setScrollTopRowKey, setSelectionEventDelay, setShortDesc, setStyleClass, setSummary, setUnsecure, setVerticalGridVisible, setVisible, setWidth
__encodeBegin, addRangeChangeListener, decode, getContainerClientId, getFirst, getHeight, getRangeChangeListener, getRangeChangeListeners, getRows, getRowsByDepth, getStamps, isRootNodeRendered, processFacetsAndChildren, processUpdates, processValidators, removeRangeChangeListener, restoreStampState, restoreState, saveStampState, saveState, setFirst, setHeight, setRangeChangeListener, setRangeChangeListener, setRootNodeRendered, setRowsByDepth, visitData, visitUnstampedFacets
addFocusListener, addRowDisclosureListener, addSelectionListener, createCollectionModel, createFacesBean, getDisclosedRowKeys, getFocusListener, getFocusListeners, getFocusRowKey, getNodeStamp, getRowDisclosureListener, getRowDisclosureListeners, getSelectedRowKeys, getSelectionListener, getSelectionListeners, getValue, getVarStatus, isImmediate, isInitiallyExpanded, postCreateCollectionModel, queueEvent, removeFocusListener, removeRowDisclosureListener, removeSelectionListener, setDisclosedRowKeys, setFocusListener, setFocusRowKey, setImmediate, setInitiallyExpanded, setNodeStamp, setRowDisclosureListener, setRowDisclosureListener, setSelectedRowKeys, setSelectionListener, setSelectionListener, setValue, setVarStatus
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, createVarStatusMap, enterContainer, exitContainer, getAllAncestorContainerRowKeys, getContainerRowKey, getContainerRowKey, getDepth, getDepth, getTreeModel, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isContainer, isContainerEmpty, visitHierarchy, visitLevel
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, getVar, isRowAvailable, isRowAvailable, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable, isSortable, postRowDataChange, preRowDataChange, processComponent, processDecodes, processEvent, processFlattenedChildrenBegin, processRestoreState, processSaveState, resetStampState, setClientRowKey, setCurrencyString, setRowIndex, setRowKey, setSortCriteria, setupVisitingContext, setVar, tearDownVisitingContext, updateChildrenImpl, validateChildrenImpl, visitChildrenWithoutIterating
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, decodeChildren, encodeChildren, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, 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, 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, getPassThroughAttributes, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey DISABLE_ROW_MOUSEDOWN_CELL_FOCUS_KEY
public RichTreeTable()
protected RichTreeTable(String rendererType)
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class PartialRichTreeTable
protected Object setupELVariable(javax.faces.context.FacesContext context, String name, Object value)
setupELVariable
in class org.apache.myfaces.trinidad.component.UIXCollection
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class org.apache.myfaces.trinidad.component.UIXTreeTable
javax.faces.event.AbortProcessingException
public 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)
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 futurepublic Collection<String> getSelectedColumns()
protected boolean isSingleRooted()
isSingleRooted
in class org.apache.myfaces.trinidad.component.UIXTreeTable
protected boolean visitChildren(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback)
visitChildren
in class org.apache.myfaces.trinidad.component.UIXTreeTable
public 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.UIXCollection
javax.faces.FacesException
public final boolean isDisableRowMouseDownCellFocus()
public final void setDisableRowMouseDownCellFocus(boolean disableRowMouseDownCellFocus)