- attributeName
- The attributeName property represents the name of the property
within the collection of items to be displayed in the part.
- backgroundColor
- The backgroundColor property is the name of the RGB color for
the background of the part.
- borderWidth
- The borderWidth property 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
- The converter property 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.
- dragDropSpec (AbtDragDropSpec)
- The dragDropSpec property specifies the drag and drop
information for the part.
You can tear-off the dragDropSpec property to access its
properties and events. If the part has a Drag/Drop tab in
its Settings window, the drag and drop properties and events will be added to
the part once you have selected either Allow drag or Allow
drop in the part's Settings window.
The dragDropSpec property has the following properties for
specifying drag and drop information:
- canBeDragSource (Boolean)
- Specifies whether the part can be the source of a drag operation.
The source is where the drag is started.
- canBeDragTarget (Boolean)
- Specifies whether the part can be the target of a drag operation.
The target is the part under the cursor during the drag.
- defaultDragOperations (OrderedCollection)
- Specifies the following default drag operations for the array of any or
all elements, with the first elements having the highest priority:
- XmMOVE
- XmCOPY
- XmLINK
- XmILLEGAL
- defaultDropOperations (OrderedCollection)
- Specifies the following default drop operations for the array of any or
all elements, with the first elements having the highest priority:
- XmMOVE
- XmCOPY
- XmLINK
- XmILLEGAL
- dropAcceptableClassList (OrderedCollection)
- Specifies a list of classes where instances can be added to the part for a
drop operation.
The dragDropSpec property has the following drag and drop
events, which all pass a callData parameter from which it gets information
about the source, target, operation, and emphasis:
- dragChanged
- Signals to the source that the target or operation of the drag session has
changed.
- dragCompleteRequested
- Signals to the source that the drag session has completed and requests
that the source perform any necessary actions for the operation.
- dragLeave
- Signals to the target that the mouse pointer has left its bounding box
during a drag session. You may want to use this for changing the target
emphasis.
- dragOver
- Signals to the target that the mouse pointer is moving over it during a
drag session. The target must fill in the vote field of the callData
parameter with the operation acceptable with regard to the source
items. See the defaultDropOperations attribute for
acceptable vote values.
- dragSourceCancelled
- Signals to the source that the drag operation was cancelled.
- dragStartRequested
- Signals to the source that the drag session has started. The source
items, images and offsets must be filled in the respective fields of the
callData parameter.
- dragTargetCancelled
- Signals to the target that the drag operation was cancelled.
- dropped
- Signals to the target that the dragged items have been dropped and
requests that the target perform any actions necessary for the drop
operation.
- editable
- The editable property 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
- The enabled property specifies whether or not the part is
available for selection. If true, the part's contents are
available for selection.
- fontName
- The fontName property is the name of the font to use for the
text displayed in the part.
- foregroundColor
- The foregroundColor property is the name of the RGB color for
the foreground of the part.
- framingSpec
- The framingSpec property represents the values specified for
the edge specifications of the part. The edge specifications determine
the width, height, and position of the part.
- helpFile
- The helpFile property is the name of the help file associated
with the part.
- helpKeysId
- The helpKeysId property 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
- The helpTitle property is the title of the help window
associated with the part.
- helpTopicId
- The helpTopicId property 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
- The items property 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 property is a collection of objects,
use the attributeName property to specify the name of the property
in the object that is to be displayed.
- itemType
- The itemType property 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.
- maximum
- The maximum property specifies the maximum value for the spin
button. If the itemType property is set to XmSTRING, the
maximum property is ignored. The default value is
0.
- minimum
- The minimum property specifies the minimum value for the spin
button. If the itemType property is set to XmSTRING, then
the minimum property is ignored. The default value is
0.
- numericSpinInterval
- The numericSpinInterval property specifies the amount to
increase or decrease a numeric spin button when the corresponding arrow is
selected. This property is not applicable if the itemType
property is set to XmSBSTRING.
- object
- The object property is the data that the part
represents. If the part represents non-string data, use this
property; otherwise use the labelString or string
property.
For example, you can use the object property with a converter to
display the label of a button.
- partName
- The partName property specifies the name you want to use to
describe the part. For nonvisual parts, this text appears under the
icon for the part on the free-form surface.
The name of the part can consist of alphanumeric characters, and must be
different from those of all other parts on the layout surface.
If you do not specify a part name, VisualAge generates a unique name based
on the class name of the part.
- tabGroup
- The tabGroup property 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
- The traversalOn property 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 property, users also can use the
Tab and Backtab keys to access the part.
- wrapAround
- The wrapAround property specifies that you want the values to
cycle through all values and not stop at the maximum or minimum values.