qx.ui.treevirtual
Class RecursiveCheckBoxTree

java.lang.Object
  extended by qx.core.Object
      extended by qx.core.Target
          extended by qx.ui.core.Widget
              extended by qx.ui.core.Parent
                  extended by qx.ui.layout.BoxLayout
                      extended by qx.ui.layout.VerticalBoxLayout
                          extended by qx.ui.table.Table
                              extended by qx.ui.treevirtual.TreeVirtual
                                  extended by qx.ui.treevirtual.CheckBoxTree
                                      extended by qx.ui.treevirtual.RecursiveCheckBoxTree

public class RecursiveCheckBoxTree
extends CheckBoxTree

A “virtual” tree intended to use multiple selection. The selected state of a branch depends on the select state of its leaves. When (de)selecting a branch, the selection state is propagated to its child nodes. Partially selected child are highlighted.


Field Summary
 
Fields inherited from class qx.ui.core.Widget
AUTO
 
Constructor Summary
RecursiveCheckBoxTree()
           
RecursiveCheckBoxTree(java.lang.Object headings)
           
RecursiveCheckBoxTree(java.lang.Object headings, java.lang.Object custom)
           
 
Method Summary
 java.lang.Object _calculateSelectedNodes()
          Calculate and return the set of nodes which are currently selected by the user, on the screen.
 
Methods inherited from class qx.ui.treevirtual.TreeVirtual
_onkeydown, _onkeypress, _onSelectionChanged, getAlwaysShowOpenCloseSymbol, getDataModel, getExcludeFirstLevelTreeLines, getFirstChild, getHierarchy, getLastChild, getNextSibling, getOpenCloseClickSelectsRow, getPrevSibling, getSelectedNodes, getSelectionMode, getUseTreeLines, initOpenCloseClickSelectsRow, isOpenCloseClickSelectsRow, resetOpenCloseClickSelectsRow, setAlwaysShowOpenCloseSymbol, setCellFocusAttributes, setExcludeFirstLevelTreeLines, setOpenCloseClickSelectsRow, setOverflow, setSelectionMode, setState, setUseTreeLines, toggleOpenCloseClickSelectsRow, toggleOpened
 
Methods inherited from class qx.ui.table.Table
_afterAppear, _applyColumnVisibilityButtonVisible, _applyFocusCellOnMouseMove, _applyHeaderCellHeight, _applyKeepFirstVisibleRowComplete, _applyMetaColumnCounts, _applySelectionModel, _applyShowCellFocusIndicator, _applyStatusBarVisible, _applyTableColumnModel, _applyTableModel, _changeInnerHeight, _changeInnerWidth, _cleanupColumnVisibilityMenu, _cleanUpMetaColumns, _createColumnVisibilityCheckBoxHandler, _getMetaColumnAtColumnX, _getMetaColumnAtPageX, _getPaneScrollerArr, _getSelectionManager, _onChangeLocale, _onColOrderChanged, _onColumnVisibilityBtExecuted, _onColVisibilityChanged, _onColWidthChanged, _onFocusChanged, _onkeypress, _onScrollY, _onTableModelDataChanged, _onTableModelMetaDataChanged, _toggleColumnVisibilityMenu, _updateScrollBarVisibility, _updateScrollerWidths, _updateStatusBar, addEventListener, cancelEditing, getAlwaysUpdateCells, getColumnVisibilityButtonVisible, getDataRowRenderer, getFocusCellOnMouseMove, getFocusedColumn, getFocusedRow, getHeaderCellHeight, getKeepFirstVisibleRowComplete, getMetaColumnCounts, getModalCellEditorPreOpenFunction, getNewSelectionManager, getNewSelectionModel, getNewTableColumnModel, getNewTablePane, getNewTablePaneHeader, getNewTablePaneModel, getNewTablePaneScroller, getPaneScroller, getRowHeight, getSelectionModel, getShowCellFocusIndicator, getStatusBarVisible, getTableColumnModel, getTableModel, getTablePaneScrollerAtPageX, initAlwaysUpdateCells, initColumnVisibilityButtonVisible, initDataRowRenderer, initFocusCellOnMouseMove, initHeaderCellHeight, initKeepFirstVisibleRowComplete, initMetaColumnCounts, initModalCellEditorPreOpenFunction, initNewSelectionManager, initNewSelectionModel, initNewTableColumnModel, initNewTablePane, initNewTablePaneHeader, initNewTablePaneModel, initNewTablePaneScroller, initRowHeight, initSelectionModel, initShowCellFocusIndicator, initStatusBarVisible, initTableColumnModel, initTableModel, isAlwaysUpdateCells, isColumnVisibilityButtonVisible, isEditing, isFocusCellOnMouseMove, isKeepFirstVisibleRowComplete, isShowCellFocusIndicator, isStatusBarVisible, moveFocusedCell, postponedUpdateContent, removeEventListener, resetAlwaysUpdateCells, resetColumnVisibilityButtonVisible, resetDataRowRenderer, resetFocusCellOnMouseMove, resetHeaderCellHeight, resetKeepFirstVisibleRowComplete, resetMetaColumnCounts, resetModalCellEditorPreOpenFunction, resetNewSelectionManager, resetNewSelectionModel, resetNewTableColumnModel, resetNewTablePane, resetNewTablePaneHeader, resetNewTablePaneModel, resetNewTablePaneScroller, resetRowHeight, resetSelectionModel, resetShowCellFocusIndicator, resetStatusBarVisible, resetTableColumnModel, resetTableModel, scrollCellVisible, setAlwaysUpdateCells, setColumnVisibilityButtonVisible, setColumnWidth, setDataRowRenderer, setFocusCellOnMouseMove, setFocusedCell, setHeaderCellHeight, setKeepFirstVisibleRowComplete, setMetaColumnCounts, setModalCellEditorPreOpenFunction, setNewSelectionManager, setNewSelectionModel, setNewTableColumnModel, setNewTablePane, setNewTablePaneHeader, setNewTablePaneModel, setNewTablePaneScroller, setRowHeight, setSelectionModel, setShowCellFocusIndicator, setStatusBarVisible, setTableColumnModel, setTableModel, startEditing, stopEditing, toggleAlwaysUpdateCells, toggleColumnVisibilityButtonVisible, toggleFocusCellOnMouseMove, toggleKeepFirstVisibleRowComplete, toggleShowCellFocusIndicator, toggleStatusBarVisible, updateContent
 
