CADI.Viewer.Util
Class LookAndFeelFrame.Themes.HighContrast

java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by javax.swing.plaf.metal.DefaultMetalTheme
          extended by CADI.Viewer.Util.LookAndFeelFrame.Themes.Default
              extended by CADI.Viewer.Util.LookAndFeelFrame.Themes.LargeFont
                  extended by CADI.Viewer.Util.LookAndFeelFrame.Themes.HighContrast
Enclosing class:
LookAndFeelFrame.Themes

private class LookAndFeelFrame.Themes.HighContrast
extends LookAndFeelFrame.Themes.LargeFont

This class defines the HighContrast theme.

This class is bases on the LargerFont and using black and white colours.


Field Summary
private  javax.swing.border.Border fBlackLineBorder
           
private  int fInternalFrameIconSize
           
private  java.lang.Integer fScrollBarWidth
           
private  java.lang.Object fTextBorder
           
private  javax.swing.plaf.ColorUIResource pontrolHighlight
           
private  javax.swing.plaf.ColorUIResource primary1
           
private  javax.swing.plaf.ColorUIResource primary2
           
private  javax.swing.plaf.ColorUIResource primary3
           
private  javax.swing.plaf.ColorUIResource primaryHighlight
           
private  javax.swing.plaf.ColorUIResource secondary2
           
private  javax.swing.plaf.ColorUIResource secondary3
           
 
Constructor Summary
private LookAndFeelFrame.Themes.HighContrast()
           
 
Method Summary
 void addCustomEntriesToTable(javax.swing.UIDefaults defaults)
           
 javax.swing.plaf.ColorUIResource getAcceleratorForeground()
           
 javax.swing.plaf.ColorUIResource getAcceleratorSelectedForeground()
           
 javax.swing.plaf.ColorUIResource getControlHighlight()
           
 javax.swing.plaf.ColorUIResource getFocusColor()
           
 javax.swing.plaf.ColorUIResource getHighlightedTextColor()
           
 javax.swing.plaf.ColorUIResource getMenuSelectedBackground()
           
 javax.swing.plaf.ColorUIResource getMenuSelectedForeground()
           
 java.lang.String getName()
           
protected  javax.swing.plaf.ColorUIResource getPrimary1()
           
protected  javax.swing.plaf.ColorUIResource getPrimary2()
           
protected  javax.swing.plaf.ColorUIResource getPrimary3()
           
 javax.swing.plaf.ColorUIResource getPrimaryControlHighlight()
           
protected  javax.swing.plaf.ColorUIResource getSecondary2()
           
protected  javax.swing.plaf.ColorUIResource getSecondary3()
           
 javax.swing.plaf.ColorUIResource getTextHighlightColor()
           
 
Methods inherited from class CADI.Viewer.Util.LookAndFeelFrame.Themes.LargeFont
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
 
Methods inherited from class CADI.Viewer.Util.LookAndFeelFrame.Themes.Default
toString
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getSecondary1
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlInfo, getControlShadow, getControlTextColor, getDesktopColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

primary1

private final javax.swing.plaf.ColorUIResource primary1

primary2

private final javax.swing.plaf.ColorUIResource primary2

primary3

private final javax.swing.plaf.ColorUIResource primary3

primaryHighlight

private final javax.swing.plaf.ColorUIResource primaryHighlight

secondary2

private final javax.swing.plaf.ColorUIResource secondary2

secondary3

private final javax.swing.plaf.ColorUIResource secondary3

pontrolHighlight

private final javax.swing.plaf.ColorUIResource pontrolHighlight

fBlackLineBorder

private final javax.swing.border.Border fBlackLineBorder

fTextBorder

private final java.lang.Object fTextBorder

fInternalFrameIconSize

private final int fInternalFrameIconSize
See Also:
Constant Field Values

fScrollBarWidth

private final java.lang.Integer fScrollBarWidth
Constructor Detail

LookAndFeelFrame.Themes.HighContrast

private LookAndFeelFrame.Themes.HighContrast()
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class LookAndFeelFrame.Themes.LargeFont

getPrimary1

protected javax.swing.plaf.ColorUIResource getPrimary1()
Overrides:
getPrimary1 in class javax.swing.plaf.metal.DefaultMetalTheme

getPrimary2

protected javax.swing.plaf.ColorUIResource getPrimary2()
Overrides:
getPrimary2 in class javax.swing.plaf.metal.DefaultMetalTheme

getPrimary3

protected javax.swing.plaf.ColorUIResource getPrimary3()
Overrides:
getPrimary3 in class javax.swing.plaf.metal.DefaultMetalTheme

getSecondary2

protected javax.swing.plaf.ColorUIResource getSecondary2()
Overrides:
getSecondary2 in class javax.swing.plaf.metal.DefaultMetalTheme

getSecondary3

protected javax.swing.plaf.ColorUIResource getSecondary3()
Overrides:
getSecondary3 in class javax.swing.plaf.metal.DefaultMetalTheme

getPrimaryControlHighlight

public javax.swing.plaf.ColorUIResource getPrimaryControlHighlight()
Overrides:
getPrimaryControlHighlight in class javax.swing.plaf.metal.MetalTheme

getControlHighlight

public javax.swing.plaf.ColorUIResource getControlHighlight()
Overrides:
getControlHighlight in class javax.swing.plaf.metal.MetalTheme

getFocusColor

public javax.swing.plaf.ColorUIResource getFocusColor()
Overrides:
getFocusColor in class javax.swing.plaf.metal.MetalTheme

getTextHighlightColor

public javax.swing.plaf.ColorUIResource getTextHighlightColor()
Overrides:
getTextHighlightColor in class javax.swing.plaf.metal.MetalTheme

getHighlightedTextColor

public javax.swing.plaf.ColorUIResource getHighlightedTextColor()
Overrides:
getHighlightedTextColor in class javax.swing.plaf.metal.MetalTheme

getMenuSelectedBackground

public javax.swing.plaf.ColorUIResource getMenuSelectedBackground()
Overrides:
getMenuSelectedBackground in class javax.swing.plaf.metal.MetalTheme

getMenuSelectedForeground

public javax.swing.plaf.ColorUIResource getMenuSelectedForeground()
Overrides:
getMenuSelectedForeground in class javax.swing.plaf.metal.MetalTheme

getAcceleratorForeground

public javax.swing.plaf.ColorUIResource getAcceleratorForeground()
Overrides:
getAcceleratorForeground in class javax.swing.plaf.metal.MetalTheme

getAcceleratorSelectedForeground

public javax.swing.plaf.ColorUIResource getAcceleratorSelectedForeground()
Overrides:
getAcceleratorSelectedForeground in class javax.swing.plaf.metal.MetalTheme

addCustomEntriesToTable

public void addCustomEntriesToTable(javax.swing.UIDefaults defaults)
Overrides:
addCustomEntriesToTable in class javax.swing.plaf.metal.MetalTheme


CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Group on Interactive Coding of Images (GICI) (contact)