Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java GWT ui.xml转换 和或_Java_Xml_User Interface_Gwt - Fatal编程技术网

Java GWT ui.xml转换 和或

Java GWT ui.xml转换 和或,java,xml,user-interface,gwt,Java,Xml,User Interface,Gwt,如何将此HTML代码转换为ui.XML?您可以使用以下方法将其迁移到小部件: 及 或 或者使用以下方法将其保留为元素: 及 或 您可以使用以下方法将其迁移到小部件: 及 或 或者使用以下方法将其保留为元素: 及 或 textList=textList.stream().map(s->“%”+s).collect(Collectors.toList())用于您的其他问题。但是,它创建了一个新的列表对象,并在后台使用了一个循环,打破了您的要求textList=textList.strea

如何将此HTML代码转换为ui.XML?

您可以使用以下方法将其迁移到小部件:


及
或
或者使用以下方法将其保留为元素:


及
或

您可以使用以下方法将其迁移到小部件:


及
或
或者使用以下方法将其保留为元素:


及
或

textList=textList.stream().map(s->“%”+s).collect(Collectors.toList())用于您的其他问题。但是,它创建了一个新的列表对象,并在后台使用了一个循环,打破了您的要求
textList=textList.stream().map(s->“%”+s).collect(Collectors.toList())用于您的其他问题。但是,它创建了一个新的列表对象,并在幕后使用了一个循环,打破了您的要求
<select><option value="AND">AND</option><option value="OR">OR</option></select>
<g:ListBox>
  <g:item value='AND'>AND</g:item>
  <g:item value='OR'>OR</g:item>
</g:ListBox>
<g:HTMLPanel>
  <select>
    <option value="AND">AND</option>
    <option value="OR">OR</option>
  </select>
</g:HTMLPanel>