Search in sources :

Example 36 with Theme

use of org.apache.pivot.wtk.Theme in project pivot by apache.

the class TerraTreeViewSkin method setBranchControlInactiveSelectionColor.

public final void setBranchControlInactiveSelectionColor(int branchControlInactiveSelectionColor) {
    Theme theme = currentTheme();
    setBranchControlInactiveSelectionColor(theme.getColor(branchControlInactiveSelectionColor));
}
Also used : Theme(org.apache.pivot.wtk.Theme)

Example 37 with Theme

use of org.apache.pivot.wtk.Theme in project pivot by apache.

the class TerraTreeViewSkin method setDisabledColor.

public final void setDisabledColor(int disabledColor) {
    Theme theme = currentTheme();
    setDisabledColor(theme.getColor(disabledColor));
}
Also used : Theme(org.apache.pivot.wtk.Theme)

Example 38 with Theme

use of org.apache.pivot.wtk.Theme in project pivot by apache.

the class TerraTreeViewSkin method setHighlightColor.

public final void setHighlightColor(int highlightColor) {
    Theme theme = currentTheme();
    setHighlightColor(theme.getColor(highlightColor));
}
Also used : Theme(org.apache.pivot.wtk.Theme)

Example 39 with Theme

use of org.apache.pivot.wtk.Theme in project pivot by apache.

the class TerraExpanderSkin method setTitleBarBorderColor.

public final void setTitleBarBorderColor(int titleBarBorderColor) {
    Theme theme = currentTheme();
    setTitleBarBorderColor(theme.getColor(titleBarBorderColor));
}
Also used : Theme(org.apache.pivot.wtk.Theme)

Example 40 with Theme

use of org.apache.pivot.wtk.Theme in project pivot by apache.

the class TerraExpanderSkin method setTitleBarColor.

public final void setTitleBarColor(int titleBarColor) {
    Theme theme = currentTheme();
    setTitleBarColor(theme.getColor(titleBarColor));
}
Also used : Theme(org.apache.pivot.wtk.Theme)

Aggregations

Theme (org.apache.pivot.wtk.Theme)176 Color (java.awt.Color)2 Font (java.awt.Font)2 Border (org.apache.pivot.wtk.Border)2 BoxPane (org.apache.pivot.wtk.BoxPane)2 TablePane (org.apache.pivot.wtk.TablePane)2 GradientPaint (java.awt.GradientPaint)1 Locale (java.util.Locale)1 BXMLSerializer (org.apache.pivot.beans.BXMLSerializer)1 Resources (org.apache.pivot.util.Resources)1 Button (org.apache.pivot.wtk.Button)1 ButtonPressListener (org.apache.pivot.wtk.ButtonPressListener)1 ColorChooserButton (org.apache.pivot.wtk.ColorChooserButton)1 ColorChooserButtonSelectionListener (org.apache.pivot.wtk.ColorChooserButtonSelectionListener)1 Component (org.apache.pivot.wtk.Component)1 Expander (org.apache.pivot.wtk.Expander)1 Insets (org.apache.pivot.wtk.Insets)1 Label (org.apache.pivot.wtk.Label)1 NumberRuler (org.apache.pivot.wtk.NumberRuler)1 PushButton (org.apache.pivot.wtk.PushButton)1