Evolving Strategies for the Prisoner's Dilemma

ie.errity.pd.graphics
Class EmeraldTheme

java.lang.Object
  |
  +--javax.swing.plaf.metal.MetalTheme
        |
        +--javax.swing.plaf.metal.DefaultMetalTheme
              |
              +--ie.errity.pd.graphics.EmeraldTheme

public class EmeraldTheme
extends javax.swing.plaf.metal.DefaultMetalTheme

This class implements a custom 'green' look and feel to replace the default Java metal look and feel.


Constructor Summary
EmeraldTheme()
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the theme.
protected  javax.swing.plaf.ColorUIResource getPrimary1()
           
protected  javax.swing.plaf.ColorUIResource getPrimary2()
           
protected  javax.swing.plaf.ColorUIResource getPrimary3()
           
protected  javax.swing.plaf.ColorUIResource getSecondary1()
           
protected  javax.swing.plaf.ColorUIResource getSecondary2()
           
protected  javax.swing.plaf.ColorUIResource getSecondary3()
           
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getDesktopColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmeraldTheme

public EmeraldTheme()
Method Detail

getName

public java.lang.String getName()
Returns the name of the theme.

Overrides:
getName in class javax.swing.plaf.metal.DefaultMetalTheme
Returns:
the theme's name

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

getSecondary1

protected javax.swing.plaf.ColorUIResource getSecondary1()
Overrides:
getSecondary1 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

Andrew Errity [99086921]