- alignment (Integer)
- The alignment attribute specifies that the text, icon, or
bitmap can be aligned either left, right, or centered. On some
platforms, the alignment for push buttons, toggle buttons, and cascade buttons
cannot be set and is ignored. The possible values are as follows:
- XmLEFT
- Left alignment
- XmRIGHT
- Right alignment
- XmCENTER
- Center alignment
- autoTraverse (Boolean)
- The autoTraverse attribute specifies whether the focus should
be automatically given to the next tab group when the field is full.
The field is full when a user fills all replacement characters in the format
string. The default value is false.
- 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.
- columns (Integer)
- The columns attribute specifies the width of the part measured
in average character spaces when either the left or right edge is not
attached.
The width of the control determines the initial setting of the
columns attribute unless another initialized value is connected to
the attribute. You can modify the width of the control at run time by
connecting a value to the columns attribute of 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.
- format (String)
- The format attribute specifies the mask you want to use to
format the data entered in the entry field.
- 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.
- 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.
- maxLength (Integer)
- The maxLength attribute specifies how long a string of data can
be in the field.
- notifyChangeOnEachKeystroke (Boolean)
- The notifyChangeOnEachKeystroke attribute specifies whether
each keystroke sends a notification that the part has changed.
For example, if you connect the notifyChangeOnEachKeystroke
attribute of a Text part to an action you want to occur, such as a validation
routing, then the validation would occur after each keystroke within the entry
field.
- 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.
- selectAllOnFocus (Boolean)
- The selectAllOnFocus attribute specifies whether the contents
of the display field are automatically selected when the field gets
focus. The default value is false.
- self (<className>)
- For more information on the self attribute, refer to Using the self attribute.
- string (String)
- The string attribute is the string representation of the data
for the part.
- 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.