qx.ui.tree
Class TreeFolder<T>

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.tree.AbstractTreeElement<T>
                          extended by qx.ui.tree.TreeFolder<T>
Direct Known Subclasses:
Tree

public class TreeFolder<T>
extends AbstractTreeElement<T>

qx.ui.tree.TreeFolder objects are tree rows which may contain sub-trees


Field Summary
 
Fields inherited from class qx.ui.core.Widget
AUTO
 
Constructor Summary
TreeFolder()
          The TreeFolder constructor understands two signatures.
TreeFolder(java.lang.Object labelOrTreeRowStructure)
          The TreeFolder constructor understands two signatures.
TreeFolder(java.lang.Object labelOrTreeRowStructure, java.lang.String icon)
          The TreeFolder constructor understands two signatures.
TreeFolder(java.lang.Object labelOrTreeRowStructure, java.lang.String icon, java.lang.String iconSelected)
          The TreeFolder constructor understands two signatures.
 
Method Summary
 void _applyAlwaysShowPlusMinusSymbol(java.lang.Object value, java.lang.Object old)
           
 void _applyOpen(java.lang.Object value, java.lang.Object old)
           
 void _createChildrenStructure()
           
 void _handleChildMove(java.lang.Object vChild, java.lang.Object vRelationIndex, java.lang.Object vRelationChild)
           
 void _ondblclick(Event e)
           
 void _onmousedown(Event e)
           
 void _onmouseup(Event e)
           
 void _openCallback()
           
 void _updateIndent()
           
 void _updateLastColumn()
           
 void addAfterToFolder(AbstractTreeElement vChild, AbstractTreeElement vAfter)
          Adds the new tree element vChild to the current folder, after the existing child vAfter.
 void addAtBeginToFolder(AbstractTreeElement vChild)
          Adds the new tree element vChild at the beginning of the current folder.
 void addAtEndToFolder(AbstractTreeElement vChild)
          Adds the new tree element vChild at the end of the current folder.
 void addAtToFolder(AbstractTreeElement vChild, java.lang.Integer vIndex)
          Adds the new tree element vChild to the current folder, at position vIndex.
 void addBeforeToFolder(AbstractTreeElement vChild, AbstractTreeElement vBefore)
          Adds the new tree element vChild to the current folder, before the existing child vBefore.
 TreeFile<T> addFile(T node)
           
 TreeFolder<T> addFolder(T node)
           
 void addToFolder(AbstractTreeElement varargs)
          Adds the passed tree elements to the current folder.
 void close()
          Closes the current folder.
 void destroyContent()
          deselects, disconnects, removes and disposes the content of the folder and its subfolders.
 boolean getAlwaysShowPlusMinusSymbol()
          Returns the (computed) value of the property alwaysShowPlusMinusSymbol.
 VerticalBoxLayout getContainerObject()
          Returns the container of the current tree element.
 AbstractTreeElement getFirstVisibleChildOfFolder()
          Returns the first visible child of the folder.
 HorizontalBoxLayout getHorizontalLayout()
          Returns the HorizontalBoxLayout of the folder.
 java.lang.Object getIndentSymbol(boolean vUseTreeLines, java.lang.Object vColumn, java.lang.Object vFirstColumn, java.lang.Object vLastColumn)
          Returns a string indicating the symbol used to indent the current item, or null.
 AbstractTreeElement getItems(boolean recursive, boolean invisible)
          Returns all children of the folder.
 AbstractTreeElement getLastVisibleChildOfFolder()
          Returns the last visible child of the folder.
 boolean getOpen()
          Returns the (computed) value of the property open.
 boolean hasContent()
          Returns whether the folder has content, i.e.
 void initAlwaysShowPlusMinusSymbol(boolean arg)
          Calls the apply method and dispatches the change event of the property alwaysShowPlusMinusSymbol with the default value defined by the class developer.
 void initOpen(boolean arg)
          Calls the apply method and dispatches the change event of the property open with the default value defined by the class developer.
 boolean isAlwaysShowPlusMinusSymbol()
          Check whether the (computed) value of the boolean property alwaysShowPlusMinusSymbol equals true.
 boolean isOpen()
          Check whether the (computed) value of the boolean property open equals true.
 void open()
          Opens the current folder.
 void remove(Widget varargs)
          Remove one or multiple childrens.
 void removeAll()
          Remove all children.
 void removeAt(java.lang.Integer vIndex)
          Remove the widget at the specified index.
 void resetAlwaysShowPlusMinusSymbol()
          Resets the user value of the property alwaysShowPlusMinusSymbol.
 void resetOpen()
          Resets the user value of the property open.
 void setAlwaysShowPlusMinusSymbol(boolean arg)
          Sets the user value of the property alwaysShowPlusMinusSymbol.
 void setOpen(boolean arg)
          Sets the user value of the property open.
 void toggle()
          Toggles between open and closed status of the folder.
 boolean toggleAlwaysShowPlusMinusSymbol()
          Toggles the (computed) value of the boolean property alwaysShowPlusMinusSymbol.
 boolean toggleOpen()
          Toggles the (computed) value of the boolean property open.
 
