Package | Description |
---|---|
org.apache.metamodel.data |
API for data sets
|
Modifier and Type | Method and Description |
---|---|
static Style.Color |
StyleBuilder.createColor(int r,
int g,
int b)
Creates a color based on 3 RGB components, represented as ints
|
static Style.Color |
StyleBuilder.createColor(short r,
short g,
short b)
Creates a color based on 3 RGB components, represented as shorts
|
static Style.Color |
StyleBuilder.createColor(String rgbColorCode)
Creates a Color based on a 6-letter RGB hex color code string, eg.
|
Style.Color |
StyleImpl.getBackgroundColor() |
Style.Color |
Style.getBackgroundColor()
Gets the background color, or null if the color is unspecified.
|
Style.Color |
StyleImpl.getForegroundColor() |
Style.Color |
Style.getForegroundColor()
Gets the foreground (text) color, or null if the color is unspecified.
|
Modifier and Type | Method and Description |
---|---|
StyleBuilder |
StyleBuilder.background(Style.Color color)
Sets the background (fill) color of the style
|
StyleBuilder |
StyleBuilder.foreground(Style.Color color)
Sets the foreground (text) color of the style
|
Constructor and Description |
---|
StyleBuilder(Style.Color defaultForegroundColor,
Style.Color defaultBackgroundColor)
Constructs a new
StyleBuilder with a specified default foreground
and background colors. |
StyleImpl(boolean bold,
boolean italic,
boolean underline,
Integer fontSize,
Style.SizeUnit fontSizeUnit,
Style.TextAlignment alignment,
Style.Color backgroundColor,
Style.Color foregroundColor) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.