Search in sources :

Example 61 with Theme

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

the class TerraScrollBarSkin method setScrollButtonHighlightedBackgroundColor.

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

Example 62 with Theme

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

the class TerraScrollBarSkin method setScrollButtonBackgroundColor.

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

Example 63 with Theme

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

the class TerraScrollBarSkin method setBorderColor.

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

Example 64 with Theme

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

the class TerraScrollBarSkin method setScrollButtonDisabledBackgroundColor.

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

Example 65 with Theme

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

the class TerraScrollBarSkin method setScrollButtonPressedBackgroundColor.

public final void setScrollButtonPressedBackgroundColor(int scrollButtonPressedBackgroundColor) {
    Theme theme = currentTheme();
    setScrollButtonPressedBackgroundColor(theme.getColor(scrollButtonPressedBackgroundColor));
}
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