Library | File

Class uifcTree

# include <uifcTree.h>

class uifcTree
 : public virtual uifcSelection
{
    xaideclare(uifcTree)
    ...
};



Description





Method Summary

voidAddActionListener (uifcTreeListener_ptr listener)
 
xboolCanDrawContentDisabled ()
 
xboolCanPopupHelpText ()
 
xboolCanRedraw ()
 
voidCreateTimer (uifcTreeTimer_ptr timer, xrstring timerName, xbool writeInTrail)
 
voidDeleteChild (xrstring name)
 
voidDeleteColumnsByIndex (xintsequence_ptr columns)
 
voidDeleteColumnsByName (xstringsequence_ptr names)
 
voidDeleteItemByName (xrstring name)
 
voidDeleteItemsByName (xstringsequence_ptr names)
 
voidDeletePopupMenu ()
 
xboolDoesActivateOnReturn ()
 
xboolDoesAllowHover ()
 
xboolDoesAutoCheck ()
 
xboolDoesAutoOpenAndClose ()
 
xboolDoesHighlightOnDragMove ()
 
xboolDoesHorzScrollOnFocus ()
 
xboolDoesItemExist (xrstring name)
 
xboolDoesItemSelectOnRMB ()
 
xboolDoesItemSelectWhenSelected ()
 
xboolDoesScrollOnKeyboardInput ()
 
uifcColor_ptrGetAlternateRowColor ()
 
xintsequence_ptrGetColumnWidthArray ()
 
uifcPoint_ptrGetCursorPosition ()
 
xstringGetDragCursorImage ()
 
xstringGetDragItemName ()
 
xstringGetDragNotValidCursorImage ()
 
xstringGetDropItemName ()
 
xstringGetFocusItemName ()
 
uifcDimension_ptrGetFrameMinimumSize ()
 
uifcPoint_ptrGetFrameOrigin ()
 
uifcRectangle_ptrGetFrameRectangle ()
 
uifcDimension_ptrGetFrameSize ()
 
xintGetHeight ()
 
xintGetImageHeight ()
 
xintGetImageWidth ()
 
xintGetItemSelectionDelay ()
 
uifcSelectionPolicyGetItemSelectionPolicy ()
 
xstringsequence_ptrGetItemsOfType (xrstring name)
 
xintGetMinimumHeight ()
 
xintGetMinimumWidth ()
 
xstringGetMixedStateImage ()
 
voidGetMostRecentCellName (xstringsequence_ptr node, xstringsequence_ptr column)
 
xstringGetMostRecentItemName ()
 
xstringsequence_ptrGetNodeTypeCloseImageArray ()
 
xstringsequence_ptrGetNodeTypeHelpTextArray ()
 
xstringsequence_ptrGetNodeTypeNameArray ()
 
xstringsequence_ptrGetNodeTypeOpenImageArray ()
 
xstringsequence_ptrGetNodeTypePrefixArray ()
 
xstringsequence_ptrGetNodeTypeSuffixArray ()
 
xstringGetOpenCloseItemName ()
 
uifcRectangle_ptrGetRectangleOfMonitor ()
 
xstringGetRootItemName ()
 
uifcPoint_ptrGetScreenOrigin ()
 
uifcRectangle_ptrGetScreenRectangle ()
 
uifcScrollBarPositionGetScrollBarPosition ()
 
xstringsequence_ptrGetSelectedItemNameArray ()
 
xstringGetSetStateImage ()
 
uifcTreeGravityGetTreeGravity ()
 
uifcLabelAlignmentGetTreeHeaderTextAlignment ()
 
uifcTreeTypeGetTreeType ()
 
xstringGetUnsetStateImage ()
 
xstringsequence_ptrGetViewableItemNameArray (xrstring first, xrstring last)
 
xstringsequence_ptrGetViewableItemNameArray ()
 
xintGetWidth ()
 
xboolHasBorder ()
 
xboolHasScrollBarsWhenNeeded ()
 
xintInsertChild (uifcComponent_ptr component)
 
voidInsertItem (uifcTreeItem_ptr treeitem, uifcItemPositionData_ptr item_pos_data)
 
