Spin Button 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.
converter (AbtConverter)
The converter attribute is an object that manages the conversion of other objects to and from their display format for certain visual parts, such as a Text part.
For many of the visual parts, you specify the type of data you want displayed for the part in the Data type field in the Settings window for the part. You can customize how you want this data to display.
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.
entryString (String)
The entryString attribute specifies the string you want to display in the entry field of the spin button.
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.
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.
itemType (Integer)
The itemType attribute specifies the type of values that appear in the spin button. Possible values include the following:
XmSBSTRING
Displays items in the spin button as strings. This is the default value.
XmSBNUMERIC
Displays items in the spin button as integers.
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.
maximum (Integer)
The maximum attribute specifies the maximum value for the spin button. If the itemType attribute is set to XmSTRING, the maximum attribute is ignored. The default value is 0.
minimum (Integer)
The minimum attribute specifies the minimum value for the spin button. If the itemType attribute is set to XmSTRING, then the minimum attribute is ignored. The default value is 0.
numericSpinInterval (Integer)
The numericSpinInterval attribute specifies the amount to increase or decrease a numeric spin button when the corresponding arrow is selected. This attribute is ignored when itemType is set to XmSBSTRING.
object
The object attribute is the data that the part represents. If the part represents non-string data, use this attribute; otherwise use the labelString or string attribute.
For example, you can use the object attribute with a converter to display the label of a button.
self (<className>)
For more information on the self attribute, refer to Using the self attribute.
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.
wrapAround (Boolean)
The wrapAround attribute specifies that you want the values to cycle through all values and not stop at the maximum or minimum values.
Last modified date: 01/29/2015