Methods inherited from class qx.ui.layout.BoxLayout
_applyHorizontalChildrenAlign, _applyOrientation, _applyReverseChildrenOrder, _applySpacing, _applyStretchChildrenOrthogonalAxis, _applyUseAdvancedFlexAllocation, _applyVerticalChildrenAlign, _computeAccumulatedChildrenOuterHeight, _computeAccumulatedChildrenOuterWidth, _createLayoutImpl, _doLayout, _doLayoutOrder, _invalidateLayoutMode, _recomputeChildrenStretchingX, _recomputeChildrenStretchingY, _updateLayoutMode, getHorizontalChildrenAlign, getLayoutMode, getOrientation, getReverseChildrenOrder, getSpacing, getStretchChildrenOrthogonalAxis, getUseAdvancedFlexAllocation, getVerticalChildrenAlign, initHorizontalChildrenAlign, initOrientation, initReverseChildrenOrder, initSpacing, initStretchChildrenOrthogonalAxis, initUseAdvancedFlexAllocation, initVerticalChildrenAlign, isHorizontal, isReverseChildrenOrder, isStretchChildrenOrthogonalAxis, isUseAdvancedFlexAllocation, isVertical, resetHorizontalChildrenAlign, resetOrientation, resetReverseChildrenOrder, resetSpacing, resetStretchChildrenOrthogonalAxis, resetUseAdvancedFlexAllocation, resetVerticalChildrenAlign, setHorizontalChildrenAlign, setOrientation, setReverseChildrenOrder, setSpacing, setStretchChildrenOrthogonalAxis, setUseAdvancedFlexAllocation, setVerticalChildrenAlign, toggleReverseChildrenOrder, toggleStretchChildrenOrthogonalAxis, toggleUseAdvancedFlexAllocation
 
Methods inherited from class qx.ui.core.Parent
_addChildrenToLayoutQueue, _addChildrenToStateQueue, _addChildToChildrenQueue, _afterDisappear, _afterInsertDom, _afterRemoveDom, _applyActiveChild, _applyFocusedChild, _applyFocusHandler, _beforeAppear, _beforeDisappear, _beforeInsertDom, _beforeRemoveDom, _computePreferredInnerHeight, _computePreferredInnerWidth, _computeVisibleChildren, _flushChildrenQueue, _handleDisplayableCustom, _layoutChild, _layoutPost, _onfocuskeyevent, _recursiveAppearanceThemeUpdate, _removeChildFromChildrenQueue, activateFocusRoot, add, addAfter, addAt, addAtBegin, addAtEnd, addBefore, contains, forEachChild, forEachVisibleChild, getActiveChild, getChildren, getChildrenLength, getFirstActiveChild, getFirstChild, getFirstVisibleChild, getFocusedChild, getFocusHandler, getFocusRoot, getInnerHeightForChild, getInnerWidthForChild, getLastActiveChild, getLastChild, getLastVisibleChild, getLayoutImpl, getVisibleChildrenLength, hasChildren, hasVisibleChildren, indexOf, initActiveChild, initFocusedChild, initFocusHandler, isEmpty, isFocusRoot, isVisibleEmpty, recursiveAddToStateQueue, remapChildrenHandlingTo, remove, removeAll, removeAt, resetActiveChild, resetFocusedChild, resetFocusHandler, setActiveChild, setFocusedChild, setFocusHandler
 