xintInsertPopupMenu (uifcComponent_ptr component)
 
xboolIsRootItemVisible ()
 
xboolIsSelectionVisible ()
 
xboolIsValidDragSite ()
 
voidMoveColumnsByIndex (xint column, xintsequence_ptr columns)
 
voidMoveColumnsByName (xrstring column, xstringsequence_ptr names)
 
voidPushAction (uifcTreeAction action)
 
voidSetActivateOnReturn (xbool flag)
 
voidSetAllowHover (xbool flag)
 
voidSetAlternateRowColor (uifcColor_ptr color)
 
voidSetAutoCheck (xbool flag)
 
voidSetAutoOpenAndClose (xbool flag)
 
voidSetCanDrawContentDisabled (xbool flag)
 
voidSetCanPopupHelpText (xbool flag)
 
voidSetCanRedraw (xbool flag)
 
voidSetColumnWidthArray (xintsequence_ptr values)
 
voidSetDragCursorImage (xrstring value)
 
voidSetDragNotValidCursorImage (xrstring value)
 
voidSetFocusItemName (xrstring value)
 
voidSetFrameOrigin (uifcPoint_ptr value)
 
voidSetFrameRectangle (uifcRectangle_ptr rect)
 
voidSetFrameSize (uifcDimension_ptr value)
 
voidSetHasBorder (xbool flag)
 
voidSetHasScrollBarsWhenNeeded (xbool flag)
 
voidSetHeight (xint value)
 
voidSetHighlightOnDragMove (xbool flag)
 
voidSetHorzScrollOnFocus (xbool flag)
 
voidSetImageHeight (xint value)
 
voidSetImageWidth (xint value)
 
voidSetItemSelectionDelay (xint value)
 
voidSetItemSelectionPolicy (uifcSelectionPolicy value)
 
voidSetItemSelectOnRMB (xbool flag)
 
voidSetItemSelectWhenSelected (xbool flag)
 
voidSetMinimumHeight (xint value)
 
voidSetMinimumWidth (xint value)
 
voidSetMixedStateImage (xrstring value)
 
voidSetNodeTypeCloseImageArray (xstringsequence_ptr values)
 
voidSetNodeTypeHelpTextArray (xstringsequence_ptr values)
 
voidSetNodeTypeNameArray (xstringsequence_ptr values)
 
voidSetNodeTypeOpenImageArray (xstringsequence_ptr values)
 
voidSetNodeTypePrefixArray (xstringsequence_ptr values)
 
voidSetNodeTypeSuffixArray (xstringsequence_ptr values)
 
voidSetRootItemName (xrstring value)
 
voidSetRootItemVisible (xbool flag)
 
voidSetScrollBarPosition (uifcScrollBarPosition value)
 
voidSetScrollOnKeyboardInput (xbool flag)
 
voidSetSelectedItemNameArray (xstringsequence_ptr values)
 
voidSetSelectionVisible (xbool flag)
 
voidSetSetStateImage (xrstring value)
 
voidSetTreeGravity (uifcTreeGravity value)
 
voidSetTreeHeaderTextAlignment (uifcLabelAlignment value)
 
voidSetTreeType (uifcTreeType value)
 
voidSetUnsetStateImage (xrstring value)
 
voidSetValidDragSite (xbool flag)
 
voidSetWidth (xint value)
 
voidStartTimer (xrstring timerName, xint duration)
 
voidStopTimer (xrstring timerName)
 


Methods Inherited from Class uifcComponent:

GetDialog, GetComponent, CreateInParent, AddPopupMenu, IsVisible, SetVisible, GetComponentClass, GetComponentClassName, IsAlwaysAtFront, SetAlwaysAtFront, GetBackgroundColor, SetBackgroundColor, IsAttachedAtBottom, SetAttachedAtBottom, GetBottomOffset, SetBottomOffset, GetCursorImage, SetCursorImage, GetTextColor, SetTextColor, GetHelpTextAlignment, SetHelpTextAlignment, GetHelpTextWidth, SetHelpTextWidth, GetHelpTextOriginX, SetHelpTextOriginX, GetHelpTextOriginY, SetHelpTextOriginY, CanInheritPopupMenu, SetCanInheritPopupMenu, IsAttachedAtLeft, SetAttachedAtLeft, GetLeftOffset, SetLeftOffset, DoesReserveSpace, SetReserveSpace, GetParentName, GetPopupMenuName, SetPopupMenuName, CanPopupMenuWhenDisabled, SetCanPopupMenuWhenDisabled, IsAttachedAtRight, SetAttachedAtRight, GetRightOffset, SetRightOffset, IsAttachedAtTop, SetAttachedAtTop, GetTopOffset, SetTopOffset, IsValidDropSite, SetValidDropSite, GetValidDropTypeFlags, SetValidDropTypeFlags, GetChildNameArray, DoesAllowTrailRecording, SetAllowTrailRecording, CanReduceHeight, SetCanReduceHeight, CanReduceWidth, SetCanReduceWidth


Methods Inherited from Class uifcSelection:

IsInMixedState, SetInMixedState, GetTextFormat, SetTextFormat, GetFontName, SetFontName, GetFontClass, SetFontClass, GetFontSize, SetFontSize, IsEnabled, SetEnabled, GetHelpText, SetHelpText, GetFontStyle, SetFontStyle



Method Detail

voidDeleteColumnsByIndex (xintsequence_ptr columns)

 

Identical to DeleteColumnsByName operation but with the columns passed as indices into the ColumnNameArray attribute.
Parameters:
columns
Returns:



uifcPoint_ptrGetFrameOrigin ()

 

Determine the position of the component, in pixels, relative to its parent.
Returns:



voidGetMostRecentCellName (xstringsequence_ptr node, xstringsequence_ptr column)

 

Determine the coordinates of the last entered cell of the Tree.
Parameters:
node
column
Returns:



xstringsequence_ptrGetItemsOfType (xrstring name)

 

Get the names of all of the nodes of the Tree which are associated with the node type of the given name.
Parameters:
name
Returns:



xstringsequence_ptrGetViewableItemNameArray (xrstring first, xrstring last)

 
Parameters:
first
last
Returns:



xintInsertPopupMenu (uifcComponent_ptr component)

 

Add a MenuPane to be displayed when the user presses the right mouse button over the component.
Parameters:
component
Returns:



uifcDimension_ptrGetFrameSize ()

 

Determine the size of the component, in pixels.
Returns:



xintInsertChild (uifcComponent_ptr component)

 


Parameters:
component
Returns:



voidDeleteColumnsByName (xstringsequence_ptr names)

 

Delete columns from the attribute window of the Tree. count is the number of columns to delete and names is the array of column names to delete, in any order.
Parameters:
names
Returns:



uifcRectangle_ptrGetFrameRectangle ()

 

Determine the size and position of the component, in pixels.
Returns:



voidDeleteChild (xrstring name)

 

Delete a component from the parent.
Parameters:
name
Returns:



voidDeleteItemByName (xrstring name)

 

Delete an item.
Parameters:
name
Returns:



uifcPoint_ptrGetCursorPosition ()

 

Get the cursor pointer position relative to the top-left corner of the node in which the cursor is contained. This should be used in response to a drag & drop callback to determine the location of the cursor within the node over which the cursor is being dragged.
Returns:



voidDeletePopupMenu ()

 

Delete a MenuPane from the component.
Returns:



voidInsertItem (uifcTreeItem_ptr treeitem, uifcItemPositionData_ptr item_pos_data)

 


Parameters:
treeitem
item_pos_data
Returns:



uifcPoint_ptrGetScreenOrigin ()

 

Determine the screen position of the component, in pixels.
Returns:



voidSetFrameSize (uifcDimension_ptr value)

 

Set the size of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
value
Returns:



voidMoveColumnsByIndex (xint column, xintsequence_ptr columns)

 

Identical to MoveColumnsByName operation but with the columns passed as indices into the ColumnNameArray attribute, or -1 to move to the start of the array.
Parameters:
column
columns
Returns:



voidDeleteItemsByName (xstringsequence_ptr names)

 

Delete items from the component.
Parameters:
names
Returns:



