所有类


类 javax.swing.plaf.ColorUIResource
的使用

使用 ColorUIResource 的软件包
javax.swing.plaf.metal 提供根据 Java 外观(曾经代称为 Metal)构建的用户界面对象,Java 外观是默认外观。 
 

javax.swing.plaf.metalColorUIResource 的使用
 

返回 ColorUIResourcejavax.swing.plaf.metal 中的方法
static ColorUIResource MetalLookAndFeel.getAcceleratorForeground()
           
 ColorUIResource MetalTheme.getAcceleratorForeground()
           
static ColorUIResource MetalLookAndFeel.getAcceleratorSelectedForeground()
           
 ColorUIResource MetalTheme.getAcceleratorSelectedForeground()
           
static ColorUIResource MetalLookAndFeel.getBlack()
           
protected  ColorUIResource MetalTheme.getBlack()
           
protected  ColorUIResource OceanTheme.getBlack()
          返回 Metal 外观应该用作 "Black" 的颜色。
static ColorUIResource MetalLookAndFeel.getControl()
           
 ColorUIResource MetalTheme.getControl()
           
static ColorUIResource MetalLookAndFeel.getControlDarkShadow()
           
 ColorUIResource MetalTheme.getControlDarkShadow()
           
static ColorUIResource MetalLookAndFeel.getControlDisabled()
           
 ColorUIResource MetalTheme.getControlDisabled()
           
static ColorUIResource MetalLookAndFeel.getControlHighlight()
           
 ColorUIResource MetalTheme.getControlHighlight()
           
static ColorUIResource MetalLookAndFeel.getControlInfo()
           
 ColorUIResource MetalTheme.getControlInfo()
           
static ColorUIResource MetalLookAndFeel.getControlShadow()
           
 ColorUIResource MetalTheme.getControlShadow()
           
static ColorUIResource MetalLookAndFeel.getControlTextColor()
           
 ColorUIResource MetalTheme.getControlTextColor()
           
 ColorUIResource OceanTheme.getControlTextColor()
          返回 Metal 外观应该用作控件默认颜色的颜色。
static ColorUIResource MetalLookAndFeel.getDesktopColor()
           
 ColorUIResource MetalTheme.getDesktopColor()
           
 ColorUIResource OceanTheme.getDesktopColor()
          返回 Metal 外观应该用作桌面背景色的颜色。
static ColorUIResource MetalLookAndFeel.getFocusColor()
           
 ColorUIResource MetalTheme.getFocusColor()
           
static ColorUIResource MetalLookAndFeel.getHighlightedTextColor()
           
 ColorUIResource MetalTheme.getHighlightedTextColor()
           
static ColorUIResource MetalLookAndFeel.getInactiveControlTextColor()
           
 ColorUIResource MetalTheme.getInactiveControlTextColor()
           
 ColorUIResource OceanTheme.getInactiveControlTextColor()
          返回 Metal 外观应该用作非活动控件的默认颜色的颜色。
static ColorUIResource MetalLookAndFeel.getInactiveSystemTextColor()
           
 ColorUIResource MetalTheme.getInactiveSystemTextColor()
           
static ColorUIResource MetalLookAndFeel.getMenuBackground()
           
 ColorUIResource MetalTheme.getMenuBackground()
           
static ColorUIResource MetalLookAndFeel.getMenuDisabledForeground()
           
 ColorUIResource MetalTheme.getMenuDisabledForeground()
           
 ColorUIResource OceanTheme.getMenuDisabledForeground()
          返回 Metal 外观应该用作禁用菜单项的前景色的颜色。
static ColorUIResource MetalLookAndFeel.getMenuForeground()
           
 ColorUIResource MetalTheme.getMenuForeground()
           
static ColorUIResource MetalLookAndFeel.getMenuSelectedBackground()
           
 ColorUIResource MetalTheme.getMenuSelectedBackground()
           
static ColorUIResource MetalLookAndFeel.getMenuSelectedForeground()
           
 ColorUIResource MetalTheme.getMenuSelectedForeground()
           
protected abstract  ColorUIResource MetalTheme.getPrimary1()
           
protected  ColorUIResource DefaultMetalTheme.getPrimary1()
           
