gpt4 book ai didi

org.gatein.pc.api.WindowState.create()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-21 18:43:05 25 4
gpt4 key购买 nike

本文整理了Java中org.gatein.pc.api.WindowState.create()方法的一些代码示例,展示了WindowState.create()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WindowState.create()方法的具体详情如下:
包路径:org.gatein.pc.api.WindowState
类名称:WindowState
方法名:create

WindowState.create介绍

暂无

代码示例

代码示例来源:origin: org.gatein.pc/pc-portlet

@Override
public org.gatein.pc.api.WindowState unmarshal(String name) throws Exception
{
 return org.gatein.pc.api.WindowState.create(name);
}

代码示例来源:origin: org.gatein.wsrp/wsrp-common

private static WindowState getTemplateWindowState()
{
 return WindowState.create(REWRITE_PARAMETER_OPEN + WINDOW_STATE + REWRITE_PARAMETER_CLOSE, true);
}

代码示例来源:origin: org.gatein.wsrp/wsrp-common

public static WindowState getJSR168WindowStateFromWSRPName(String wsrpWindowStateName)
{
 ParameterValidation.throwIllegalArgExceptionIfNullOrEmpty(wsrpWindowStateName, WSRP_WINDOW_STATE_NAME, null);
 WindowState windowState = WSRP_JSR168_WINDOW_STATES.get(wsrpWindowStateName);
 return (windowState == null) ? WindowState.create(wsrpWindowStateName) : windowState;
}

代码示例来源:origin: org.gatein.pc/pc-portlet

public org.gatein.pc.api.WindowState getWindowState()
{
  if (windowState != null)
  {
   return org.gatein.pc.api.WindowState.create(windowState.toString());
  }
  return null;
}

代码示例来源:origin: org.gatein.pc/pc-portlet

public boolean isWindowStateAllowed(WindowState windowState)
{
 return supportedWindowStates.contains(org.gatein.pc.api.WindowState.create(windowState.toString()));
}

代码示例来源:origin: org.gatein.pc/pc-portal

org.gatein.pc.api.WindowState windowState = WindowState.create(supportedWindowStateValue.trim());
supportedWindowStates.add(windowState);

代码示例来源:origin: org.gatein.pc/pc-test-core

break;
case 4:
  windowState = org.gatein.pc.api.WindowState.create(data.readUTF());
  break;
default:

代码示例来源:origin: org.gatein.pc/pc-embed

String[] windowStateParameter = windowParameters.remove("javax.portlet.window_state");
windowMode = modeParameter != null ? Mode.create(modeParameter[0]) : null;
windowState = windowStateParameter != null ? WindowState.create(windowStateParameter[0]) : null;

代码示例来源:origin: org.gatein.pc/pc-portlet

public void setWindowState(WindowState windowState) throws WindowStateException
{
 WantUpdate update = requireUpdate("Window state cannot be set after redirect");
 //
 if (!preq.isWindowStateAllowed(windowState))
 {
   throw new WindowStateException("Not supported", windowState);
 }
 //
 update.windowState = org.gatein.pc.api.WindowState.create(windowState.toString());
}

代码示例来源:origin: org.gatein.pc/pc-test-core

if (queryParameters.get(ControllerRequestParameterNames.WINDOW_STATE) != null)
  windowState = WindowState.create(queryParameters.get(ControllerRequestParameterNames.WINDOW_STATE));

代码示例来源:origin: org.gatein.wsrp/wsrp-jcr-impl

for (String windowStateString : windowStateStrings)
 windowStates.add(WindowState.create(windowStateString));

代码示例来源:origin: org.gatein.pc/pc-mc

if ("window-state".equals(localName))
 md.setWindowState(org.gatein.pc.api.WindowState.create(value));

代码示例来源:origin: org.gatein.pc/pc-portal

if (windowStateValue != null)
  windowState = org.gatein.pc.api.WindowState.create(windowStateValue.trim());

代码示例来源:origin: org.gatein.pc/pc-portlet

org.gatein.pc.api.WindowState windowState = WindowState.create(customPortletModeMD.getWindowState());

代码示例来源:origin: org.gatein.pc/pc-embed

String[] windowStateParameter = parameters.remove("javax.portlet.window_state");
Mode mode = modeParameter != null ? Mode.create(modeParameter[0]) : (window.mode != null ? window.mode : Mode.VIEW);
WindowState windowState = windowStateParameter != null ? WindowState.create(windowStateParameter[0]) : (window.state != null ? window.state : WindowState.NORMAL);

代码示例来源:origin: org.gatein.pc/pc-portlet

windowStateMD.setWindowState(WindowState.create(portletNav.getContent()));
supportsMD.addWindowState(windowStateMD);

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com