本文整理了Java中org.jbundle.thin.base.util.Application.setProperty()
方法的一些代码示例,展示了Application.setProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Application.setProperty()
方法的具体详情如下:
包路径:org.jbundle.thin.base.util.Application
类名称:Application
方法名:setProperty
暂无
代码示例来源:origin: com.tourgeek.thin.app/com.tourgeek.thin.app.booking
/**
* Initialize this class.
*/
public void init(Object parent, Object obj)
{
if (parent instanceof BaseApplet)
{ // Always
String strThisPackage = this.getClass().getName();
strThisPackage = strThisPackage.substring(0, strThisPackage.lastIndexOf('.') + 1);
((BaseApplet)parent).getApplication().setProperty(Params.RESOURCE, strThisPackage + "Tour");
((BaseApplet)parent).getApplication().setLanguage(null); // Set the default language
}
super.init(parent, obj);
this.addSubPanels(this);
this.getCalendarModel().addMySelectionListener(this);
}
/**
代码示例来源:origin: org.jbundle.base.screen/org.jbundle.base.screen.model
string = DBConstants.NO;
if (string != null)
application.setProperty(DBParams.FRAMES, string);
string = UserInfoModel.YES;
if (string != null)
application.setProperty(DBParams.MENUBARS, string);
string = UserInfoModel.NO_ICONS;
if (string != null)
application.setProperty(DBParams.NAVMENUS, string);
application.setProperty(DBParams.JAVA, string);
string = DBConstants.NO;
if (string != null)
application.setProperty(DBParams.BANNERS, string);
string = UserInfoModel.HOME_PAGE_ONLY;
if (string != null)
application.setProperty(DBParams.LOGOS, string);
string = UserInfoModel.HOME_PAGE_ONLY;
if (string != null)
application.setProperty(DBParams.TRAILERS, string);
application.setProperty(DBConstants.SYSTEM_NAME, string);
application.setProperty(DBConstants.MODE, string);
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
string = DBConstants.NO;
if (string != null)
application.setProperty(DBParams.FRAMES, string);
string = UserMenubarField.YES;
if (string != null)
application.setProperty(DBParams.MENUBARS, string);
string = UserNavMenusField.NO_ICONS;
if (string != null)
application.setProperty(DBParams.NAVMENUS, string);
application.setProperty(DBParams.JAVA, string);
string = DBConstants.NO;
if (string != null)
application.setProperty(DBParams.BANNERS, string);
string = UserLogosField.HOME_PAGE_ONLY;
if (string != null)
application.setProperty(DBParams.LOGOS, string);
string = UserLogosField.HOME_PAGE_ONLY;
if (string != null)
application.setProperty(DBParams.TRAILERS, string);
application.setProperty(DBConstants.SUB_SYSTEM_LN_SUFFIX, string);
内容来源于网络,如有侵权,请联系作者删除!