CSS
Property |
Type
of Value |
Default
|
Usage
|
---|---|---|---|
horizontalAlignment
|
SwingConstants
|
Center
|
Horizontal
position of the label and icon in the header cell. Possible
values are:
Center
Left
Right
|
icon
|
Image
|
null
|
Icon
to be displayed. |
iconVisible
|
Boolean
|
true
|
Determines whether the icon is displayed or not. If this
value is
true
and
icon
is
null
, the icon will not be displayed.
|
background
|
Color
|
null
|
Color
to be used for the label background. By default, the color is
gray. |
foreground
|
Color
|
null
|
Color
to be used for the label foreground. By default, the color is
black. |
labelFont
|
Font
|
null
|
Font
to be used for the label. By default, it is a sans serif
font. |
labelInsets
|
Integer
|
1
|
Space
in pixels around the label and icon. |
labelPosition
|
IlvDirection
|
Right
|
Position
of the label relative to the icon. Possible values are:
Center
Top
Left
Bottom
Right
|
labelSpacing
|
Float
|
4.0f
|
Spacing
between the label and the icon. |
label
|
String
|
null
|
Text
to be displayed for the label. By default, there is no text.
|
labelVisible
|
Boolean
|
true
|
Determines
whether the label string is displayed or not. |
toolTipText
|
String
|
null
|
Tooltip
text for the header cell. By default, there is no tooltip
text. |
verticalAlignment
|
SwingConstants
|
Center
|
Vertical
position of the label and icon in the header cell. Possible
values are:
Center
Top
Bottom
.
|
preferredWidth
|
Integer
|
-1
|
The table will attempt to use this as the width of the column
corresponding to the attribute. The actual width may be
different if you have set an autoresize mode other than
AUTO_RESIZE_OFF
.
|
sortingPriority
|
Integer
|
0
|
Determines the sort priority of the column.
0
=highest priority. If several columns have a
0
priority, the sort order will be random.
|
sortingMode
|
IlpSortingMode
|
None
|
Sorting
mode of the column. Possible values are:
ASCENDING
DESCENDING
NONE
|
visible
|
Boolean
|
true
|
Determines
whether the corresponding column should be hidden or shown by
default. |
index
|
Integer
|
-1
|
Determines the index of the column that represents the
attribute. This value takes precedence over the
tableColumnOrder
property.
|
attribute
and the CSS class
<business class name/attribute
name>
, as illustrated below:
attribute."Alarm/identifier" { label: "Alarm ID"; toolTipText: "Alarm identifier"; preferredWidth: 200; horizontalAlignment: Center; iconVisible: false; } attribute."Alarm/creationTime" { label: "Created"; toolTipText: "Creation time"; preferredWidth: 250; sortingMode: DESCENDING; }
attribute
and the CSS class
<business class name/attribute
name>
, as illustrated in the example above. However, you can use the
*
wildcard to indicate that multiple attributes of a given business
class should be configured using a single selector.
Alarm
business class to have a specific horizontal alignment and icon
visibility:
attribute."Alarm/*" { horizontalAlignment: Center; iconVisible: false; }
CSS
Property |
Type
of Value |
Default
|
Usage
|
---|---|---|---|
tableColumnOrder
|
String
|
null
|
Defines
the column order for the business class represented in the
table. Contains a list of attribute names. By default, no
column order is defined. |
object
and the CSS class
<business class name>
, as illustrated below:
object."Alarm" { tableColumnOrder: "identifier, creationTime, acknowledged, perceivedSeverity"; }
CSS
Property |
Type
of Value |
Default
|
Usage
|
---|---|---|---|
tableRowHeight
|
Integer
|
16
|
Defines
the row height for the business class represented in the
table. |
object
and the CSS class
<business class name>
, as illustrated below:
object."ilog.tgo.model.IltLink" { tableRowHeight: 27; }