Methods inherited from class qx.ui.tree.AbstractTreeElement
_applyIcon, _applyLabel, _applyParent, _applySelected, _evalCurrentIcon, _getRowStructure, _handleDisplayableCustom, _onmouseup, addToCustomQueues, addToTreeQueue, destroy, flushTree, getHierarchy, getIcon, getIconObject, getIconSelected, getIndentObject, getLabel, getLabelObject, getLevel, getNode, getParentFolder, getSelected, getTree, initIcon, initIconSelected, initLabel, initSelected, isSelected, removeFromCustomQueues, removeFromTreeQueue, resetIcon, resetIconSelected, resetLabel, resetSelected, setIcon, setIconSelected, setLabel, setNode, setSelected, toggleSelected
 
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, _afterAppear, _afterDisappear, _afterInsertDom, _afterRemoveDom, _applyActiveChild, _applyFocusedChild, _applyFocusHandler, _beforeAppear, _beforeDisappear, _beforeInsertDom, _beforeRemoveDom, _changeInnerHeight, _changeInnerWidth, _computePreferredInnerHeight, _computePreferredInnerWidth, _computeVisibleChildren, _flushChildrenQueue, _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, 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, _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

TreeFolder

public TreeFolder()

The TreeFolder constructor understands two signatures. One compatible with the original qooxdoo tree and one compatible with the treefullcontrol widget. If the first parameter if of type TreeRowStructure the tree folder is rendered using this structure. Otherwhise the all three arguments are evaluated.


TreeFolder

public TreeFolder(java.lang.Object labelOrTreeRowStructure)

The TreeFolder constructor understands two signatures. One compatible with the original qooxdoo tree and one compatible with the treefullcontrol widget. If the first parameter if of type TreeRowStructure the tree folder is rendered using this structure. Otherwhise the all three arguments are evaluated.


TreeFolder

public TreeFolder(java.lang.Object labelOrTreeRowStructure,
                  java.lang.String icon)

The TreeFolder constructor understands two signatures. One compatible with the original qooxdoo tree and one compatible with the treefullcontrol widget. If the first parameter if of type TreeRowStructure the tree folder is rendered using this structure. Otherwhise the all three arguments are evaluated.


TreeFolder

public TreeFolder(java.lang.Object labelOrTreeRowStructure,
                  java.lang.String icon,
                  java.lang.String iconSelected)

The TreeFolder constructor understands two signatures. One compatible with the original qooxdoo tree and one compatible with the treefullcontrol widget. If the first parameter if of type TreeRowStructure the tree folder is rendered using this structure. Otherwhise the all three arguments are evaluated.

Method Detail

_applyAlwaysShowPlusMinusSymbol

public void _applyAlwaysShowPlusMinusSymbol(java.lang.Object value,
                                            java.lang.Object old)

_applyOpen

public void _applyOpen(java.lang.Object value,
                       java.lang.Object old)

_createChildrenStructure

public void _createChildrenStructure()

_handleChildMove

public void _handleChildMove(java.lang.Object vChild,
                             java.lang.Object vRelationIndex,
                             java.lang.Object vRelationChild)

_ondblclick

public void _ondblclick(Event e)

_onmousedown

public void _onmousedown(Event e)
Overrides:
_onmousedown in class AbstractTreeElement<T>

_onmouseup

public void _onmouseup(Event e)

_openCallback

public void _openCallback()

_updateIndent

public void _updateIndent()

_updateLastColumn

public void _updateLastColumn()

addAfterToFolder

public void addAfterToFolder(AbstractTreeElement vChild,
                             AbstractTreeElement vAfter)

Adds the new tree element vChild to the current folder, after the existing child vAfter.