Methods inherited from class qx.ui.core.Widget
_applyAppearance, _applyBackgroundColor, _applyBackgroundImage, _applyBackgroundRepeat, _applyBorder, _applyBottom, _applyCapture, _applyClip, _applyCommand, _applyCursor, _applyDisplay, _applyElement, _applyElementData, _applyEnabled, _applyFocused, _applyFont, _applyHeight, _applyHideFocus, _applyHtmlAttributes, _applyHtmlProperties, _applyLeft, _applyMarginBottom, _applyMarginLeft, _applyMarginRight, _applyMarginTop, _applyMaxHeight, _applyMaxWidth, _applyMinHeight, _applyMinWidth, _applyOpacity, _applyOverflow, _applyPaddingBottom, _applyPaddingLeft, _applyPaddingRight, _applyPaddingTop, _applyParent, _applyRight, _applySelectable, _applyStateStyleFocus, _applyStyleProperties, _applyTabIndex, _applyTextColor, _applyTop, _applyVisibility, _applyWidth, _applyZIndex, _checkParent, _compileClipString, _computeBoxHeight, _computeBoxHeightFallback, _computeBoxWidth, _computeBoxWidthFallback, _computeDisplayable, _computeFrameHeight, _computeFrameWidth, _computeHasAutoX, _computeHasAutoY, _computeHasFlexX, _computeHasFlexY, _computeHasPercentX, _computeHasPercentY, _computeInnerHeight, _computeInnerWidth, _computeOuterHeight, _computeOuterWidth, _computePreferredBoxHeight, _computePreferredBoxWidth, _computeValuePercentX, _computeValuePercentXLimit, _computeValuePercentY, _computeValuePercentYLimit, _computeValuePixel, _computeValuePixelLimit, _createElementImpl, _evalUnitsPixelPercent, _evalUnitsPixelPercentAuto, _evalUnitsPixelPercentAutoFlex, _flushJobQueue, _generateHtmlId, _getTargetNode, _handleDisplayable, _invalidateFrameDimensions, _invalidatePreferredInnerDimensions, _queueBorder, _recomputeFlexX, _recomputeFlexY, _recomputePercentX, _recomputePercentY, _recomputeRangeX, _recomputeRangeY, _recomputeStretchingX, _recomputeStretchingY, _renderAppearance, _renderOverflow, _resetAppearanceThemeWrapper, _styleBackgroundColor, _styleBackgroundImage, _styleFromMap, _unitDetectionPixelPercent, _unitDetectionPixelPercentAuto, _unitDetectionPixelPercentAutoFlex, _unstyleFromArray, _visualizeBlur, _visualizeFocus, _visualPropertyCheck, addState, addToDocument, addToJobQueue, addToLayoutChanges, addToQueue, addToQueueRuntime, addToStateQueue, auto, blur, connect, contains, disconnect, execute, focus, getAllowStretchX, getAllowStretchY, getAnonymous, getAppearance, getBackgroundColor, getBackgroundImage, getBackgroundRepeat, getBorder, getBottom, getBottomValue, getCapture, getClientHeight, getClientWidth, getClipHeight, getClipLeft, getClipTop, getClipWidth, getCommand, getContextMenu, getCursor, getDisplay, getDropDataTypes, getElement, getEnabled, getEnableElementFocus, getFocused, getFont, getHeight, getHeightValue, getHideFocus, getHorizontalAlign, getHtmlAttribute, getHtmlProperty, getLeft, getLeftValue, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxHeightValue, getMaxWidth, getMaxWidthValue, getMinHeight, getMinHeightValue, getMinWidth, getMinWidthValue, getNeededHeight, getNeededWidth, getNextActiveSibling, getNextSibling, getNextVisibleSibling, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOpacity, getOverflow, getOverflowX, getOverflowY, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getPreviousActiveSibling, getPreviousSibling, getPreviousVisibleSibling, getRight, getRightValue, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSelectable, getStyleProperty, getSupportsDropMethod, getTabIndex, getTextColor, getToolTip, getTop, getTopLevelWidget, getTopValue, getVerticalAlign, getVisibility, getVisibleChildren, getWidth, getWidthValue, getZIndex, hasState, hide, indexOf, initAllowStretchX, initAllowStretchY, initAnonymous, initAppearance, initBackgroundColor, initBackgroundImage, initBackgroundRepeat, initBorder, initBottom, initCapture, initClipHeight, initClipLeft, initClipTop, initClipWidth, initCommand, initContextMenu, initCursor, initDisplay, initDropDataTypes, initElement, initEnabled, initEnableElementFocus, initFocused, initFont, initHeight, initHideFocus, initHorizontalAlign, initLeft, initMarginBottom, initMarginLeft, initMarginRight, initMarginTop, initMaxHeight, initMaxWidth, initMinHeight, initMinWidth, initOpacity, initOverflow, initPaddingBottom, initPaddingLeft, initPaddingRight, initPaddingTop, initParent, initRight, initSelectable, initSupportsDropMethod, initTabIndex, initTextColor, initToolTip, initTop, initVerticalAlign, initVisibility, initWidth, initZIndex, isAllowStretchX, isAllowStretchY, isAnonymous, isAppearRelevant, isCapture, isCreated, isDisplay, isDisplayable, isEnabled, isEnableElementFocus, isFirstChild, isFirstVisibleChild, isFocusable, isFocused, isHideFocus, isLastChild, isLastVisibleChild, isMaterialized, isSeeable, isSelectable, isVisibility, moveSelfAfter, moveSelfBefore, moveSelfToBegin, moveSelfToEnd, pack, removeHtmlAttribute, removeHtmlProperty, removeState, removeStyleProperty, renderPadding, resetAlign, resetAllowStretchX, resetAllowStretchY, resetAnonymous, resetAppearance, resetBackgroundColor, resetBackgroundImage, resetBackgroundRepeat, resetBorder, resetBottom, resetCapture, resetClip, resetClipDimension, resetClipHeight, resetClipLeft, resetClipLocation, resetClipTop, resetClipWidth, resetCommand, resetContextMenu, resetCursor, resetDimension, resetDisplay, resetDropDataTypes, resetEdge, resetElement, resetEnabled, resetEnableElementFocus, resetFocused, resetFont, resetHeight, resetHeights, resetHideFocus, resetHorizontalAlign, resetLeft, resetLocation, resetMargin, resetMarginBottom, resetMarginLeft, resetMarginRight, resetMarginTop, resetMaxHeight, resetMaxWidth, resetMinHeight, resetMinWidth, resetOpacity, resetOverflow, resetPadding, resetPaddingBottom, resetPaddingLeft, resetPaddingRight, resetPaddingTop, resetParent, resetRight, resetSelectable, resetSpace, resetSupportsDropMethod, resetTabIndex, resetTextColor, resetToolTip, resetTop, resetVerticalAlign, resetVisibility, resetWidth, resetWidths, resetZIndex, scrollIntoView, scrollIntoViewX, scrollIntoViewY, setAlign, setAllowStretchX, setAllowStretchY, setAnonymous, setAppearance, setBackgroundColor, setBackgroundImage, setBackgroundRepeat, setBorder, setBottom, setCapture, setClip, setClipDimension, setClipHeight, setClipLeft, setClipLocation, setClipTop, setClipWidth, setCommand, setContextMenu, setCursor, setDimension, setDisplay, setDropDataTypes, setEdge, setElement, setEnabled, setEnableElementFocus, setFocused, setFont, setHeight, setHeights, setHideFocus, setHorizontalAlign, setHtmlAttribute, setHtmlProperty, setLeft, setLocation, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOpacity, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setParent, setRight, setScrollLeft, setScrollTop, setSelectable, setSpace, setStyleProperty, setSupportsDropMethod, setTabIndex, setTextColor, setToolTip, setTop, setVerticalAlign, setVisibility, setWidth, setWidths, setZIndex, show, supportsDrop, toggleAllowStretchX, toggleAllowStretchY, toggleAnonymous, toggleCapture, toggleDisplay, toggleEnabled, toggleEnableElementFocus, toggleFocused, toggleHideFocus, toggleSelectable, toggleVisibility
 
Methods inherited from class qx.core.Target
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener
 
Methods inherited from class qx.core.Object
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecursiveCheckBoxTree

public RecursiveCheckBoxTree()

RecursiveCheckBoxTree

public RecursiveCheckBoxTree(java.lang.Object headings)

RecursiveCheckBoxTree

public RecursiveCheckBoxTree(java.lang.Object headings,
                             java.lang.Object custom)
Method Detail

_calculateSelectedNodes

public java.lang.Object _calculateSelectedNodes()
Description copied from class: TreeVirtual

Calculate and return the set of nodes which are currently selected by the user, on the screen. In the process of calculating which nodes are selected, the nodes corresponding to the selected rows on the screen are marked as selected by setting their bSelected property to true, and all previously-selected nodes have their bSelected property reset to false.

Overrides:
_calculateSelectedNodes in class TreeVirtual


Copyright © 2008 1&1. All Rights Reserved.