FileDocCategorySizeDatePackage
BigContrastMetalTheme.javaAPI DocSun JDK 1.4.2 Example4293Thu May 12 00:35:27 BST 2005None

BigContrastMetalTheme

public class BigContrastMetalTheme extends ContrastMetalTheme
This class describes a theme using "green" colors.
version
1.13 01/23/03
author
Steve Wilson

Fields Summary
private final FontUIResource
controlFont
private final FontUIResource
systemFont
private final FontUIResource
windowTitleFont
private final FontUIResource
userFont
private final FontUIResource
smallFont
Constructors Summary
Methods Summary
public voidaddCustomEntriesToTable(javax.swing.UIDefaults table)

         super.addCustomEntriesToTable(table);

         final int internalFrameIconSize = 30;
         table.put("InternalFrame.closeIcon", MetalIconFactory.getInternalFrameCloseIcon(internalFrameIconSize));
         table.put("InternalFrame.maximizeIcon", MetalIconFactory.getInternalFrameMaximizeIcon(internalFrameIconSize));
         table.put("InternalFrame.iconifyIcon", MetalIconFactory.getInternalFrameMinimizeIcon(internalFrameIconSize));
         table.put("InternalFrame.minimizeIcon", MetalIconFactory.getInternalFrameAltMaximizeIcon(internalFrameIconSize));


	Border blackLineBorder = new BorderUIResource( new MatteBorder( 2,2,2,2, Color.black) );
	Border textBorder = blackLineBorder;

        table.put( "ToolTip.border", blackLineBorder);
	table.put( "TitledBorder.border", blackLineBorder);


        table.put( "TextField.border", textBorder);
        table.put( "PasswordField.border", textBorder);
        table.put( "TextArea.border", textBorder);
        table.put( "TextPane.font", textBorder);

        table.put( "ScrollPane.border", blackLineBorder);

        table.put( "ScrollBar.width", new Integer(25) );



    
public javax.swing.plaf.FontUIResourcegetControlTextFont()



        return controlFont;
public javax.swing.plaf.FontUIResourcegetMenuTextFont()

 return controlFont;
public java.lang.StringgetName()

 return "Low Vision"; 
public javax.swing.plaf.FontUIResourcegetSubTextFont()

 return smallFont;
public javax.swing.plaf.FontUIResourcegetSystemTextFont()

 return systemFont;
public javax.swing.plaf.FontUIResourcegetUserTextFont()

 return userFont;
public javax.swing.plaf.FontUIResourcegetWindowTitleFont()

 return windowTitleFont;