|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.metal.MetalTheme
net.beeger.squareness.theme.SquarenessTheme
public abstract class SquarenessTheme
The common abstract superclass for all Squareness theme classes.
| Constructor Summary | |
|---|---|
SquarenessTheme()
|
|
| Method Summary | |
|---|---|
javax.swing.plaf.FontUIResource |
getControlTextFont()
|
abstract javax.swing.plaf.ColorUIResource |
getDefaultButtonBorderColor()
Return the default button border color. |
abstract javax.swing.plaf.ColorUIResource |
getDesktopColor()
Return the desktop color. |
abstract javax.swing.plaf.ColorUIResource |
getDisabledBorderColor()
Return the disabled border color. |
abstract javax.swing.plaf.ColorUIResource |
getInactiveWindowBorderColor()
Return the inactive window border color. |
javax.swing.plaf.FontUIResource |
getMenuTextFont()
|
abstract javax.swing.plaf.ColorUIResource |
getNormalBorderColor()
Return the normal border color. |
abstract javax.swing.plaf.ColorUIResource |
getNormalControlBackgroundColor()
Return the normal control background color. |
abstract javax.swing.plaf.ColorUIResource |
getPressedScrollBarTrackBackgroundColor()
Return the pressed scroll bar track background color. |
abstract javax.swing.plaf.ColorUIResource |
getProgressBarBackgroundColor()
Return the progress bar background color. |
abstract javax.swing.plaf.ColorUIResource |
getSelectedControlBackgroundColor()
Return the selected control background color. |
abstract javax.swing.plaf.ColorUIResource |
getSelectedControlBackgroundShadowColor()
Return the selected control background shadow color. |
javax.swing.plaf.FontUIResource |
getSubTextFont()
|
javax.swing.plaf.FontUIResource |
getSystemTextFont()
|
abstract javax.swing.plaf.ColorUIResource |
getTextColor()
Return the text color. |
abstract javax.swing.plaf.ColorUIResource |
getTextInputBackgroundColor()
Return the text input background color. |
javax.swing.plaf.FontUIResource |
getUserTextFont()
|
abstract javax.swing.plaf.ColorUIResource |
getWindowBackgroundColor()
Return the window background color. |
javax.swing.plaf.FontUIResource |
getWindowTitleFont()
|
abstract 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 javax.swing.plaf.metal.MetalTheme |
|---|
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getName, 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 |
|---|
public SquarenessTheme()
| Method Detail |
|---|
public javax.swing.plaf.FontUIResource getControlTextFont()
getControlTextFont in class javax.swing.plaf.metal.MetalThemepublic javax.swing.plaf.FontUIResource getMenuTextFont()
getMenuTextFont in class javax.swing.plaf.metal.MetalThemepublic javax.swing.plaf.FontUIResource getSubTextFont()
getSubTextFont in class javax.swing.plaf.metal.MetalThemepublic javax.swing.plaf.FontUIResource getSystemTextFont()
getSystemTextFont in class javax.swing.plaf.metal.MetalThemepublic javax.swing.plaf.FontUIResource getUserTextFont()
getUserTextFont in class javax.swing.plaf.metal.MetalThemepublic javax.swing.plaf.FontUIResource getWindowTitleFont()
getWindowTitleFont in class javax.swing.plaf.metal.MetalThemepublic abstract javax.swing.plaf.ColorUIResource getDesktopColor()
Return the desktop color.
This color is used as the background color of desktop panes.
getDesktopColor in class javax.swing.plaf.metal.MetalThemepublic abstract javax.swing.plaf.ColorUIResource getWindowBackgroundColor()
Return the window background color.
This color is used as the background color of windows of all sorts.
public abstract javax.swing.plaf.ColorUIResource getInactiveWindowBorderColor()
Return the inactive window border color.
This color is used for the border of inactive frames.
public abstract javax.swing.plaf.ColorUIResource getNormalBorderColor()
Return the normal border color.
This color is used for borders of all sorts: control borders, window, menu etc. borders.
public abstract javax.swing.plaf.ColorUIResource getDisabledBorderColor()
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.
public abstract javax.swing.plaf.ColorUIResource getDefaultButtonBorderColor()
Return the default button border color.
This color is used for the border of default buttons.
public abstract javax.swing.plaf.ColorUIResource getNormalControlBackgroundColor()
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
public abstract javax.swing.plaf.ColorUIResource getSelectedControlBackgroundColor()
Return the selected control background color.
This color is used for the background of selected controls and controls over which the mouse pointer hovers.
public abstract javax.swing.plaf.ColorUIResource getSelectedControlBackgroundShadowColor()
Return the selected control background shadow color.
This color is used for the shadow in the background of selected controls.
public abstract javax.swing.plaf.ColorUIResource getProgressBarBackgroundColor()
Return the progress bar background color.
This color is used for the background of progress bars and for the tracks of scroll bars.
public abstract javax.swing.plaf.ColorUIResource getPressedScrollBarTrackBackgroundColor()
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.).
public abstract javax.swing.plaf.ColorUIResource getTextInputBackgroundColor()
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.)
public abstract javax.swing.plaf.ColorUIResource getTextColor()
Return the text color.
All text - no matter where it is printed on - is printed in this color.)
public abstract boolean isDark()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||