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


Java StateHolderUtil.restoreObjectState方法代码示例

本文整理汇总了Java中com.ibm.xsp.util.StateHolderUtil.restoreObjectState方法的典型用法代码示例。如果您正苦于以下问题:Java StateHolderUtil.restoreObjectState方法的具体用法?Java StateHolderUtil.restoreObjectState怎么用?Java StateHolderUtil.restoreObjectState使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.ibm.xsp.util.StateHolderUtil的用法示例。


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

示例1: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext context, Object state) {
	Object values[] = (Object[]) state;
	super.restoreState(context, values[0]);
       columnTitle = (String)values[1];
       columnName = (String)values[2];
	value = StateHolderUtil.restoreObjectState(context,getComponent(),values[3]);
       converter = (Converter)StateHolderUtil.restoreObjectState(context, getComponent(), values[4]);
       style = (String)values[5];
       styleClass = (String)values[6];
       href = (String)values[7];
       contentType = (String)values[8];
       headerStyle = (String)values[9];
       headerStyleClass = (String)values[10];
       linkTitle = (String)values[11];
       headerLinkTitle = (String)values[12];
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:18,代码来源:ValueColumn.java

示例2: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext context, Object state) {
    Object[] values = (Object[]) state;
    super.restoreState(context, values[0]);
    showItemsFlat = (Boolean) values[1];
    summaryColumn = (SummaryColumn) StateHolderUtil.restoreObjectState(
            context, this, values[2]);
    collapsibleDetail = (Boolean) values[3];
    detailsOnClient = (Boolean) values[4];
    disableHideRow = (Boolean) values[5];
    pageName = (String) values[6];
    openDocAsReadonly = (Boolean) values[7];
    style = (String) values[8];
    styleClass = (String) values[9];
    rowStyle = (String) values[10];
    rowStyleClass = (String) values[11];
    
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:19,代码来源:AbstractDataView.java

示例3: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext context, Object state) {
	Object[] values = (Object[]) state;
	super.restoreState(context, values[0]);
       columnTitles = (Boolean)values[1];
       collapsibleRows = (Boolean)values[2];
       collapsibleCategory = (Boolean)values[3];
       multiColumnCount = (Integer)values[4];
       showCheckbox = (Boolean) values[5];
       showHeaderCheckbox = (Boolean) values[6];
       iconColumn = (IconColumn)StateHolderUtil.restoreObjectState(context, this, values[7]);
       categoryColumn = StateHolderUtil.restoreList(context, this, values[8]);
       extraColumns = StateHolderUtil.restoreList(context, this, values[9]);
       role = (String) values[10];
       summary = (String) values[11];
       ariaLabel = (String) values[12];
       infiniteScroll = (String) values[13];
       
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:20,代码来源:UIDataView.java

示例4: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext _context, Object _state) {
    Object _values[] = (Object[]) _state;
    super.restoreState(_context, _values[0]);
    var = (String)_values[1];
    indexVar = (String)_values[2];
    value = StateHolderUtil.restoreObjectState(_context,getComponent(),_values[3]);
    children = StateHolderUtil.restoreList(_context, getComponent(), _values[4]);
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:10,代码来源:RepeatTreeNode.java

示例5: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext _context, Object _state) {
    Object _values[] = (Object[]) _state;
    super.restoreState(_context, _values[0]);
    this.value = StateHolderUtil.restoreObjectState(_context,this,_values[1]);
    this.objectNames = (String)_values[2];
    this.levels = (Integer)_values[3];
    this.startFilter = (String)_values[4];
    this.title = (String)_values[5];
    this.maxGridRows = (Integer)_values[6];
    this.useBeanProperties = (Boolean)_values[7];
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:13,代码来源:UIDumpObject.java

示例6: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext _context, Object _state) {
	Object _values[] = (Object[]) _state;
	super.restoreState(_context, _values[0]);
	this.cloudData = (ITagCloudData)StateHolderUtil.restoreObjectState(_context, this, _values[1]);
	this.sliderVisible = (Boolean)_values[2];
	this.alternateText = (String)_values[3];
	this.ariaLabel = (String)_values[4];
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:10,代码来源:UITagCloud.java

示例7: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext context, Object state) {
    Object values[] = (Object[]) state;
    super.restoreState(context, values[0]);
    this.configuration = (ApplicationConfiguration)StateHolderUtil.restoreObjectState(context, this, values[1]);
    this.onItemClick = (String)values[2];
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:8,代码来源:UIApplicationLayout.java

示例8: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext context, Object state) {
    Object values[] = (Object[]) state;
    super.restoreState(context, values[0]);
    this.navigationPath = (String)values[1];
    this.defaultNavigationPath = (String)values[2];
    this.banner = (Boolean)values[3];
    this.productLogo = (String)values[4];
    this.productLogoClass = (String)values[5];
    this.productLogoStyle = (String)values[6];
    this.productLogoAlt = (String)values[7];
    this.productLogoWidth = (String)values[8];
    this.productLogoHeight = (String)values[9];
    this.bannerApplicationLinks = StateHolderUtil.restoreList(context, getComponent(), values[10]);
    this.bannerUtilityLinks = StateHolderUtil.restoreList(context, getComponent(), values[11]);
    this.titleBar = (Boolean)values[12];
    this.titleBarName = (String)values[13];
    this.titleBarLabel = (String)values[14];
    this.titleBarTabs = StateHolderUtil.restoreList(context, getComponent(), values[15]);
    this.searchBar = (SearchBar)StateHolderUtil.restoreObjectState(context, getComponent(), values[16]);
    this.placeBar = (Boolean)values[17];
    this.placeBarName = (String)values[18];
    this.placeBarLabel = (String)values[19];
    this.placeBarActions = StateHolderUtil.restoreList(context, getComponent(), values[20]);
    this.footer = (Boolean)values[21];
    this.footerLinks = StateHolderUtil.restoreList(context, getComponent(), values[22]);
    this.legal = (Boolean)values[23];
    this.legalLogo = (String)values[24];
    this.legalLogoClass = (String)values[25];
    this.legalLogoStyle = (String)values[26];
    this.legalLogoAlt = (String)values[27];
    this.legalLogoWidth = (String)values[28];
    this.legalLogoHeight = (String)values[29];
    this.legalText = (String)values[30];
    this.mastHeader = (Boolean)values[31];
    this.mastFooter = (Boolean)values[32];
    this.leftColumnLabel = (String)values[33];
    this.rightColumnLabel = (String)values[34];

}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:41,代码来源:BasicApplicationConfigurationImpl.java

