Class NatTableCSSConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringCSS property for the NatTable background color.static final StringCSS property for the NatTable background image.static final StringCSS property forCellStyleAttributes.BORDER_STYLE.static final StringCSS property forCellStyleAttributes.BORDER_STYLE.static final StringCSS property forCellStyleAttributes.BORDER_STYLE.static final StringCSS property forCellStyleAttributes.BORDER_STYLE.static final StringCSS property forCellStyleAttributes.BORDER_STYLE.static final StringPainter properties key to specify whether the cell/row height should be calculated dependent on the content.static final StringPainter properties key to specify whether the cell/column width should be calculated dependent on the content.static final StringCSS property forCellStyleAttributes.BACKGROUND_COLOR.static final StringCSS property for configuring a background based on an image.static final StringCSS property to configure the column width.static final StringCSS property for specifying the background color of a text cell editor on conversion error.static final StringCSS property for specifying the font of a text cell editor on conversion error.static final StringCSS property for specifying the font family of a text cell editor on conversion error.static final StringCSS property for specifying the font size of a text cell editor on conversion error.static final StringCSS property for specifying the font style of a text cell editor on conversion error.static final StringCSS property for specifying the font weight of a text cell editor on conversion error.static final StringCSS property for specifying the foreground color of a text cell editor on conversion error.static final StringCSS property to configure the display converter.static final StringContext value key for background painterstatic final StringContext value key for border propertiesstatic final StringContext value key for content painterstatic final StringContext value key for conversion error font propertiesstatic final StringContext value key for decorator painter liststatic final StringContext value key for content painter configuration valuesstatic final StringContext value key for validation error font propertiesstatic final StringCSS property to configure a decoration.static final StringPainter properties key to store the decorator cell edge used by the CellPainterDecorator.static final StringPainter properties key to store the decorator image used by the CellPainterDecorator.static final StringPainter properties key to store the decorator spacing used by the CellPainterDecorator.static final StringCSS property to specify the border of the fill drag handle.static final StringCSS property to specify the color of the fill drag handle.static final StringCSS property to specify the border style of the fill region.static final StringCSS property forCellStyleAttributes.FONT.static final StringCSS property forCellStyleAttributes.FONT.static final StringCSS property forCellStyleAttributes.FONT.static final StringCSS property forCellStyleAttributes.FONT.static final StringCSS property forCellStyleAttributes.FONT.static final StringCSS property forCellStyleAttributes.FOREGROUND_COLOR.static final StringCSS property for the color of the freeze separator.static final StringCSS property for the width of the freeze separator.static final StringPainter properties key to store whether a GradientBackgroundPainter should sweep from top to bottom or from left to right.static final StringCSS property for the color of the grid lines.static final StringCSS property for the width of the grid lines.static final StringCSS property for the color of the hide indicator.static final StringCSS property for the width of the hide indicator.static final StringCSS property forCellStyleAttributes.HORIZONTAL_ALIGNMENT.static final StringCSS property forCellStyleAttributes.IMAGE.static final StringCSS property to configure whether default decorator icons should be inverted.static final StringCSS property to specify an additional spacing between lines in a text.static final StringCSS property to specify cell padding.static final StringCSS property to specify the bottom padding of a cell.static final StringCSS property to specify the left padding of a cell.static final StringCSS property to specify the right padding of a cell.static final StringCSS property to specify the top padding of a cell.static final StringPainter properties key to store the value for decorator dependent flag used by the CellPainterDecorator.static final StringCSS property for configuring the painter.static final StringCSS property for enabling/disabling the automatic painter resolution based on CSS properties.static final StringCSS property forCellStyleAttributes.PASSWORD_ECHO_CHAR.static final StringCSS property for configuring the colors to use with the PercentageBarDecorator.static final StringCSS property to specify whether grid lines should be rendered or not.static final StringCSS property to configure the row height.static final StringCSS property to specify the border color that is applied around the NatTable.static final StringCSS property forCellStyleAttributes.TEXT_DECORATION.static final StringCSS property to specify whether text should be rendered horizontally or vertically.static final StringCSS property to specify whether text should be trimmed on rendering words or not.static final StringCSS property to specify whether text should automatically wrapped between words or not.static final StringCSS property for configuring the tree structure painter.static final StringCSS property for specifying the background color of a text cell editor on validation error.static final StringCSS property for specifying the font of a text cell editor on validation error.static final StringCSS property for specifying the font family of a text cell editor on validation error.static final StringCSS property for specifying the font size of a text cell editor on validation error.static final StringCSS property for specifying the font style of a text cell editor on validation error.static final StringCSS property for specifying the font weight of a text cell editor on validation error.static final StringCSS property for specifying the foreground color of a text cell editor on validation error.static final StringCSS property forCellStyleAttributes.VERTICAL_ALIGNMENT.static final StringCSS property to specify whether words should automatically or not. -
Method Summary
-
Field Details
-
BACKGROUND_COLOR
CSS property for the NatTable background color. This has effect on the area that does not show cells or cells with a transparent background.- See Also:
-
BACKGROUND_IMAGE
CSS property for the NatTable background image. This has effect on the area that does not show cells or cells with a transparent background.- See Also:
-
TABLE_BORDER_COLOR
CSS property to specify the border color that is applied around the NatTable. Triggers the usage of the NatTableBorderOverlayPainter to apply borders on every side of the table.Setting the value auto will use the configured grid line color as the table border color.
- See Also:
-
PAINTER_RESOLUTION
CSS property for enabling/disabling the automatic painter resolution based on CSS properties.Available values:
true, false- See Also:
-
PAINTER
CSS property for configuring the painter.The pattern for configuring a painter is [background-painter]?[decorator]*[content-painter]?, although it mostly doesn't make sense to not configure a content painter.
The possible values are listed as constants in
CellPainterFactory.- See Also:
-
TREE_STRUCTURE_PAINTER
CSS property for configuring the tree structure painter. Similar toPAINTERbut specific for the tree structure configuration as it registers a painter for TreeConfigAttributes.TREE_STRUCTURE_PAINTER.Note: The value should always end with tree to configure a valid tree structure painter. It is mainly intended to configure the painter hierarchy (background and decorators) and whether to use inverted default icons via
INVERT_ICONS.Note: The content painter that should be wrapped by the tree structure painter does not need to be added here aswell because it is evaluated dynamically.
- See Also:
-
CELL_BACKGROUND_COLOR
CSS property forCellStyleAttributes.BACKGROUND_COLOR.- See Also:
-
CELL_BACKGROUND_IMAGE
CSS property for configuring a background based on an image.- See Also:
-
FOREGROUND_COLOR
CSS property forCellStyleAttributes.FOREGROUND_COLOR.- See Also:
-
HORIZONTAL_ALIGNMENT
CSS property forCellStyleAttributes.HORIZONTAL_ALIGNMENT.- See Also:
-
VERTICAL_ALIGNMENT
CSS property forCellStyleAttributes.VERTICAL_ALIGNMENT.- See Also:
-
FONT
CSS property forCellStyleAttributes.FONT.- See Also:
-
FONT_FAMILY
CSS property forCellStyleAttributes.FONT.- See Also:
-
FONT_SIZE
CSS property forCellStyleAttributes.FONT.- See Also:
-
FONT_STYLE
CSS property forCellStyleAttributes.FONT.- See Also:
-
FONT_WEIGHT
CSS property forCellStyleAttributes.FONT.- See Also:
-
IMAGE
CSS property forCellStyleAttributes.IMAGE. Triggers the usage of the ImagePainter.- See Also:
-
BORDER
CSS property forCellStyleAttributes.BORDER_STYLE. Triggers the usage of the LineBorderDecorator.- See Also:
-
BORDER_COLOR
CSS property forCellStyleAttributes.BORDER_STYLE. Triggers the usage of the LineBorderDecorator.- See Also:
-
BORDER_STYLE
CSS property forCellStyleAttributes.BORDER_STYLE. Triggers the usage of the LineBorderDecorator.- See Also:
-
BORDER_WIDTH
CSS property forCellStyleAttributes.BORDER_STYLE. Triggers the usage of the LineBorderDecorator.- See Also:
-
BORDER_MODE
CSS property forCellStyleAttributes.BORDER_STYLE. Triggers the usage of the LineBorderDecorator.Available values:
centered, internal, external- Since:
- 1.1
- See Also:
-
PASSWORD_ECHO_CHAR
CSS property forCellStyleAttributes.PASSWORD_ECHO_CHAR. Does not trigger the usage of the PasswordTextPainter. This needs to be done via additionalIConfigurationor painter CSS property.- See Also:
-
TEXT_DECORATION
CSS property forCellStyleAttributes.TEXT_DECORATION.Available values:
none, underline, line-throughCombinations are possible via space separated list.
- See Also:
-
FREEZE_SEPARATOR_COLOR
CSS property for the color of the freeze separator.- See Also:
-
FREEZE_SEPARATOR_WIDTH
CSS property for the width of the freeze separator.- Since:
- 1.2
- See Also:
-
GRID_LINE_COLOR
CSS property for the color of the grid lines.- See Also:
-
GRID_LINE_WIDTH
CSS property for the width of the grid lines.- See Also:
-
RENDER_GRID_LINES
CSS property to specify whether grid lines should be rendered or not.Available values:
true, false- See Also:
-
WORD_WRAP
CSS property to specify whether words should automatically or not. Default isfalse.Available values:
true, false- Since:
- 1.1
- See Also:
-
TEXT_WRAP
CSS property to specify whether text should automatically wrapped between words or not. Default isfalse.Available values:
true, false- See Also:
-
TEXT_TRIM
CSS property to specify whether text should be trimmed on rendering words or not. Default istrue.Available values:
true, false- See Also:
-
TEXT_DIRECTION
CSS property to specify whether text should be rendered horizontally or vertically. Default ishorizontal.Available values:
horizontal, vertical- See Also:
-
LINE_SPACING
CSS property to specify an additional spacing between lines in a text. By default this value is zero which means the line height is specified only by the font height.- Since:
- 1.1
- See Also:
-
COLUMN_WIDTH
CSS property to configure the column width. Available values are:- auto - configure automatic width calculation for content painters
- percentage - configure general percentage sizing
- percentage value (e.g. 20%) - configure specific percentage sizing
- number value (e.g. 100px)- configure column width
- See Also:
-
ROW_HEIGHT
CSS property to configure the row height. Available values are:- auto - configure automatic height calculation for content painters
- percentage - configure general percentage sizing
- percentage value (e.g. 20%) - configure specific percentage sizing
- number value (e.g. 100px)- configure row height
- See Also:
-
CONVERTER
CSS property to configure the display converter. Possible values are:- boolean
- character
- date "[pattern]"
- default
- percentage
- byte
- short [format]
- int [format]
- long [format]
- big-int
- float [format] [min-fraction-digits] [max-fraction-digits]
- double [format] [min-fraction-digits] [max-fraction-digits]
- big-decimal [min-fraction-digits] [max-fraction-digits]
- See Also:
-
DECORATION
CSS property to configure a decoration. Consists of 4 values:- the URI for the decorator icon
- number value for the spacing between base painter and decoration
- the edge to paint the decoration (top|right|bottom|left|top-right|top-left|bottom-right|bottom-left
- true|false to configure decoration dependent rendering
- See Also:
-
INVERT_ICONS
CSS property to configure whether default decorator icons should be inverted.Available values:
true, false- See Also:
-
FILL_REGION_BORDER
CSS property to specify the border style of the fill region.- See Also:
-
FILL_HANDLE_BORDER
CSS property to specify the border of the fill drag handle.- See Also:
-
FILL_HANDLE_COLOR
CSS property to specify the color of the fill drag handle.- See Also:
-
PADDING
CSS property to specify cell padding. Triggers usage of the PaddingDecorator if painter resolution is enabled.- See Also:
-
PADDING_TOP
CSS property to specify the top padding of a cell. Triggers usage of the PaddingDecorator if painter resolution is enabled.- See Also:
-
PADDING_RIGHT
CSS property to specify the right padding of a cell. Triggers usage of the PaddingDecorator if painter resolution is enabled.- See Also:
-
PADDING_BOTTOM
CSS property to specify the bottom padding of a cell. Triggers usage of the PaddingDecorator if painter resolution is enabled.- See Also:
-
PADDING_LEFT
CSS property to specify the left padding of a cell. Triggers usage of the PaddingDecorator if painter resolution is enabled.- See Also:
-
PERCENTAGE_DECORATOR_COLORS
CSS property for configuring the colors to use with the PercentageBarDecorator.- See Also:
-
CONVERSION_ERROR_FONT
CSS property for specifying the font of a text cell editor on conversion error.- See Also:
-
CONVERSION_ERROR_FONT_FAMILY
CSS property for specifying the font family of a text cell editor on conversion error.- See Also:
-
CONVERSION_ERROR_FONT_SIZE
CSS property for specifying the font size of a text cell editor on conversion error.- See Also:
-
CONVERSION_ERROR_FONT_STYLE
CSS property for specifying the font style of a text cell editor on conversion error.- See Also:
-
CONVERSION_ERROR_FONT_WEIGHT
CSS property for specifying the font weight of a text cell editor on conversion error.- See Also:
-
CONVERSION_ERROR_BACKGROUND_COLOR
CSS property for specifying the background color of a text cell editor on conversion error.- See Also:
-
CONVERSION_ERROR_FOREGROUND_COLOR
CSS property for specifying the foreground color of a text cell editor on conversion error.- See Also:
-
VALIDATION_ERROR_FONT
CSS property for specifying the font of a text cell editor on validation error.- See Also:
-
VALIDATION_ERROR_FONT_FAMILY
CSS property for specifying the font family of a text cell editor on validation error.- See Also:
-
VALIDATION_ERROR_FONT_SIZE
CSS property for specifying the font size of a text cell editor on validation error.- See Also:
-
VALIDATION_ERROR_FONT_STYLE
CSS property for specifying the font style of a text cell editor on validation error.- See Also:
-
VALIDATION_ERROR_FONT_WEIGHT
CSS property for specifying the font weight of a text cell editor on validation error.- See Also:
-
VALIDATION_ERROR_BACKGROUND_COLOR
CSS property for specifying the background color of a text cell editor on validation error.- See Also:
-
VALIDATION_ERROR_FOREGROUND_COLOR
CSS property for specifying the foreground color of a text cell editor on validation error.- See Also:
-
HIDE_INDICATOR_COLOR
CSS property for the color of the hide indicator.- Since:
- 2.0
- See Also:
-
HIDE_INDICATOR_WIDTH
CSS property for the width of the hide indicator.- Since:
- 2.0
- See Also:
-
CV_BACKGROUND_PAINTER
Context value key for background painter- See Also:
-
CV_DECORATOR_PAINTER
Context value key for decorator painter list- See Also:
-
CV_CONTENT_PAINTER
Context value key for content painter- See Also:
-
CV_PAINTER_CONFIGURATION
Context value key for content painter configuration values- See Also:
-
CV_BORDER_CONFIGURATION
Context value key for border properties- See Also:
-
CV_CONVERSION_ERROR_FONT_PROPERTIES
Context value key for conversion error font properties- See Also:
-
CV_VALIDATION_ERROR_FONT_PROPERTIES
Context value key for validation error font properties- See Also:
-
GRADIENT_BACKGROUND_VERTICAL
Painter properties key to store whether a GradientBackgroundPainter should sweep from top to bottom or from left to right.- See Also:
-
DECORATOR_SPACING
Painter properties key to store the decorator spacing used by the CellPainterDecorator.- See Also:
-
DECORATOR_EDGE
Painter properties key to store the decorator cell edge used by the CellPainterDecorator.- See Also:
-
DECORATOR_IMAGE
Painter properties key to store the decorator image used by the CellPainterDecorator.- See Also:
-
PAINT_DECORATION_DEPENDENT
Painter properties key to store the value for decorator dependent flag used by the CellPainterDecorator.- See Also:
-
CALCULATE_CELL_HEIGHT
Painter properties key to specify whether the cell/row height should be calculated dependent on the content. Default isfalse.- See Also:
-
CALCULATE_CELL_WIDTH
Painter properties key to specify whether the cell/column width should be calculated dependent on the content. Default isfalse.- See Also:
-