ide
Class Preferences

java.lang.Object
  |
  +--javax.swing.plaf.metal.MetalTheme
        |
        +--javax.swing.plaf.metal.DefaultMetalTheme
              |
              +--ide.Preferences
Direct Known Subclasses:
CustomMetalTheme

class Preferences
extends javax.swing.plaf.metal.DefaultMetalTheme

A class to unify the preferences for all he past and future themes. It currently handles only the font type.


Field Summary
(package private)  java.awt.Font defaultFont
           
(package private)  java.lang.String defaultFontName
           
(package private)  FileHashtable fh
           
(package private)  int size
           
 
Fields inherited from class javax.swing.plaf.metal.DefaultMetalTheme
controlFont, primary1, primary2, primary3, secondary1, secondary2, secondary3, smallFont, systemFont, userFont
 
Fields inherited from class javax.swing.plaf.metal.MetalTheme
black, white
 
Constructor Summary
Preferences(FileHashtable fh)
           
 
Method Summary
 javax.swing.plaf.FontUIResource getControlTextFont()
           
 javax.swing.plaf.FontUIResource getMenuTextFont()
           
 javax.swing.plaf.FontUIResource getSubTextFont()
           
 javax.swing.plaf.FontUIResource getSystemTextFont()
           
 javax.swing.plaf.FontUIResource getUserTextFont()
           
 javax.swing.plaf.FontUIResource getWindowTitleFont()
           
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getName, getPrimary1, getPrimary2, getPrimary3, getSecondary1, getSecondary2, getSecondary3
 
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, registerNatives, toString, wait, wait, wait
 

Field Detail

defaultFontName

java.lang.String defaultFontName

size

int size

defaultFont

java.awt.Font defaultFont

fh

FileHashtable fh
Constructor Detail

Preferences

public Preferences(FileHashtable fh)
Method Detail

getMenuTextFont

public javax.swing.plaf.FontUIResource getMenuTextFont()
Overrides:
getMenuTextFont in class javax.swing.plaf.metal.DefaultMetalTheme

getControlTextFont

public javax.swing.plaf.FontUIResource getControlTextFont()
Overrides:
getControlTextFont in class javax.swing.plaf.metal.DefaultMetalTheme

getUserTextFont

public javax.swing.plaf.FontUIResource getUserTextFont()
Overrides:
getUserTextFont in class javax.swing.plaf.metal.DefaultMetalTheme

getSystemTextFont

public javax.swing.plaf.FontUIResource getSystemTextFont()
Overrides:
getSystemTextFont in class javax.swing.plaf.metal.DefaultMetalTheme

getSubTextFont

public javax.swing.plaf.FontUIResource getSubTextFont()
Overrides:
getSubTextFont in class javax.swing.plaf.metal.DefaultMetalTheme

getWindowTitleFont

public javax.swing.plaf.FontUIResource getWindowTitleFont()
Overrides:
getWindowTitleFont in class javax.swing.plaf.metal.DefaultMetalTheme