voidSetFrameOrigin (uifcPoint_ptr value)

 

Set the screen position of the component, in pixels, relative to its parent. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
value
Returns:



uifcDimension_ptrGetFrameMinimumSize ()

 

Determine the minimum size of the component, in pixels.
Returns:



xboolDoesItemExist (xrstring name)

 

Determine whether a node of the given name exists in the Tree.
Parameters:
name
Returns:



uifcRectangle_ptrGetScreenRectangle ()

 

Determine the size and screen position of the component, in pixels.
Returns:



voidMoveColumnsByName (xrstring column, xstringsequence_ptr names)

 

Reorders the columns of the attribute window of the Tree so that the given array of columns are placed in the given order (implied by the order of names in the array) immediately after the named column. If column is given as NULL then the columns are moved to the start of the columns of the attribute window of the Tree. The list of column names can be the complete list of columns in the attribute window of the Tree. When the columns are reordered any column-related data is also reordered, i.e. the labels, widths, etc.
Parameters:
column
names
Returns:



voidSetFrameRectangle (uifcRectangle_ptr rect)

 

Set the size and screen position of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
rect
Returns:



uifcRectangle_ptrGetRectangleOfMonitor ()

 

Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:



xintsequence_ptrGetColumnWidthArray ()

 
Returns:
The widths of the columns of the attribute window of the Tree, in character widths.



voidSetColumnWidthArray (xintsequence_ptr values)

 

Sets the widths of the columns of the attribute window of the Tree, in character widths.
Parameters:
values
Returns:



xboolDoesActivateOnReturn ()

 
Returns:
Flag indicating whether a RETURN key press should generate a OnItemActivate() callback (xtrue) or whether it should cause the default button in the Dialog to be pressed (xfalse).



voidSetActivateOnReturn (xbool flag)

 

Sets flag indicating whether a RETURN key press should generate a OnItemActivate() callback (xtrue) or whether it should cause the default button in the Dialog to be pressed (xfalse).
Parameters:
flag
Returns:



xstringsequence_ptrGetSelectedItemNameArray ()

 
Returns:
The names of the selected items of the component.



voidSetSelectedItemNameArray (xstringsequence_ptr values)

 

Sets the names of the selected items of the component.
Parameters:
values
Returns:



xintGetWidth ()

 
Returns:
The width of the Tree, in character widths.



voidSetWidth (xint value)

 

Sets the width of the Tree, in character widths.
Parameters:
value
Returns:



xboolDoesAllowHover ()

 
Returns:
Flag indicating whether the attribute-window of the Tree will issue OnItemHover() callbacks.



voidSetAllowHover (xbool flag)

 

Sets flag indicating whether the attribute-window of the Tree will issue OnItemHover() callbacks.
Parameters:
flag
Returns:



xintGetMinimumWidth ()

 
Returns:
The minimum width of the Tree, in character widths.



voidSetMinimumWidth (xint value)

 

Sets the minimum width of the Tree, in character widths.
Parameters:
value
Returns:



xintGetMinimumHeight ()

 
Returns:
The minimum number of rows of the Tree.



voidSetMinimumHeight (xint value)

 

Sets the minimum number of rows of the Tree.
Parameters:
value
Returns:



xstringsequence_ptrGetNodeTypeSuffixArray ()

 
Returns:
The text to be appended to the labels of the nodes of the node types of the Tree.



voidSetNodeTypeSuffixArray (xstringsequence_ptr values)

 

Sets the text to be appended to the labels of the nodes of the node types of the Tree.
Parameters:
values
Returns:



xstringGetMixedStateImage ()

 
Returns:
The check mark image to be displayed next to a node when the state of the node is mixed.



voidSetMixedStateImage (xrstring value)

 

Sets the check mark image to be displayed next to a node when the state of the node is mixed.
Parameters:
value
Returns:



xboolCanDrawContentDisabled ()

 
Returns:
Flag indicating whether the images embedded in the label of an node of the Tree should be greyed-out whenever the node is insensitive.



voidSetCanDrawContentDisabled (xbool flag)

 

