public interface IlpAttributeHeaderCustomization
The properties defined in this class can be used in the following cascading style sheet selectors:
attribute."MyBusinessClass/attributeOne" { labelVisible: true; label: @attributeOne; iconVisible: true; icon: '@|image("myImage")'; preferredWidth: 100; visible: true; }
IlpAttribute
Modifier and Type | Method and Description |
---|---|
Color |
getBackground()
Returns the background color of the label text in the header.
|
Color |
getForeground()
Returns the foreground color of the label text in the header.
|
int |
getHorizontalAlignment()
Returns the horizontal alignment of the label and icon within the table
column header cell.
|
Image |
getIcon()
Returns the image used to create the icon in the header.
|
String |
getLabel()
Denotes the text used as a label in the header.
|
Font |
getLabelFont()
Returns the font used to display the label in the header.
|
int |
getLabelInsets()
Returns the distance (in pixels) from the label to its border.
|
int |
getLabelPosition()
Returns to the horizontal position of the text of the label,
relative to the icon in the caption.
|
double |
getLabelSpacing()
Returns the gap between the text of the label and the icon.
|
int |
getPreferredWidth()
Returns the preferred width of a column in a table.
|
IlpSortingMode |
getSortingMode()
Returns whether this attribute is sorted in the table and, if so, in which direction.
|
int |
getSortingPriority()
Returns the priority of this attribute in the sorting process of the table.
|
String |
getToolTipText()
Returns the text used as tooltip in the header.
|
int |
getVerticalAlignment()
Returns the vertical alignment of the label and icon within the table
column header cell.
|
boolean |
isIconVisible()
Returns whether the icon is visible in the header.
|
boolean |
isLabelVisible()
Returns whether the label displayed in the header is visible.
|
boolean |
isSortingUsingDisplayValues()
Returns whether the attribute is sorted using display values or raw values.
|
boolean |
isVisible()
Returns whether a column is visible in a table.
|
boolean isVisible()
Default value: true
.
IlpAttributeKeys.Visible
int getPreferredWidth()
Default value: -1
.
IlpAttributeKeys.PreferredWidth
IlpSortingMode getSortingMode()
Default value: IlpSortingMode.NONE
.
IlpAttributeKeys.SortingMode
int getSortingPriority()
Default value : 0
.
IlpAttributeKeys.SortingPriority
boolean isSortingUsingDisplayValues()
Default value : false
.
boolean isLabelVisible()
Default value: Boolean.TRUE
.
IlpAttributeKeys.CaptionLabelVisible
String getLabel()
Default value: none.
IlpAttributeKeys.CaptionLabelString
Font getLabelFont()
Default value: none.
IlpAttributeKeys.CaptionLabelFont
int getLabelPosition()
IlvDirection.Bottom
IlvDirection.BottomLeft
IlvDirection.BottomRight
IlvDirection.Center
IlvDirection.Horizontal
IlvDirection.HorizontalCenter
IlvDirection.Left
IlvDirection.Right
IlvDirection.Top
IlvDirection.TopLeft
IlvDirection.TopRight
IlvDirection.Vertical
IlvDirection.VerticalCenter
Default value: IlvDirection.Right
IlpAttributeKeys.CaptionLabelPosition
double getLabelSpacing()
Default value: 4
.
IlpAttributeKeys.CaptionLabelSpacing
int getLabelInsets()
Default value: 1
.
IlpAttributeKeys.CaptionLabelInsets
boolean isIconVisible()
Default value: Boolean.TRUE
.
IlpAttributeKeys.CaptionIconVisible
Image getIcon()
Default value: none.
IlpAttributeKeys.CaptionIcon
int getHorizontalAlignment()
Default value: javax.swing.SwingConstants.CENTER
int getVerticalAlignment()
Default value: javax.swing.SwingConstants.CENTER
Color getForeground()
Default value: none.
Note: Blinking colors are not supported.
Color getBackground()
Default value: none.
Note: Blinking colors are not supported.
String getToolTipText()
Default value: none.
IlpAttributeKeys.CaptionToolTipString
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.