qx.ui.treevirtual
Class TreeVirtual

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
Direct Known Subclasses:
CheckBoxTree

public class TreeVirtual
extends Table

A “virtual” tree

WARNING: This widget is still in development and the interface to it is likely to change. If you choose to use this widget, be aware that you may need to make manual changes in accordance with interface changes.

A number of convenience methods are available in the following mixins:


Field Summary
 
Fields inherited from class qx.ui.core.Widget
AUTO
 
Constructor Summary
TreeVirtual()
           
TreeVirtual(java.lang.Object headings)
           
TreeVirtual(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.
 void _onkeydown(java.lang.Object evt)
          Event handler.
 void _onkeypress(Event evt)
           
 void _onSelectionChanged(java.lang.Object evt)
          Event handler.
 boolean getAlwaysShowOpenCloseSymbol()
          Set whether the open/close button should be displayed on a branch, even if the branch has no children.
 java.lang.Object getDataModel()
          Return the data model for this tree.
 boolean getExcludeFirstLevelTreeLines()
          Get whether drawing of first-level tree lines should be disabled even if drawing of tree lines is enabled.
 java.lang.Integer getFirstChild(java.lang.Object nodeReference)
          Get the first child of the specified node.
 java.lang.Object getHierarchy(java.lang.Object nodeReference)
          Obtain the entire hierarchy of labels from the root down to the specified node.
 java.lang.Integer getLastChild(java.lang.Object nodeReference)
          Get the last child of the specified node.
 java.lang.Integer getNextSibling(java.lang.Object nodeReference)
          Get the next sibling of the specified node.
 boolean getOpenCloseClickSelectsRow()
          Returns the (computed) value of the property openCloseClickSelectsRow.
 java.lang.Integer getPrevSibling(java.lang.Object nodeReference)
          Get the previous sibling of the specified node.
 java.lang.Object getSelectedNodes()
          Return the nodes that are currently selected.
 java.lang.Integer getSelectionMode(java.lang.Object mode)
          Get the selection mode currently in use.
 boolean getUseTreeLines()
          Get whether lines linking tree children shall be drawn on the tree.
 void initOpenCloseClickSelectsRow(boolean arg)
          Calls the apply method and dispatches the change event of the property openCloseClickSelectsRow with the default value defined by the class developer.
 boolean isOpenCloseClickSelectsRow()
          Check whether the (computed) value of the boolean property openCloseClickSelectsRow equals true.
 void resetOpenCloseClickSelectsRow()
          Resets the user value of the property openCloseClickSelectsRow.
 void setAlwaysShowOpenCloseSymbol(boolean b)
          Set whether the open/close button should be displayed on a branch, even if the branch has no children.
 void setCellFocusAttributes(java.lang.Object attributes)
          Set the attributes used to indicate the cell that has the focus.
 void setExcludeFirstLevelTreeLines(boolean b)
          Set whether drawing of first-level tree-node lines are disabled even if drawing of tree lines is enabled.
 void setOpenCloseClickSelectsRow(boolean arg)
          Sets the user value of the property openCloseClickSelectsRow.
 void setOverflow(java.lang.String s)
           
 void setSelectionMode(java.lang.Integer mode)
          Set the selection mode.
 void setState(java.lang.Object nodeReference, java.lang.Object attributes)
          Set state attributes of a tree node.
 void setUseTreeLines(boolean b)
          Set whether lines linking tree children shall be drawn on the tree.
 boolean toggleOpenCloseClickSelectsRow()
          Toggles the (computed) value of the boolean property openCloseClickSelectsRow.
 void toggleOpened(java.lang.Object nodeReference)
          Toggle the opened state of the node: if the node is opened, close it; if it is closed, open it.
 
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

TreeVirtual

public TreeVirtual()

TreeVirtual

public TreeVirtual(java.lang.Object headings)

TreeVirtual

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

_calculateSelectedNodes

public java.lang.Object _calculateSelectedNodes()

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.


_onkeydown

public void _onkeydown(java.lang.Object evt)

Event handler. Called when a key was pressed.

We handle the Enter key to toggle opened/closed tree state. All other keydown events are passed to our superclass.

Overrides:
_onkeydown in class Table

_onkeypress

public void _onkeypress(Event evt)

_onSelectionChanged

public void _onSelectionChanged(java.lang.Object evt)

Event handler. Called when the selection has changed.

Overrides:
_onSelectionChanged in class Table

getAlwaysShowOpenCloseSymbol

public boolean getAlwaysShowOpenCloseSymbol()

Set whether the open/close button should be displayed on a branch, even if the branch has no children.


getDataModel

public java.lang.Object getDataModel()

Return the data model for this tree.


getExcludeFirstLevelTreeLines

public boolean getExcludeFirstLevelTreeLines()

Get whether drawing of first-level tree lines should be disabled even if drawing of tree lines is enabled. (See also getUseTreeLines())


getFirstChild

public java.lang.Integer getFirstChild(java.lang.Object nodeReference)

Get the first child of the specified node.


getHierarchy

public java.lang.Object getHierarchy(java.lang.Object nodeReference)

Obtain the entire hierarchy of labels from the root down to the specified node.


getLastChild

public java.lang.Integer getLastChild(java.lang.Object nodeReference)

Get the last child of the specified node.


getNextSibling

public java.lang.Integer getNextSibling(java.lang.Object nodeReference)

Get the next sibling of the specified node.


getOpenCloseClickSelectsRow

public boolean getOpenCloseClickSelectsRow()

Returns the (computed) value of the property openCloseClickSelectsRow.

For further details take a look at the property definition: openCloseClickSelectsRow.


getPrevSibling

public java.lang.Integer getPrevSibling(java.lang.Object nodeReference)

Get the previous sibling of the specified node.


getSelectedNodes

public java.lang.Object getSelectedNodes()

Return the nodes that are currently selected.


getSelectionMode

public java.lang.Integer getSelectionMode(java.lang.Object mode)

Get the selection mode currently in use.


getUseTreeLines

public boolean getUseTreeLines()

Get whether lines linking tree children shall be drawn on the tree.


initOpenCloseClickSelectsRow

public void initOpenCloseClickSelectsRow(boolean arg)

Calls the apply method and dispatches the change event of the property openCloseClickSelectsRow with the default value defined by the class developer. This function can only be called from the constructor of a class.

For further details take a look at the property definition: openCloseClickSelectsRow.


isOpenCloseClickSelectsRow

public boolean isOpenCloseClickSelectsRow()

Check whether the (computed) value of the boolean property openCloseClickSelectsRow equals true.

For further details take a look at the property definition: openCloseClickSelectsRow.


resetOpenCloseClickSelectsRow

public void resetOpenCloseClickSelectsRow()

Resets the user value of the property openCloseClickSelectsRow.

The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.

For further details take a look at the property definition: openCloseClickSelectsRow.


setAlwaysShowOpenCloseSymbol

public void setAlwaysShowOpenCloseSymbol(boolean b)

Set whether the open/close button should be displayed on a branch, even if the branch has no children.


setCellFocusAttributes

public void setCellFocusAttributes(java.lang.Object attributes)

Set the attributes used to indicate the cell that has the focus.


setExcludeFirstLevelTreeLines

public void setExcludeFirstLevelTreeLines(boolean b)

Set whether drawing of first-level tree-node lines are disabled even if drawing of tree lines is enabled.


setOpenCloseClickSelectsRow

public void setOpenCloseClickSelectsRow(boolean arg)

Sets the user value of the property openCloseClickSelectsRow.

For further details take a look at the property definition: openCloseClickSelectsRow.


setOverflow

public void setOverflow(java.lang.String s)

setSelectionMode

public void setSelectionMode(java.lang.Integer mode)

Set the selection mode.


setState

public void setState(java.lang.Object nodeReference,
                     java.lang.Object attributes)

Set state attributes of a tree node.


setUseTreeLines

public void setUseTreeLines(boolean b)

Set whether lines linking tree children shall be drawn on the tree.


toggleOpenCloseClickSelectsRow

public boolean toggleOpenCloseClickSelectsRow()

Toggles the (computed) value of the boolean property openCloseClickSelectsRow.

For further details take a look at the property definition: openCloseClickSelectsRow.


toggleOpened

public void toggleOpened(java.lang.Object nodeReference)

Toggle the opened state of the node: if the node is opened, close it; if it is closed, open it.



Copyright © 2008 1&1. All Rights Reserved.