Sets flag indicating whether the images embedded in the label of an node of the Tree should be greyed-out whenever the node is insensitive.
Parameters:
flag
Returns:



xstringsequence_ptrGetNodeTypePrefixArray ()

 
Returns:
The text to be prepended to the labels of the nodes of the node types of the Tree.



voidSetNodeTypePrefixArray (xstringsequence_ptr values)

 

Sets the text to be prepended to the labels of the nodes of the node types of the Tree.
Parameters:
values
Returns:



xstringGetDragItemName ()

 
Returns:
The name of the item being dragged when the user starts a drag & drop operation by dragging within the component.



xstringGetRootItemName ()

 
Returns:
The name of the root node of the Tree.



voidSetRootItemName (xrstring value)

 

Sets the name of the root node of the Tree.
Parameters:
value
Returns:



xboolHasScrollBarsWhenNeeded ()

 
Returns:
Flag indicating whether scrollbars should only be displayed when they are required (xtrue) or whether they should always be displayed (xfalse).



voidSetHasScrollBarsWhenNeeded (xbool flag)

 

Sets flag indicating whether scrollbars should only be displayed when they are required (xtrue) or whether they should always be displayed (xfalse).
Parameters:
flag
Returns:



xstringGetDragCursorImage ()

 
Returns:
The cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over a valid drop-site.



voidSetDragCursorImage (xrstring value)

 

Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over a valid drop-site.
Parameters:
value
Returns:



xstringGetFocusItemName ()

 
Returns:
The name of the current node of the Tree. This is the node which is drawn with a dotted focus rectangle if the Tree component has the keyboard input focus.



voidSetFocusItemName (xrstring value)

 

Sets the name of the current node of the Tree. This is the node which is drawn with a dotted focus rectangle if the Tree component has the keyboard input focus.
Parameters:
value
Returns:



xboolDoesHorzScrollOnFocus ()

 
Returns:
Flag indicating whether the Tree should be automatically scrolled horizontally as well as vertically when the current node is changed.



voidSetHorzScrollOnFocus (xbool flag)

 

Sets flag indicating whether the Tree should be automatically scrolled horizontally as well as vertically when the current node is changed.
Parameters:
flag
Returns:



xstringsequence_ptrGetViewableItemNameArray ()

 
Returns:



uifcTreeTypeGetTreeType ()

 
Returns:
The display type of the Tree.

TREE_TYPE_STANDARD No check marks
TREE_TYPE_CHECKBOXES Display check marks



voidSetTreeType (uifcTreeType value)

 

Sets the display type of the Tree.

TREE_TYPE_STANDARD No check marks
TREE_TYPE_CHECKBOXES Display check marks

Parameters:
value
Returns:



xboolDoesHighlightOnDragMove ()

 
Returns:
Flag indicating whether the nodes of the Tree should be automatically highlighted during a drag & drop operation.



voidSetHighlightOnDragMove (xbool flag)

 

Sets flag indicating whether the nodes of the Tree should be automatically highlighted during a drag & drop operation.
Parameters:
flag
Returns:



xstringGetDragNotValidCursorImage ()

 
Returns:
The cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over an invalid drop-site.



voidSetDragNotValidCursorImage (xrstring value)

 

Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over an invalid drop-site.
Parameters:
value
Returns:



uifcLabelAlignmentGetTreeHeaderTextAlignment ()

 
Returns:
The justification of the label of the Tree if the Tree has an attribute window.

LABEL_ALIGNMENT_LEFT Left justified
LABEL_ALIGNMENT_CENTER Center justified
LABEL_ALIGNMENT_RIGHT Right justified



voidSetTreeHeaderTextAlignment (uifcLabelAlignment value)

 

Sets the justification of the label of the Tree if the Tree has an attribute window.

LABEL_ALIGNMENT_LEFT Left justified
LABEL_ALIGNMENT_CENTER Center justified
LABEL_ALIGNMENT_RIGHT Right justified

Parameters:
value
Returns:



xstringGetDropItemName ()

 
Returns:
The name of the item beneath the pointer whilst the pointer is over the component during a drag & drop operation.



