nUITablecellElement
com.softwareag.mobile.runtime.nui.nUITablecellElement
Use to add a table cell to a table row (
nUITablerowElement).
Usage Notes
The
nUITablecellElement object sets the
InnerX attribute to
screen_width divided by 128, and
InnerY attribute to
screen_height divided by 256 on all platforms.
A table cell can contain more than one child object. The table cell objects are positioned and aligned in a manner similar to a
nUIViewDisplay object.
Use the
Bgcolor attribute to set the table cell’s background color. To specify a color, set the
Bgcolor attribute to an integer that is based on a 32-bit Alpha Red Green Blue (ARGB) format. You can use any solid color. If you specify an Alpha value that is not opaque (0xFF), the behavior of the table cell object is undefined. Setting a
Bgcolor will override any previous
BackgroundDrawable that has been set.
Use the
BackgroundDrawable attribute to set the table cell's background drawable. A background drawable may be a solid color, defined by a ColorBackground Object, or an Image defined by a PatternImage. Specifying a background color with an alpha value that is not opaque
(0xFF) will result in undefined behaviour. Setting a
BackgroundDrawable will override any previous
Bgcolor that has been set.