所有类


javax.swing.plaf.metal
类 MetalTheme

java.lang.Object
  继承者 javax.swing.plaf.metal.MetalTheme
直接已知子类:
DefaultMetalTheme

public abstract class MetalTheme
   
   
   
   
extends Object

此抽象类是描述 Metal 使用的颜色的一般方法。可以使用 MetalTheme 的子类来交换 Metal 应用程序中的颜色。


构造方法摘要
MetalTheme()
           
 
方法摘要
 void addCustomEntriesToTable(UIDefaults table)
           
 ColorUIResource getAcceleratorForeground()
           
 ColorUIResource getAcceleratorSelectedForeground()
           
protected  ColorUIResource getBlack()
           
 ColorUIResource getControl()
           
 ColorUIResource getControlDarkShadow()
           
 ColorUIResource getControlDisabled()
           
 ColorUIResource getControlHighlight()
           
 ColorUIResource getControlInfo()
           
 ColorUIResource getControlShadow()
           
 ColorUIResource getControlTextColor()
           
abstract  FontUIResource getControlTextFont()
           
 ColorUIResource getDesktopColor()
           
 ColorUIResource getFocusColor()
           
 ColorUIResource getHighlightedTextColor()
           
 ColorUIResource getInactiveControlTextColor()
           
 ColorUIResource getInactiveSystemTextColor()
           
 ColorUIResource getMenuBackground()
           
 ColorUIResource getMenuDisabledForeground()
           
 ColorUIResource getMenuForeground()
           
 ColorUIResource getMenuSelectedBackground()
           
 ColorUIResource getMenuSelectedForeground()
           
abstract  FontUIResource getMenuTextFont()
           
abstract  String getName()
           
protected abstract  ColorUIResource getPrimary1()
           
protected abstract  ColorUIResource getPrimary2()
           
protected abstract  ColorUIResource getPrimary3()
           
 ColorUIResource getPrimaryControl()
           
 ColorUIResource getPrimaryControlDarkShadow()
           
 ColorUIResource getPrimaryControlHighlight()
           
 ColorUIResource getPrimaryControlInfo()
           
 ColorUIResource getPrimaryControlShadow()
           
protected abstract  ColorUIResource getSecondary1()
           
protected abstract  ColorUIResource getSecondary2()
           
protected abstract  ColorUIResource getSecondary3()
           
 ColorUIResource getSeparatorBackground()
           
 ColorUIResource getSeparatorForeground()
           
abstract  FontUIResource getSubTextFont()
           
 ColorUIResource getSystemTextColor()
          返回标签和带标题边框中的文本的默认颜色。
abstract  FontUIResource getSystemTextFont()
           
 ColorUIResource getTextHighlightColor()
           
 ColorUIResource getUserTextColor()
           
abstract  FontUIResource getUserTextFont()
           
protected  ColorUIResource getWhite()
           
 ColorUIResource getWindowBackground()
           
 ColorUIResource getWindowTitleBackground()
           
abstract  FontUIResource getWindowTitleFont()
           
 ColorUIResource getWindowTitleForeground()
           
 ColorUIResource getWindowTitleInactiveBackground()
           
 ColorUIResource getWindowTitleInactiveForeground()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MetalTheme

public MetalTheme()
方法详细信息

getName

public abstract String getName()

getPrimary1

protected abstract ColorUIResource getPrimary1()

getPrimary2

protected abstract ColorUIResource getPrimary2()

getPrimary3

protected abstract ColorUIResource getPrimary3()

getSecondary1

protected abstract ColorUIResource getSecondary1()

getSecondary2

protected abstract ColorUIResource getSecondary2()

getSecondary3

protected abstract ColorUIResource getSecondary3()

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部