xstringsequence_ptrGetNodeTypeCloseImageArray ()

 
Returns:
The image to be displayed with the collapsed nodes of the node types of the Tree.



voidSetNodeTypeCloseImageArray (xstringsequence_ptr values)

 

Sets the image to be displayed with the collapsed nodes of the node types of the Tree.
Parameters:
values
Returns:



uifcColor_ptrGetAlternateRowColor ()

 
Returns:
The color of alternate lines of the Tree as a uifcColor.



voidSetAlternateRowColor (uifcColor_ptr color)

 

Sets the color of alternate lines of the Tree as a uifcColor.
Parameters:
color
Returns:



xboolCanRedraw ()

 
Returns:
Flag indicating whether redraws are allowed in the Tree.



voidSetCanRedraw (xbool flag)

 

Sets flag indicating whether redraws are allowed in the Tree.
Parameters:
flag
Returns:



xboolIsValidDragSite ()

 
Returns:
Flag indicating whether the component can be dragged to start a drag & drop operation.



voidSetValidDragSite (xbool flag)

 

Sets flag indicating whether the component can be dragged to start a drag & drop operation.
Parameters:
flag
Returns:



xintGetImageWidth ()

 
Returns:
The width of the images of the Tree, in pixels



voidSetImageWidth (xint value)

 

Sets the width of the images of the Tree, in pixels
Parameters:
value
Returns:



uifcScrollBarPositionGetScrollBarPosition ()

 
Returns:
The position of the scrollbars of the component.

SCROLLBAR_POSITION_CENTER No scrollbars
SCROLLBAR_POSITION_TOP A horizontal scrollbar at the top
SCROLLBAR_POSITION_BOTTOM A horizontal scrollbar at the bottom
SCROLLBAR_POSITION_LEFT A vertical scrollbar at the left
SCROLLBAR_POSITION_RIGHT A vertical scrollbar at the right
SCROLLBAR_POSITION_TOP_LEFT A horizontal scrollbar at the top and a vertical scrollbar at the left
SCROLLBAR_POSITION_TOP_RIGHT A horizontal scrollbar at the top and a vertical scrollbar at the right
SCROLLBAR_POSITION_BOTTOM_LEFT A horizontal scrollbar at the bottom and a vertical scrollbar at the left
SCROLLBAR_POSITION_BOTTOM_RIGHT A horizontal scrollbar at the bottom and a vertical scrollbar at the right



voidSetScrollBarPosition (uifcScrollBarPosition value)

 

Sets the position of the scrollbars of the component.

SCROLLBAR_POSITION_CENTER No scrollbars
SCROLLBAR_POSITION_TOP A horizontal scrollbar at the top
SCROLLBAR_POSITION_BOTTOM A horizontal scrollbar at the bottom
SCROLLBAR_POSITION_LEFT A vertical scrollbar at the left
SCROLLBAR_POSITION_RIGHT A vertical scrollbar at the right
SCROLLBAR_POSITION_TOP_LEFT A horizontal scrollbar at the top and a vertical scrollbar at the left
SCROLLBAR_POSITION_TOP_RIGHT A horizontal scrollbar at the top and a vertical scrollbar at the right
SCROLLBAR_POSITION_BOTTOM_LEFT A horizontal scrollbar at the bottom and a vertical scrollbar at the left
SCROLLBAR_POSITION_BOTTOM_RIGHT A horizontal scrollbar at the bottom and a vertical scrollbar at the right

Parameters:
value
Returns:



xstringsequence_ptrGetNodeTypeHelpTextArray ()

 
Returns:
The help text of the nodes of the node types of the Tree.



voidSetNodeTypeHelpTextArray (xstringsequence_ptr values)

 

Sets the help text of the nodes of the node types of the Tree.
Parameters:
values
Returns:



xboolDoesItemSelectOnRMB ()

 
Returns:
Flag to indicate whether the Tree should select the node over which the right mouse button is clicked.



voidSetItemSelectOnRMB (xbool flag)

 

Sets flag to indicate whether the Tree should select the node over which the right mouse button is clicked.
Parameters:
flag
Returns:



