当前位置: 首页>>代码示例>>Java>>正文


Java PlasticTheme类代码示例

本文整理汇总了Java中com.jgoodies.looks.plastic.PlasticTheme的典型用法代码示例。如果您正苦于以下问题:Java PlasticTheme类的具体用法?Java PlasticTheme怎么用?Java PlasticTheme使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


PlasticTheme类属于com.jgoodies.looks.plastic包,在下文中一共展示了PlasticTheme类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setLookAndTheme

import com.jgoodies.looks.plastic.PlasticTheme; //导入依赖的package包/类
public static void setLookAndTheme(LookAndFeel laf, Object theme)
/* 134:    */     throws UnsupportedLookAndFeelException
/* 135:    */   {
/* 136:419 */     if (((laf instanceof PlasticLookAndFeel)) && (theme != null) && ((theme instanceof PlasticTheme))) {
/* 137:422 */       PlasticLookAndFeel.setPlasticTheme((PlasticTheme)theme);
/* 138:    */     }
/* 139:424 */     UIManager.setLookAndFeel(laf);
/* 140:    */   }
 
开发者ID:xiwc,项目名称:confluence.keygen,代码行数:9,代码来源:LookUtils.java

示例2: setCurrentTheme

import com.jgoodies.looks.plastic.PlasticTheme; //导入依赖的package包/类
/**
 *  Set Current Theme
 *  @param theme metal theme
 */
public static void setCurrentTheme (final PlasticTheme theme)
{
	if (theme != null)
	{
		THEME_CURRENT = theme;
		PlasticLookAndFeel.setCurrentTheme(THEME_CURRENT);
	}
}
 
开发者ID:metasfresh,项目名称:metasfresh,代码行数:13,代码来源:AdempiereLookAndFeel.java

示例3: setCurrentMetalTheme

import com.jgoodies.looks.plastic.PlasticTheme; //导入依赖的package包/类
/**
 * Invoke the correct method to set current metal based theme.
 * Supported look and feel are Metal, Plastic and Compiere.  
 * @param laf Metal based look and feel
 * @param theme Metal based theme
 */
static void setCurrentMetalTheme(final MetalLookAndFeel laf, final MetalTheme theme)
{
	if (laf instanceof AdempiereLookAndFeel && theme instanceof PlasticTheme)
	{
		AdempiereLookAndFeel.setCurrentTheme((PlasticTheme)theme);
	}
	else
	{
		MetalLookAndFeel.setCurrentTheme(theme);
	}
}
 
开发者ID:metasfresh,项目名称:metasfresh,代码行数:18,代码来源:AdempierePLAF.java

示例4: setLookAndTheme

import com.jgoodies.looks.plastic.PlasticTheme; //导入依赖的package包/类
public static void setLookAndTheme(LookAndFeel laf, Object theme)
    throws UnsupportedLookAndFeelException {
    if (laf instanceof PlasticLookAndFeel
        && theme != null
        && theme instanceof PlasticTheme) {
        PlasticLookAndFeel.setPlasticTheme((PlasticTheme) theme);
    }
    UIManager.setLookAndFeel(laf);
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:10,代码来源:LookUtils.java

示例5: getCurrentTheme

import com.jgoodies.looks.plastic.PlasticTheme; //导入依赖的package包/类
/**
 *  Get Current Theme
 *  @return Metal Theme
 */
public static PlasticTheme getCurrentTheme()
{
	return THEME_CURRENT;
}
 
开发者ID:metasfresh,项目名称:metasfresh,代码行数:9,代码来源:AdempiereLookAndFeel.java

示例6: getSelectedTheme

import com.jgoodies.looks.plastic.PlasticTheme; //导入依赖的package包/类
public PlasticTheme getSelectedTheme() {
	return this.selectedTheme;
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:4,代码来源:Settings.java

示例7: setSelectedTheme

import com.jgoodies.looks.plastic.PlasticTheme; //导入依赖的package包/类
public void setSelectedTheme(PlasticTheme selectedTheme) {
	this.selectedTheme = selectedTheme;
}
 
开发者ID:javachen,项目名称:IBMDataMovementTool,代码行数:4,代码来源:Settings.java

示例8: setTheme

import com.jgoodies.looks.plastic.PlasticTheme; //导入依赖的package包/类
/**
 * @param theme PlasticTheme to use.
 * @see com.jgoodies.looks.plastic.PlasticLookAndFeel#setPlasticTheme(com.jgoodies.looks.plastic.PlasticTheme)
 */
public void setTheme(PlasticTheme theme) {
    PlasticLookAndFeel.setPlasticTheme(theme);
}
 
开发者ID:shevek,项目名称:spring-rich-client,代码行数:8,代码来源:JGoodiesLooksConfigurer.java


注:本文中的com.jgoodies.looks.plastic.PlasticTheme类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。