net.beeger.squareness.theme
Class DefaultSquarenessTheme

java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by net.beeger.squareness.theme.SquarenessTheme
          extended by net.beeger.squareness.theme.DefaultSquarenessTheme

public class DefaultSquarenessTheme
extends SquarenessTheme

Created by IntelliJ IDEA. User: Robert F. Beeger Date: 22.08.2004 Time: 20:12:55 To change this template use File | Settings | File Templates.


Constructor Summary
DefaultSquarenessTheme()
           
 
Method Summary
 javax.swing.plaf.ColorUIResource getDefaultButtonBorderColor()
          Return the default button border color.
 javax.swing.plaf.ColorUIResource getDesktopColor()
          Return the desktop color.
 javax.swing.plaf.ColorUIResource getDisabledBorderColor()
          Return the disabled border color.
 javax.swing.plaf.ColorUIResource getInactiveWindowBorderColor()
          Return the inactive window border color.
 java.lang.String getName()
           
 javax.swing.plaf.ColorUIResource getNormalBorderColor()
          Return the normal border color.
 javax.swing.plaf.ColorUIResource getNormalControlBackgroundColor()
          Return the normal control background color.
 javax.swing.plaf.ColorUIResource getPressedScrollBarTrackBackgroundColor()
          Return the pressed scroll bar track background color.
 javax.swing.plaf.ColorUIResource getProgressBarBackgroundColor()
          Return the progress bar background color.
 javax.swing.plaf.ColorUIResource getSelectedControlBackgroundColor()
          Return the selected control background color.
 javax.swing.plaf.ColorUIResource getSelectedControlBackgroundShadowColor()
          Return the selected control background shadow color.
 javax.swing.plaf.ColorUIResource getTextColor()
          Return the text color.
 javax.swing.plaf.ColorUIResource getTextInputBackgroundColor()
          Return the text input background color.
 javax.swing.plaf.ColorUIResource getWindowBackgroundColor()
          Return the window background color.
 boolean isDark()
          Is this theme a dark theme.
The information whether a theme is dark can be useful for component plugin writers needing to come up with new colors that fit into the theme.
 
Methods inherited from class net.beeger.squareness.theme.SquarenessTheme
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSquarenessTheme

public DefaultSquarenessTheme()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class javax.swing.plaf.metal.MetalTheme

getDesktopColor

public javax.swing.plaf.ColorUIResource getDesktopColor()
Description copied from class: SquarenessTheme

Return the desktop color.

This color is used as the background color of desktop panes.

Specified by:
getDesktopColor in class SquarenessTheme
Returns:
the desktop color

getWindowBackgroundColor

public javax.swing.plaf.ColorUIResource getWindowBackgroundColor()
Description copied from class: SquarenessTheme

Return the window background color.

This color is used as the background color of windows of all sorts.

Specified by:
getWindowBackgroundColor in class SquarenessTheme
Returns:
the window background color

getDisabledBorderColor

public javax.swing.plaf.ColorUIResource getDisabledBorderColor()
Description copied from class: SquarenessTheme

Return the disabled border color.

This color is used for borders of all sorts where the component to which the border is applied is disabled.

Specified by:
getDisabledBorderColor in class SquarenessTheme
Returns:
the disabled border color

getNormalBorderColor

public javax.swing.plaf.ColorUIResource getNormalBorderColor()
Description copied from class: SquarenessTheme

Return the normal border color.

This color is used for borders of all sorts: control borders, window, menu etc. borders.

Specified by:
getNormalBorderColor in class SquarenessTheme
Returns:
the normal border color

getSelectedControlBackgroundColor

public javax.swing.plaf.ColorUIResource getSelectedControlBackgroundColor()
Description copied from class: SquarenessTheme

Return the selected control background color.

This color is used for the background of selected controls and controls over which the mouse pointer hovers.

Specified by:
getSelectedControlBackgroundColor in class SquarenessTheme
Returns:
the selected control background color

getInactiveWindowBorderColor

public javax.swing.plaf.ColorUIResource getInactiveWindowBorderColor()
Description copied from class: SquarenessTheme

Return the inactive window border color.

This color is used for the border of inactive frames.

Specified by:
getInactiveWindowBorderColor in class SquarenessTheme
Returns:
the inactive window border color

getDefaultButtonBorderColor

public javax.swing.plaf.ColorUIResource getDefaultButtonBorderColor()
Description copied from class: SquarenessTheme

Return the default button border color.

This color is used for the border of default buttons.

Specified by:
getDefaultButtonBorderColor in class SquarenessTheme
Returns:
the default button border color

getNormalControlBackgroundColor

public javax.swing.plaf.ColorUIResource getNormalControlBackgroundColor()
Description copied from class: SquarenessTheme

Return the normal control background color.

This color is used for the background of normal unselected and not disabled controls such as buttons and scroll bar thumbs

Specified by:
getNormalControlBackgroundColor in class SquarenessTheme
Returns:
the normal control background color

getSelectedControlBackgroundShadowColor

public javax.swing.plaf.ColorUIResource getSelectedControlBackgroundShadowColor()
Description copied from class: SquarenessTheme

Return the selected control background shadow color.

This color is used for the shadow in the background of selected controls.

Specified by:
getSelectedControlBackgroundShadowColor in class SquarenessTheme
Returns:
the selected control background shadow color

getProgressBarBackgroundColor

public javax.swing.plaf.ColorUIResource getProgressBarBackgroundColor()
Description copied from class: SquarenessTheme

Return the progress bar background color.

This color is used for the background of progress bars and for the tracks of scroll bars.

Specified by:
getProgressBarBackgroundColor in class SquarenessTheme
Returns:
the progress bar background color

getPressedScrollBarTrackBackgroundColor

public javax.swing.plaf.ColorUIResource getPressedScrollBarTrackBackgroundColor()
Description copied from class: SquarenessTheme

Return the pressed scroll bar track background color.

This color is used for the background of scroll bar tracks when the track is pressed (i.e. you clicked the left mouse button while the mouse pointer was over the track have not released it yet.).

Specified by:
getPressedScrollBarTrackBackgroundColor in class SquarenessTheme
Returns:
the pressed scroll bar track background color

getTextInputBackgroundColor

public javax.swing.plaf.ColorUIResource getTextInputBackgroundColor()
Description copied from class: SquarenessTheme

Return the text input background color.

This color is used for the background of controls where text can be typed in (text fields, text areas etc.)

Specified by:
getTextInputBackgroundColor in class SquarenessTheme
Returns:
the text input background color

getTextColor

public javax.swing.plaf.ColorUIResource getTextColor()
Description copied from class: SquarenessTheme

Return the text color.

All text - no matter where it is printed on - is printed in this color.)

Specified by:
getTextColor in class SquarenessTheme
Returns:
the text color

isDark

public boolean isDark()
Description copied from class: SquarenessTheme
Is this theme a dark theme.
The information whether a theme is dark can be useful for component plugin writers needing to come up with new colors that fit into the theme.

Specified by:
isDark in class SquarenessTheme
Returns:
true if this theme is a dark theme, false otherwise