...
CSS class name | Constant | Description |
---|---|---|
redBg | RowStyle.RED_BACKGROUND | set row background to red |
boldFont | RowStyle.BOLD_FONT | set row font weight to bold |
yellowBg | RowStyle.YELLOW_BACKGROUND | set row background to yellow |
brownBg | RowStyle.BROWN_BACKGROUND | set row background to brown |
blueBg | RowStyle.BLUE_BACKGROUND | set row background to blue |
greenBg | RowStyle.GREEN_BACKGROUND | set row background to green |
Info |
---|
Prefer constants over CSS class name literals. This will help you avoid many mistakes and keep your code easier to maintain. |
...