Visual Parts Reference : Parts Reference : Container Icon Area : Container Icon Area attributes
Container Icon Area attributes
attributeName (Symbol)
The attributeName attribute represents the name of the attribute within the collection of items to be displayed in the part.
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.
defaultItemIconDescription
The defaultItemIconDescription attribute represents the icon descriptor to use as the default icon for the items displayed in the part.
dragDropSpec (AbtDragDropSpec)
For more information on the dragDropSpec attribute, refer to Using the dragDropSpec attribute.
editable (Boolean)
The editable attribute specifies whether the text in the part can be edited.
Note:
For the Container Details parts, this attribute along with the columns attribute determine whether the column cells are editable. However, the various edit events (such as editCellAt: or editSelectedCell) will edit the column, regardless of the values of these attributes.
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.
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.
innerMargin (Integer)
The innerMargin attribute specifies the amount of space to leave between the icon and its label.
itemMargin (Integer)
The itermMargin attribute specifies the area, in pixels, between the items in the list when arranged. itemMargin is also used as the margin between items and the edges of the icon area window.
itemMenu (AbtCwMenuView)
The itemMenu attribute is the menu part to use an item's pop-up menu. This menu is displayed when the mouse button 2 is clicked on an item in the part.
items (OrderedCollection)
The items attribute represents the collection of items to display in the part. Items can be a collection of objects or strings.
If the value of the items attribute is a collection of objects, use the attributeName attribute to specify the name of the attribute in the object that is to be displayed.
labelOrientation (Integer)
The labelOrientation attribute specifies how the icon labels are to be displayed in the part. Possible values are as follows:
XmRIGHT
Specifies that the label is placed to the right of each icon. This is the default value.
XmBOTTOM
Specifies that the label is placed below each icon.
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.
refreshEntireListOnChange (Boolean)
The refreshEntireListOnChange attribute specifies whether or not the list of items is updated when a change is made to one of the items.
refreshItemOnAttributeChange (Boolean)
The refreshItemOnAttributeChange attribute specifies whether to update the container if an attribute of an item in the model changes.
scrollableDown (Boolean)
The scrollableDown attribute specifies whether or not the container can currently be scrolled downward. The scrollableDown attribute returns false when the container is scrolled all the way to the bottom.
scrollableLeft (Boolean)
The scrollableLeft attribute specifies whether or not the container can currently be scrolled to the left. The scrollableLeft attribute returns false when the container is scrolled all the way to the left.
scrollableRight (Boolean)
The scrollableRight attribute specifies whether or not the container can currently be scrolled to the right. The scrollableRight attribute returns false when the container is scrolled all the way to the right.
scrollableUp (Boolean)
The scrollableUp attribute specifies whether or not the container can currently be scrolled upward. The scrollableUp attribute returns false when the container is scrolled all the way to the top.
scrollBarDisplayPolicy (Integer)
The scrollBarDisplayPolicy attribute controls the automatic placement of the scroll bars. Valid values are:
XmASNEEDED
Scroll bars will be displayed only if the list items exceed the container work region either horizontally or vertically.
XmSTATIC
Scroll bars will be displayed regardless of the relationship between the size of the list items and the size of the container.
scrollingWithHiddenScrollBars (Boolean)
The scrollingWithHiddenScrollBars attribute specifies whether or not the scroll bars should be hidden. If true, the scroll bars are hidden, but scrolling can still be performed.
selectedItem (Object)
The selectedItem attribute specifies the item that is currently selected in the part.
selectedItems (OrderedCollection)
The selectedItems attribute specifies the items currently selected in the part.
selectionIsValid (Boolean)
The selectionIsValid attribute indicates that the selection is valid. The selection is not valid if there are no selected items or a selected item is set but is not included in the collection of items.
selectionPolicy (Integer)
The selectionPolicy attribute specifies the selection policy in the container. The possible values, which depend upon the part, are as follows:
XmSINGLESELECT
Only one item can be selected at a time
XmMULTIPLESELECT
Enables multiple selection
XmEXTENDEDSELECT
Enables extended selection
XmBROWSESELECT
Enables drag and browse functionality This is the default value.
XmREADONLYSELECT
Enables navigation, but no selection or callbacks
self (<className>)
For more information on the self attribute, refer to Using the self attribute.
showHorizontalScrollBar (Boolean)
The showHorizontalScrollBar attribute specifies whether or not to display a horizontal scroll bar so the user can scroll horizontally through the text. If true, a horizontal scroll bar is displayed.
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.
Last modified date: 01/29/2015