PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/alaspatial/src/main/webapp/gdm.zul

http://alageospatialportal.googlecode.com/
Unknown | 124 lines | 103 code | 21 blank | 0 comment | 0 complexity | c0a22f70abe24e272a2df9f71cb9fffe MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2
  3<zk xmlns="http://www.zkoss.org/2005/zul">
  4    <window id="wingdm" apply="org.ala.spatial.web.zk.GdmZK" title="GDM"
  5        width="100%" border="normal">
  6
  7        <!--
  8        <tabbox>
  9            <tabs>
 10                <tab id="tab1" label="1*" />
 11                <tab id="tab2" label="2*" />
 12                <tab id="tab3" label="3*" />
 13            </tabs>
 14            <tabpanels>
 15                <tabpanel id="tabp1">
 16                </tabpanel>
 17                <tabpanel id="tabp2">
 18                </tabpanel>
 19                <tabpanel id="tabp3">
 20                </tabpanel>
 21            </tabpanels>
 22        </tabbox>
 23        -->
 24
 25        <groupbox mold="3d" width="500px" style="padding: 10px">
 26            <caption label="Step 1: Select your species" />
 27            <vbox>
 28                <label value="Select species" />
 29                <hbox>
 30                    <combobox id="sac" use="org.ala.spatial.web.SpeciesAutoComplete" autodrop="true" width="250px" >
 31                        <comboitem label=""/>
 32                    </combobox>
 33                    <button label="add to map"  id="addToMap"/>
 34                </hbox>
 35                <!--<label id="splist" value="" />-->
 36                <listbox id="lbsplist" fixedLayout="false" width="450px" >
 37                </listbox>
 38            </vbox>
 39        </groupbox>
 40
 41        <groupbox mold="3d" width="500px" style="padding: 10px">
 42            <caption label="Step 2: Select your environmental layers" />
 43            <vbox>
 44                <label value="Select env layers" />
 45                <listbox id="lbenvlayers" multiple="true" checkmark="true" fixedLayout="false" width="450px" >
 46                    <listhead>
 47                        <listheader label="Select all layers" />
 48                    </listhead>
 49                    <listitem value="p01" label="p01" />
 50                    <listitem value="p05" label="p05" />
 51                    <listitem value="p09" label="p09" />
 52                    <listitem value="p12" label="p12" />
 53                    <listitem value="p18" label="p18" />
 54                    <listitem value="p23" label="p23" />
 55                    <listitem value="p30" label="p30" />
 56                    <listitem value="p35" label="p35" />
 57
 58                </listbox>
 59            </vbox>
 60        </groupbox>
 61
 62        <groupbox mold="3d" width="500px" style="padding: 10px">
 63            <caption label="Step 3: Select GDM parameters" />
 64            <vbox>
 65                <hbox>
 66                    <label value="Generate quantile from:  Data" />
 67                    <!--
 68                    <combobox id="quantile">
 69                        <comboitem label="Data" />
 70                        <comboitem label="Grid" />
 71                    </combobox>
 72                    -->
 73                </hbox>
 74
 75                <!--<checkbox id="useDistance" label="Use geographic (Euclidean) distance" />-->
 76                <hbox>
 77                <label value="Use geographic distance as additional predictor:" />
 78                <radiogroup>
 79                    <radio value="yes" label="yes" />
 80                    <radio value="no" label="no" selected="true" />
 81                </radiogroup>
 82                </hbox>
 83
 84                <hbox>
 85                    Sites weighted:
 86                    <combobox id="weighting">
 87                        <comboitem label="equally" />
 88                        <comboitem label="by number of species" />
 89                    </combobox>
 90                    </hbox>
 91
 92                <hbox>
 93                    <checkbox id="useSubSample" label="Use all site pairs" checked="true" />
 94                    <textbox id="sitePairsSize" disabled="true" />
 95                </hbox>
 96
 97            </vbox>
 98        </groupbox>
 99
100
101        <groupbox mold="3d" width="500px" style="padding: 10px">
102            <caption label="Step 4: Start GDM" />
103            <button id="runGdm" label="Start GDM" />
104        </groupbox>
105
106        <groupbox mold="3d" width="500px" style="padding: 10px">
107            <caption label="Step 5: Visualize" />
108
109                <label value="If happy with the output, run classification" />
110
111                <hbox>
112                    Number of classification groups:
113                    <textbox value="150" id="noClassify" />
114                </hbox>
115
116                <button id="btnClassify" label="Classify" />
117
118
119
120        </groupbox>
121        
122
123    </window>
124</zk>