Tree View attributes
attributeName (Symbol)
The attributeName attribute specifies which attribute of the contained items should be used to determine their label strings.
backgroundColor (String)
The backgroundColor attribute is the name of the RGB color for the background of the part.
borderWidth (Integer)
The borderWidth attribute is the width of the border, specified in pixels, that surrounds the part on all four sides. A width of zero means that a border does not show.
On some platforms, the border width is limited to 1 pixel and any nonzero value is set to 1.
defaultGraphicsDescriptor (AbtGraphicsDescriptor)
The defaultGraphicsDescriptor attribute specifies the graphic to use as the default icon or bitmap for an item in the tree view that is not selected.
Items added to the tree view can override the instance method abtCwTreeNode to supply customized characteristics for the node that is added to the tree view. If this method is not overridden, the defaultGraphicsDescriptor is used by the tree view to determine the icon that is displayed.
defaultSelectedGraphicsDescriptor (AbtGraphicsDescriptor)
The defaultSelectedGraphicsDescriptor attribute specifies the graphic to use as the icon for an item in the tree view that is selected.
Items added to the tree view can override the instance method abtCwTreeNode to supply a customized instance of AbtCwTreeNode which can be used to set the selectedGraphicsDescriptor for the item. If this method is not overridden, the defaultSelectedGraphicsDescriptor is used by the tree view to determine the icon that is displayed.
dragDropSpec (AbtDragDropSpec)
For more information on the dragDropSpec attribute, refer to Using the dragDropSpec attribute.
enabled (Boolean)
The enabled attribute specifies whether or not the part is available for selection. If true, the part's contents are available for selection.
fontName (String)
The fontName attribute is the name of the font to use for the text displayed in the part.
foregroundColor (String)
The foregroundColor attribute is the name of the RGB color for the foreground of the part.
framingSpec (AbtViewAttachmentConstraint)
The framingSpec attribute represents the values specified for the edge specifications of the part. The edge specifications determine the width, height, and position of the part.
helpFile (String)
The helpFile attribute is the name of the help file associated with the part.
helpKeysId (String)
The helpKeysId attribute is the ID of the keys help associated with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
helpTitle (String)
The helpTitle attribute is the title of the help window associated with the part.
helpTopicId (String)
The helpTopicId attribute is the ID of the help topic associated with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
indentation (Integer)
The indentation attribute specifies the distance each node is indented.
mappedWhenManaged (Boolean)
The mappedWhenManaged attribute specifies whether the part should be shown. If the part is currently shown, setting this attribute to false will hide the part. If the part is currently hidden, setting this attribute to true will show the part, if the parent part is shown.
menu (AbtCwMenuView)
The menu attribute is the menu part to use as the part's menu bar or pop-up menu.
selectedItem (Object)
The selectedItem attribute represents the item that is currently selected in the tree view.
selectedNode (AbtCwTreeNode)
The selectedNode attribute represents the node that is currently selected in the tree view. This attribute is an instance of AbtCwTreeNode, which describes the visual characteristics of the selected item in the tree view.
self (<className>)
For more information on the self attribute, refer to Using the self attribute.
showImages (Boolean)
The showImages attribute determines whether the tree view displays images.
showLines (Boolean)
The showLines attribute determines whether the tree view displays lines between nodes.
showPlusMinus (Boolean)
The showPlusMinus attribute determines whether the tree view displays plus/minus icons. (Labels are always displayed.)
showRootLines (Boolean)
The showRootLines attribute determines whether the tree view displays lines between root nodes.
tabGroup (Boolean)
The tabGroup attribute specifies whether or not the part is included as a tab stop so users can use the Tab and Backtab keys to access the part.
traversalOn (Boolean)
The traversalOn attribute specifies whether users can access the part using the cursor movement keys. If the part is specified as a tab stop by using the tabGroup attribute, users also can use the Tab and Backtab keys to access the part.
visibleItemCount (Integer)
The visibleItemCount attribute specifies the number of items that can fit in the visible work space. The part uses this attribute to determine the height of the part when the top or bottom edges are not attached.
Last modified date: 01/29/2015