Visual Parts Reference : Parts Reference : Windows table column : Windows table column attributes
Windows table column attributes
attributeName (Symbol)
The attributeName attribute indicates the selector sent to the row object to retrieve the data for the cell. Defaults to empty string symbol.
backgroundColor (String)
The backgroundColor attribute specifies the Color of the column background. By default, the color is white. Defaults to nil.
converter (AbtConverter)
The converter attribute is an object that manages the conversion of other objects to and fromtheir display format for certain visual parts, such as a Text part.
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. By default the part is enabled.
foregroundColor (String)
The backgroundColor attribute specifies the Color of the column foreground. By default, the color is black. Defaults to nil.
grahicsDescriptor (AbtGraphicsDescriptor)
The grahicsDescriptor attribute indicates the image to use for the header of the part. The default is no image.
heading (String)
The heading attribute is text that appears in the header of the part. By default, no label is displayed.
horizontalAlignment (Boolean)
The horizontalAlignment attribute is specifies whether text in the cells of the part is left justified, right justified or centered. By default, text is left justified. The acceptable values are
o XmALIGNMENTBEGINNING
o XmALIGNMENTCENTER
o XmALIGNMENTEND
imageOnRight (Boolean)
The imageOnRight attribute is specifies whether image and text in the header of the part are displayed with the image to the right of the text. By default, text is left of the text.
labelString (String)
The labelString attribute is label of the part. It has no visible feature.
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.
resizable (Boolean)
The resizable attribute indicates whether the end user can change the part’s width. By default, the parts width is changeable.
self (<className>)
For more information on the self attribute, refer to Using the self attribute.
width (Integer)
The width attribute is the left-to-right size of the column in pixels. Bu default columns have a width of 32.
 
Last modified date: 02/07/2024