xboolDoesAutoOpenAndClose ()

 
Returns:
Flag indicating whether the Tree should automatically expand or collapse nodes when their +/- control box is clicked.



voidSetAutoOpenAndClose (xbool flag)

 

Sets flag indicating whether the Tree should automatically expand or collapse nodes when their +/- control box is clicked.
Parameters:
flag
Returns:



xboolDoesItemSelectWhenSelected ()

 
Returns:
Flag indicating whether the Tree should generate a OnItemSelect() callback when the currently selected item is re-selected (xtrue) or whether such a selection should be ignored as the state has not changed.



voidSetItemSelectWhenSelected (xbool flag)

 

Sets flag indicating whether the Tree should generate a OnItemSelect() callback when the currently selected item is re-selected (xtrue) or whether such a selection should be ignored as the state has not changed.
Parameters:
flag
Returns:



xintGetItemSelectionDelay ()

 
Returns:
The delay time in milliseconds which the Tree should allow to elapse before issuing a OnItemSelect() callback.
This is designed to allow applications to implement lengthy operations triggered from a OnItemSelect() callback, but without adversely interfering with the keyboard navigation and RMB user-model.
A value < 0 signifies that the system-defined double-click time should be used, to allow the user the opportunity to perform a OnItemActivate() via a left-mouse-button double-click, without being hindered by the length of time taken for the preceding OnItemSelect() callback to be processed by the application.



voidSetItemSelectionDelay (xint value)

 

Sets the delay time in milliseconds which the Tree should allow to elapse before issuing a OnItemSelect() callback.
This is designed to allow applications to implement lengthy operations triggered from a OnItemSelect() callback, but without adversely interfering with the keyboard navigation and RMB user-model.
A value < 0 signifies that the system-defined double-click time should be used, to allow the user the opportunity to perform a OnItemActivate() via a left-mouse-button double-click, without being hindered by the length of time taken for the preceding OnItemSelect() callback to be processed by the application.
Parameters:
value
Returns:



xstringsequence_ptrGetNodeTypeOpenImageArray ()

 
Returns:
The image to be displayed with the expanded nodes of the node types of the Tree.



voidSetNodeTypeOpenImageArray (xstringsequence_ptr values)

 

Sets the image to be displayed with the expanded nodes of the node types of the Tree.
Parameters:
values
Returns:



xboolCanPopupHelpText ()

 
Returns:
Flag indicating whether popup help text should be displayed over the Tree.



voidSetCanPopupHelpText (xbool flag)

 

Sets flag indicating whether popup help text should be displayed over the Tree.
Parameters:
flag
Returns:



xintGetImageHeight ()

 
Returns:
The height of the images of the Tree, in pixels



voidSetImageHeight (xint value)

 

Sets the height of the images of the Tree, in pixels
Parameters:
value
Returns:



xboolIsSelectionVisible ()

 
Returns:
Flag to indicate the color of highlighted items in a Tree that doesn't have the focus. If xtrue the highlight color is blue. If xfalse the highlight color is grey.



voidSetSelectionVisible (xbool flag)

 

Sets flag to indicate the color of highlighted items in a Tree that doesn't have the focus. If xtrue the highlight color is blue. If xfalse the highlight color is grey.
Parameters:
flag
Returns:



xboolDoesAutoCheck ()

 
Returns:
Flag indicating whether the Tree should automatically keep track of the checked state of its nodes when TreeType attribute is set to LIST_TYPE_CHECKBOXES.



voidSetAutoCheck (xbool flag)

 

Sets flag indicating whether the Tree should automatically keep track of the checked state of its nodes when TreeType attribute is set to LIST_TYPE_CHECKBOXES.
Parameters:
flag
Returns:



xstringGetUnsetStateImage ()

 
Returns:
The check mark image to be displayed next to a node when the state of the node is False.



voidSetUnsetStateImage (xrstring value)

 

Sets the check mark image to be displayed next to a node when the state of the node is False.
Parameters:
value
Returns:



xstringGetMostRecentItemName ()

 
Returns:
The item which was beneath the pointer the last time the pointer was over the component.



xstringGetSetStateImage ()

 
Returns:
The check mark image to be displayed next to a node when the state of the node is True.



