本文整理汇总了Java中com.ibm.xsp.util.StateHolderUtil类的典型用法代码示例。如果您正苦于以下问题:Java StateHolderUtil类的具体用法?Java StateHolderUtil怎么用?Java StateHolderUtil使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
StateHolderUtil类属于com.ibm.xsp.util包,在下文中一共展示了StateHolderUtil类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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];
}
示例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];
}
示例3: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext context) {
Object[] values = new Object[12];
values[0] = super.saveState(context);
values[1] = showItemsFlat;
values[2] = StateHolderUtil.saveObjectState(context, summaryColumn);
values[3] = collapsibleDetail;
values[4] = detailsOnClient;
values[5] = disableHideRow;
values[6] = pageName;
values[7] = openDocAsReadonly;
values[8] = style;
values[9] = styleClass;
values[10] = rowStyle;
values[11] = rowStyleClass;
return values;
}
示例4: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext context) {
Object values[] = new Object[13];
values[0] = super.saveState(context);
values[1] = columnTitle;
values[2] = columnName;
values[3] = StateHolderUtil.saveObjectState(context, value);
values[4] = StateHolderUtil.saveObjectState(context, converter);
values[5] = style;
values[6] = styleClass;
values[7] = href;
values[8] = contentType;
values[9] = headerStyle;
values[10] = headerStyleClass;
values[11] = linkTitle;
values[12] = headerLinkTitle;
return values;
}
示例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]);
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];
}
示例6: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext context) {
Object values[] = new Object[14];
values[0] = super.saveState(context);
values[1] = columnTitles;
values[2] = collapsibleRows;
values[3] = collapsibleCategory;
values[4] = multiColumnCount;
values[5] = showCheckbox;
values[6] = showHeaderCheckbox;
values[7] = StateHolderUtil.saveObjectState(context, iconColumn);
values[8] = StateHolderUtil.saveList(context, categoryColumn);
values[9] = StateHolderUtil.saveList(context, extraColumns);
values[10] = role;
values[11] = summary;
values[12] = ariaLabel;
values[13] = infiniteScroll;
return values;
}
示例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.type = (String)values[1];
this.titleBar = (Boolean)values[2];
this.titleBarText = (String)values[3];
this.titleBarHref = (String)values[4];
this.collapsible = (Boolean)values[5];
this.initClosed = (Boolean)values[6];
this.closedState = (Boolean)values[7];
this.dropDownRendered = (Boolean)values[8];
this.dropDownNodes = StateHolderUtil.restoreList(context, this, values[9]);
this.scrollable = (Boolean)values[10];
this.disableScrollUp = (Boolean)values[11];
this.disableScrollDown = (Boolean)values[12];
this.onScrollUp = (String)values[13];
this.onScrollDown = (String)values[14];
this.style = (String)values[15];
this.styleClass = (String)values[16];
this.accesskey = (String)values[17];
this.tabindex = (String)values[18];
}
示例8: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext context) {
Object[] values = new Object[19];
values[0] = super.saveState(context);
values[1] = type;
values[2] = titleBar;
values[3] = titleBarText;
values[4] = titleBarHref;
values[5] = collapsible;
values[6] = initClosed;
values[7] = closedState;
values[8] = dropDownRendered;
values[9] = StateHolderUtil.saveList(context, dropDownNodes);
values[10] = scrollable;
values[11] = disableScrollUp;
values[12] = disableScrollDown;
values[13] = onScrollUp;
values[14] = onScrollDown;
values[15] = style;
values[16] = styleClass;
values[17] = accesskey;
values[18] = tabindex;
return values;
}
示例9: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext _context) {
Object _values[] = new Object[9];
_values[0] = super.saveState(_context);
_values[1] = tooltip;
_values[2] = dir;
_values[3] = lang;
_values[4] = style;
_values[5] = styleClass;
_values[6] = title;
_values[7] = dojoType;
_values[8] = StateHolderUtil.saveList(_context, dojoAttributes);
return _values;
}
示例10: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext context) {
if (isTransient()) {
return null;
}
Object[] state = new Object[11];
state[0] = super.saveState(context);
state[1] = connectionManager;
state[2] = connectionName;
state[3] = connectionUrl;
state[4] = sqlFile;
state[5] = sqlQuery;
state[6] = sqlTable;
state[7] = rowSetJavaClass;
state[8] = StateHolderUtil.saveList(context, sqlParameters);
state[9] = maxRows;
state[10] = showDeleted;
return state;
}
示例11: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext context) {
if (isTransient()) {
return null;
}
Object[] state = new Object[12];
state[0] = super.saveState(context);
state[1] = connectionManager;
state[2] = connectionName;
state[3] = connectionUrl;
state[4] = sqlFile;
state[5] = sqlCountFile;
state[6] = sqlQuery;
state[7] = sqlCountQuery;
state[8] = sqlTable;
state[9] = StateHolderUtil.saveList(context, sqlParameters);
state[10] = defaultOrderBy;
state[11] = calculateCount;
return state;
}
示例12: 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.connectionManager = (String)values[1];
this.connectionName = (String)values[2];
this.connectionUrl = (String)values[3];
this.sqlFile = (String)values[4];
this.sqlCountFile = (String)values[5];
this.sqlQuery = (String)values[6];
this.sqlCountQuery = (String)values[7];
this.sqlTable = (String)values[8];
this.sqlParameters = StateHolderUtil.restoreList(context, getComponent(), values[9]);
this.defaultOrderBy = (String)values[10];
this.calculateCount = (Boolean)values[11];
}
示例13: 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]);
_style = (String) values[1];
_styleClass = (String) values[2];
_fixed = (String) values[3];
_inverted = (Boolean)values[4];
_headingText = (String) values[5];
_headingStyle = (String) values[6];
_headingClass = (String) values[7];
_navbarBeforeLinks = StateHolderUtil.restoreList(context, this, values[8]);
_navbarAfterLinks = StateHolderUtil.restoreList(context, this, values[9]);
_pageWidth = (String) values[10];
_title = (String) values[11];
}
示例14: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext context) {
Object values[] = new Object[12];
values[0] = super.saveState(context);
values[1] = _style;
values[2] = _styleClass;
values[3] = _fixed;
values[4] = _inverted;
values[5] = _headingText;
values[6] = _headingStyle;
values[7] = _headingClass;
values[8] = StateHolderUtil.saveList(context, _navbarBeforeLinks);
values[9] = StateHolderUtil.saveList(context, _navbarAfterLinks);
values[10] = _pageWidth;
values[11] = _title;
return values;
}
示例15: saveState
import com.ibm.xsp.util.StateHolderUtil; //导入依赖的package包/类
@Override
public Object saveState(FacesContext context) {
Object values[] = new Object[15];
values[0] = super.saveState(context);
values[1] = _style;
values[2] = _styleClass;
values[3] = StateHolderUtil.saveList(context, _slideNodes);
values[4] = _heightLarge;
values[5] = _heightMedium;
values[6] = _heightSmall;
values[7] = _heightExtraSmall;
values[8] = _slideInterval;
values[9] = _autoCycle;
values[10] = _wrap;
values[11] = _pause;
values[12] = _indicatorStyle;
values[13] = _indicatorStyleClass;
values[14] = _title;
return values;
}