示例9: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext context, Object state) {
    Object values[] = (Object[]) state;
    super.restoreState(context, values[0]);
    
    this.navigationPath = (String)values[1];
    this.defaultNavigationPath = (String)values[2];
    this.navbar = (Boolean)values[3];
    this.navbarLogo = (String)values[4];
    this.navbarLogoStyleClass = (String)values[5];
    this.navbarLogoStyle = (String)values[6];
    this.navbarLogoAlt = (String)values[7];
    this.navbarUtilityLinks = StateHolderUtil.restoreList(context, getComponent(), values[8]);
    this.navbarAppLinks = StateHolderUtil.restoreList(context, getComponent(), values[9]);
    this.searchBar = (SearchBar)StateHolderUtil.restoreObjectState(context, getComponent(), values[10]);
    this.leftColumnLabel = (String)values[11];
    this.rightColumnLabel = (String)values[12];
    this.invertedNavbar = (Boolean)values[13];
    this.collapseLeftColumn = (Boolean)values[14];
    this.pageWidth = (String)values[15];
    this.fixedNavbar = (String)values[16];
    this.collapseLeftTarget = (String)values[17];
    this.collapsedLeftMenuLabel = (String)values[18];
    this.navbarText = (String)values[19];
    this.navbarTextStyleClass = (String)values[20];
    this.navbarTextStyle = (String)values[21];
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:28,代码来源:SimpleResponsiveApplicationConfiguration.java

示例10: restoreState

import com.ibm.xsp.util.StateHolderUtil; //导入方法依赖的package包/类
@Override
public void restoreState(FacesContext _context, Object _state) {
	Object _values[] = (Object[]) _state;
	super.restoreState(_context, _values[0]);
	this.treeRenderer = (ITreeRenderer)StateHolderUtil.restoreObjectState(_context, this, _values[1]);
}
 
开发者ID:OpenNTF,项目名称:XPagesExtensionLibrary,代码行数:7,代码来源:UIOutlineGeneric.java


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