addAtBeginToFolder

public void addAtBeginToFolder(AbstractTreeElement vChild)

Adds the new tree element vChild at the beginning of the current folder.


addAtEndToFolder

public void addAtEndToFolder(AbstractTreeElement vChild)

Adds the new tree element vChild at the end of the current folder.


addAtToFolder

public void addAtToFolder(AbstractTreeElement vChild,
                          java.lang.Integer vIndex)

Adds the new tree element vChild to the current folder, at position vIndex.


addBeforeToFolder

public void addBeforeToFolder(AbstractTreeElement vChild,
                              AbstractTreeElement vBefore)

Adds the new tree element vChild to the current folder, before the existing child vBefore.


addToFolder

public void addToFolder(AbstractTreeElement varargs)

Adds the passed tree elements to the current folder.


close

public void close()

Closes the current folder.


destroyContent

public void destroyContent()

deselects, disconnects, removes and disposes the content of the folder and its subfolders.

the current items subitems (and the subitems of each subitem) are destroyed going top down the TreeFolder hierarchy. The current item is left as is.


getAlwaysShowPlusMinusSymbol

public boolean getAlwaysShowPlusMinusSymbol()

Returns the (computed) value of the property alwaysShowPlusMinusSymbol.

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


getContainerObject

public VerticalBoxLayout getContainerObject()

Returns the container of the current tree element.


getFirstVisibleChildOfFolder

public AbstractTreeElement getFirstVisibleChildOfFolder()

Returns the first visible child of the folder.


getHorizontalLayout

public HorizontalBoxLayout getHorizontalLayout()

Returns the HorizontalBoxLayout of the folder.


getIndentSymbol

public java.lang.Object getIndentSymbol(boolean vUseTreeLines,
                                        java.lang.Object vColumn,
                                        java.lang.Object vFirstColumn,
                                        java.lang.Object vLastColumn)

Returns a string indicating the symbol used to indent the current item, or null.


getItems

public AbstractTreeElement getItems(boolean recursive,
                                    boolean invisible)

Returns all children of the folder.


getLastVisibleChildOfFolder

public AbstractTreeElement getLastVisibleChildOfFolder()

Returns the last visible child of the folder.


getOpen

public boolean getOpen()

Returns the (computed) value of the property open.

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


hasContent

public boolean hasContent()

Returns whether the folder has content, i.e. child folder or files.


initAlwaysShowPlusMinusSymbol

public void initAlwaysShowPlusMinusSymbol(boolean arg)

Calls the apply method and dispatches the change event of the property alwaysShowPlusMinusSymbol 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: alwaysShowPlusMinusSymbol.


initOpen

public void initOpen(boolean arg)

Calls the apply method and dispatches the change event of the property open 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: open.


isAlwaysShowPlusMinusSymbol

public boolean isAlwaysShowPlusMinusSymbol()

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

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


isOpen

public boolean isOpen()

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

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


open

public void open()

Opens the current folder.


remove

public void remove(Widget varargs)
Description copied from class: Parent

Remove one or multiple childrens.

Overrides:
remove in class Parent

removeAll

public void removeAll()
Description copied from class: Parent

Remove all children.

Overrides:
removeAll in class Parent

removeAt

public void removeAt(java.lang.Integer vIndex)
Description copied from class: Parent

Remove the widget at the specified index.

Overrides:
removeAt in class Parent

resetAlwaysShowPlusMinusSymbol

public void resetAlwaysShowPlusMinusSymbol()

Resets the user value of the property alwaysShowPlusMinusSymbol.

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: alwaysShowPlusMinusSymbol.


resetOpen

public void resetOpen()

Resets the user value of the property open.

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: open.


setAlwaysShowPlusMinusSymbol

public void setAlwaysShowPlusMinusSymbol(boolean arg)

Sets the user value of the property alwaysShowPlusMinusSymbol.

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


setOpen

public void setOpen(boolean arg)

Sets the user value of the property open.

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


toggle

public void toggle()

Toggles between open and closed status of the folder.


toggleAlwaysShowPlusMinusSymbol

public boolean toggleAlwaysShowPlusMinusSymbol()

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

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


toggleOpen

public boolean toggleOpen()

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

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


addFile

public TreeFile<T> addFile(T node)

addFolder

public TreeFolder<T> addFolder(T node)


Copyright © 2008 1&1. All Rights Reserved.