|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpAttributeHeaderCustomization
This interface contains properties that can be customized in order to define the graphic representation of a table attribute header in the JTGO Table Component.
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| Method Summary | |
|---|---|
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. |
float |
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. |
| Method Detail |
|---|
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.
IlpAttributeKeys.SortingUsingDisplayValuesboolean 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.CaptionLabelPositionfloat 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
IlpAttributeKeys.CaptionHorizontalAlignmentint getVerticalAlignment()
Default value: javax.swing.SwingConstants.CENTER
IlpAttributeKeys.CaptionVerticalAlignmentColor getForeground()
Default value: none.
Note: Blinking colors are not supported.
IlpAttributeKeys.CaptionLabelForegroundColorColor getBackground()
Default value: none.
Note: Blinking colors are not supported.
IlpAttributeKeys.CaptionLabelBackgroundColorString getToolTipText()
Default value: none.
IlpAttributeKeys.CaptionToolTipString
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||