voidSetSetStateImage (xrstring value)

 

Sets the check mark image to be displayed next to a node when the state of the node is True.
Parameters:
value
Returns:



xintGetHeight ()

 
Returns:
The number of rows of the Tree.



voidSetHeight (xint value)

 

Sets the number of rows of the Tree.
Parameters:
value
Returns:



uifcSelectionPolicyGetItemSelectionPolicy ()

 
Returns:
The selection policy of the component.

NO_SELECTION_POLICY No selected items
SELECTION_POLICY_SINGLE 1 or 0 selected items
SELECTION_POLICY_BROWSE Always 1 selected item
SELECTION_POLICY_MULTIPLE Any number of selected items
SELECTION_POLICY_EXTENDED Any number of selected items, including support for range selection



voidSetItemSelectionPolicy (uifcSelectionPolicy value)

 

Sets the selection policy of the component.

NO_SELECTION_POLICY No selected items
SELECTION_POLICY_SINGLE 1 or 0 selected items
SELECTION_POLICY_BROWSE Always 1 selected item
SELECTION_POLICY_MULTIPLE Any number of selected items
SELECTION_POLICY_EXTENDED Any number of selected items, including support for range selection

Parameters:
value
Returns:



xboolDoesScrollOnKeyboardInput ()

 
Returns:
Flag indicating whether the Tree should automatically scroll to the first node whose label has the initial letter keyed by the user when the user presses a printable character key.



voidSetScrollOnKeyboardInput (xbool flag)

 

Sets flag indicating whether the Tree should automatically scroll to the first node whose label has the initial letter keyed by the user when the user presses a printable character key.
Parameters:
flag
Returns:



uifcTreeGravityGetTreeGravity ()

 
Returns:
The gravity of the Tree, which is used to determine where the sash divider should be placed after the Tree is resized.

TREE_GRAVITY_FIRST The sash maintains its position relative to the tree
NO_TREE_GRAVITY The sash maintains its percentage position between both areas
TREE_GRAVITY_SECOND The sash maintains its position relative to the attribute window



voidSetTreeGravity (uifcTreeGravity value)

 

Sets the gravity of the Tree, which is used to determine where the sash divider should be placed after the Tree is resized.

TREE_GRAVITY_FIRST The sash maintains its position relative to the tree
NO_TREE_GRAVITY The sash maintains its percentage position between both areas
TREE_GRAVITY_SECOND The sash maintains its position relative to the attribute window

Parameters:
value
Returns:



xstringsequence_ptrGetNodeTypeNameArray ()

 
Returns:
The names of the node types of the Tree.



voidSetNodeTypeNameArray (xstringsequence_ptr values)

 

Sets the names of the node types of the Tree.
Parameters:
values
Returns:



xstringGetOpenCloseItemName ()

 
Returns:
The name of the node of the Tree which was expanded or collapsed to generate a OnItemOpen() or a OnItemClose(), respectively.



xboolHasBorder ()

 
Returns:
Flag indicating whether the Tree has a decorated shadow border.



voidSetHasBorder (xbool flag)

 

Sets flag indicating whether the Tree has a decorated shadow border.
Parameters:
flag
Returns:



xboolIsRootItemVisible ()

 
Returns:
Flag indicating whether the root node of the Tree should be displayed (xtrue) or whether it should be hidden from view (xfalse).



voidSetRootItemVisible (xbool flag)

 

Sets flag indicating whether the root node of the Tree should be displayed (xtrue) or whether it should be hidden from view (xfalse).
Parameters:
flag
Returns:



voidAddActionListener (uifcTreeListener_ptr listener)

 


Parameters:
listener
Returns:



voidPushAction (uifcTreeAction action)

 


Parameters:
action
Returns:



voidCreateTimer (uifcTreeTimer_ptr timer, xrstring timerName, xbool writeInTrail)

 


Parameters:
timer
timerName
writeInTrail
Returns:



voidStartTimer (xrstring timerName, xint duration)

 


Parameters:
timerName
duration
Returns:



voidStopTimer (xrstring timerName)

 


Parameters:
timerName
Returns: