use of org.apache.pivot.wtk.Theme in project pivot by apache.
the class TerraTablePaneSkin method setVerticalGridColor.
public final void setVerticalGridColor(int verticalGridColor) {
Theme theme = currentTheme();
setVerticalGridColor(theme.getColor(verticalGridColor));
}
use of org.apache.pivot.wtk.Theme in project pivot by apache.
the class TerraMeterSkin method setTextFillColor.
public final void setTextFillColor(int color) {
Theme theme = currentTheme();
setTextFillColor(theme.getColor(color));
}
use of org.apache.pivot.wtk.Theme in project pivot by apache.
the class TerraMeterSkin method setGridColor.
public final void setGridColor(int gridColor) {
Theme theme = currentTheme();
setGridColor(theme.getColor(gridColor));
}
use of org.apache.pivot.wtk.Theme in project pivot by apache.
the class TerraMeterSkin method setTextColor.
public final void setTextColor(int color) {
Theme theme = currentTheme();
setTextColor(theme.getColor(color));
}
use of org.apache.pivot.wtk.Theme in project pivot by apache.
the class TerraPaletteSkin method setTitleFontScale.
public final void setTitleFontScale(float scale) {
this.titleFontScale = scale;
Theme theme = currentTheme();
Font titleFont = theme.getFont();
titleFont = titleFont.deriveFont(Font.BOLD, Math.round(titleFont.getSize2D() * scale));
titleLabel.getStyles().put(Style.font, titleFont);
invalidateComponent();
}
Aggregations