protected  ColorUIResource OceanTheme.getPrimary1()
          返回 Metal 外观应该用作 "Primary 1" 的颜色。
protected abstract  ColorUIResource MetalTheme.getPrimary2()
           
protected  ColorUIResource DefaultMetalTheme.getPrimary2()
           
protected  ColorUIResource OceanTheme.getPrimary2()
          返回 Metal 外观应该用作 "Primary 2" 的颜色。
protected abstract  ColorUIResource MetalTheme.getPrimary3()
           
protected  ColorUIResource DefaultMetalTheme.getPrimary3()
           
protected  ColorUIResource OceanTheme.getPrimary3()
          返回 Metal 外观应该用作 "Primary 3" 的颜色。
static ColorUIResource MetalLookAndFeel.getPrimaryControl()
           
 ColorUIResource MetalTheme.getPrimaryControl()
           
static ColorUIResource MetalLookAndFeel.getPrimaryControlDarkShadow()
           
 ColorUIResource MetalTheme.getPrimaryControlDarkShadow()
           
static ColorUIResource MetalLookAndFeel.getPrimaryControlHighlight()
           
 ColorUIResource MetalTheme.getPrimaryControlHighlight()
           
static ColorUIResource MetalLookAndFeel.getPrimaryControlInfo()
           
 ColorUIResource MetalTheme.getPrimaryControlInfo()
           
static ColorUIResource MetalLookAndFeel.getPrimaryControlShadow()
           
 ColorUIResource MetalTheme.getPrimaryControlShadow()
           
protected abstract  ColorUIResource MetalTheme.getSecondary1()
           
protected  ColorUIResource DefaultMetalTheme.getSecondary1()
           
protected  ColorUIResource OceanTheme.getSecondary1()
          返回 Metal 外观应该用作 "Secondary 1" 的颜色。
protected abstract  ColorUIResource MetalTheme.getSecondary2()
           
protected  ColorUIResource DefaultMetalTheme.getSecondary2()
           
protected  ColorUIResource OceanTheme.getSecondary2()
          返回 Metal 外观应该用作 "Secondary 2" 的颜色。
protected abstract  ColorUIResource MetalTheme.getSecondary3()
           
protected  ColorUIResource DefaultMetalTheme.getSecondary3()
           
protected  ColorUIResource OceanTheme.getSecondary3()
          返回 Metal 外观应该用作 "Secondary 3" 的颜色。
static ColorUIResource MetalLookAndFeel.getSeparatorBackground()
           
 ColorUIResource MetalTheme.getSeparatorBackground()
           
static ColorUIResource MetalLookAndFeel.getSeparatorForeground()
           
 ColorUIResource MetalTheme.getSeparatorForeground()
           
static ColorUIResource MetalLookAndFeel.getSystemTextColor()
           
 ColorUIResource MetalTheme.getSystemTextColor()
          返回标签和带标题边框中的文本的默认颜色。
static ColorUIResource MetalLookAndFeel.getTextHighlightColor()
           
 ColorUIResource MetalTheme.getTextHighlightColor()
           
static ColorUIResource MetalLookAndFeel.getUserTextColor()
           
 ColorUIResource MetalTheme.getUserTextColor()
           
static ColorUIResource MetalLookAndFeel.getWhite()
           
protected  ColorUIResource MetalTheme.getWhite()
           
static ColorUIResource MetalLookAndFeel.getWindowBackground()
           
 ColorUIResource MetalTheme.getWindowBackground()
           
static ColorUIResource MetalLookAndFeel.getWindowTitleBackground()
           
 ColorUIResource MetalTheme.getWindowTitleBackground()
           
static ColorUIResource MetalLookAndFeel.getWindowTitleForeground()
           
 ColorUIResource MetalTheme.getWindowTitleForeground()
           
static ColorUIResource MetalLookAndFeel.getWindowTitleInactiveBackground()
           
 ColorUIResource MetalTheme.getWindowTitleInactiveBackground()
           
static ColorUIResource MetalLookAndFeel.getWindowTitleInactiveForeground()
           
 ColorUIResource MetalTheme.getWindowTitleInactiveForeground()
           
 


所有类

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部