public class BeautyEyeLookAndFeelWin
extends com.sun.java.swing.plaf.windows.WindowsLookAndFeel
BeautyEye Swing外观实现方案 - Windows平台专用外观实现主类.
本主题主类仅供Windows下使用,它将使用Windows操作系统默认的字体等设置.
| 构造器和说明 |
|---|
BeautyEyeLookAndFeelWin()
Instantiates a new beauty eye look and feel win.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getID() |
java.lang.String |
getName() |
boolean |
getSupportsWindowDecorations()
Gets the supports window decorations.
|
protected void |
initComponentDefaults(javax.swing.UIDefaults table) |
protected void |
initForVista()
因Windos LNF会在Vista及更新的操作系统(如win7)上对Windows LNF作附加设置,
以保证与Vista及更新平台的外观的一致性(如让菜单菜项高度更大等),请参见
WindowsLookAndFeel.initVistaComponentDefaults(..)。
|
protected void |
initOtherResourceBundle(javax.swing.UIDefaults table)
Initialize the defaults table with the name of the other ResourceBundle
used for getting localized defaults.
|
createAudioAction, getDisabledIcon, getLayoutStyle, initClassDefaults, initialize, initSystemColorDefaults, isClassicWindows, isMnemonicHidden, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setMnemonicHidden, uninitializegetAudioActionMap, getDefaults, loadSystemColors, playSoundpublic BeautyEyeLookAndFeelWin()
protected void initForVista()
BeautyEye中因需要保证审美一致性(在所有win平台上)而不需要这些额外的设置, 但因该方法是private私有方法,无法进行覆盖屏蔽,所以只能在此单列方法,以便针对Vista 及更新的平台进行补救性重新设置以便与BeautyEye LNF的审核进行适配.
WindowsLookAndFeel.initVistaComponentDefaults(..)public java.lang.String getName()
getName 在类中 com.sun.java.swing.plaf.windows.WindowsLookAndFeelpublic java.lang.String getID()
getID 在类中 com.sun.java.swing.plaf.windows.WindowsLookAndFeelpublic java.lang.String getDescription()
getDescription 在类中 com.sun.java.swing.plaf.windows.WindowsLookAndFeelpublic boolean getSupportsWindowDecorations()
getSupportsWindowDecorations 在类中 javax.swing.LookAndFeelprotected void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults 在类中 com.sun.java.swing.plaf.windows.WindowsLookAndFeelprotected void initOtherResourceBundle(javax.swing.UIDefaults table)