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.Visibleint getPreferredWidth()
Default value: -1.
IlpAttributeKeys.PreferredWidthIlpSortingMode getSortingMode()
Default value: IlpSortingMode.NONE.
IlpAttributeKeys.SortingModeint getSortingPriority()
Default value : 0.
IlpAttributeKeys.SortingPriorityboolean isSortingUsingDisplayValues()
Default value : false.
boolean isLabelVisible()
Default value: Boolean.TRUE.
IlpAttributeKeys.CaptionLabelVisibleString getLabel()
Default value: none.
IlpAttributeKeys.CaptionLabelStringFont getLabelFont()
Default value: none.
IlpAttributeKeys.CaptionLabelFontint getLabelPosition()
IlvDirection.BottomIlvDirection.BottomLeftIlvDirection.BottomRightIlvDirection.CenterIlvDirection.HorizontalIlvDirection.HorizontalCenterIlvDirection.LeftIlvDirection.RightIlvDirection.TopIlvDirection.TopLeftIlvDirection.TopRightIlvDirection.VerticalIlvDirection.VerticalCenterDefault value: IlvDirection.Right
IlpAttributeKeys.CaptionLabelPositiondouble getLabelSpacing()
Default value: 4.
IlpAttributeKeys.CaptionLabelSpacingint getLabelInsets()
Default value: 1.
IlpAttributeKeys.CaptionLabelInsetsboolean isIconVisible()
Default value: Boolean.TRUE.
IlpAttributeKeys.CaptionIconVisibleImage getIcon()
Default value: none.
IlpAttributeKeys.CaptionIconint 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, 2017. All Rights Reserved.